question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unsecure request to glue.wasm

See original GitHub issue

Why does this make a request here? What does this do? Do I have to make this request? It’s not secure.

node_modules/wasmoon/dist this.customWasmUri = 'http://unpkg.com/wasmoon/dist/glue.wasm';

Thank you

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ceifacommented, May 29, 2022

@Drumsin I’m not sure if that is possible, maybe you can try something like the ffmpeg solution: https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/src/browser/getCreateFFmpegCore.js

Another possible solution is to preload the wasm file as a data URL with webpack and create a blob URL from it.

1reaction
ceifacommented, May 28, 2022

The glue.wasm file it’s necessary because it is basically the lua engine compiled to webassembly. If you want to host it by yourself with webpack, you can check my project that does exactly this: https://github.com/ceifa/try-lua

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discovering Vulnerabilities in WebAssembly with Code ...
The purpose of this work is to develop a tool for detection of vulnerabilities in client-side Web applications caused by potentially insecure interactions ......
Read more >
Using the WebAssembly JavaScript API - MDN Web Docs
This article has taken you through the basics of using the WebAssembly JavaScript API to include a WebAssembly module in a JavaScript ...
Read more >
Javascript glue generated by emscripten from a basic ... - GitHub
// Copies the given Javascript String object 'str' to the given byte array at address 'outIdx',. // encoded in UTF8 form and null-terminated....
Read more >
The dark side of WebAssembly - Virus Bulletin
These scams make extensive use of JavaScript with little or no obfuscation, making their detection relatively easy. In this paper we will describe...
Read more >
Troubleshooting errors in AWS Glue
An ETL job uses an IAM role to access data stores, confirm that the IAM role for your job was not deleted before...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found