Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
web-audio-workers-sockets
Advanced tools
stream audio using web sockets in web worker rendered using web audio
stream audio using web sockets in web worker rendered using web audio
The goal is to stream audio from server to browser to be rendered using web audio. Without using webworkers, my experience is the audio gets choppy when the single thread of the browser is used for everything (streaming sockets / audio rendering)
I have discovered firefox fails to allow websockets from inside a webworker, yet this is OK on chrome. Also, no browser supports web audio from a webworker. So I will see if I can eliminate this choppy audio issue by creating a sandwich :
websocket <--> webworker <--> webaudio
... but first I will attempt to get a smooth audio rendering using just websockets + web audio
Dependencies include node/npm
npm install -g web-audio-workers-sockets
cd $NODE_PATH/web-audio-workers-sockets
npm start
... or if you prefer to have the git repo local :
git clone git@github.com:scottstensland/web-audio-workers-sockets.git
cd web-audio-workers-sockets
npm install # install the dependent modules
npm start
Using a web audio/web worker/websocket savvy browser, point it at URL :
http://localhost:8888
As of today - August 26th 2014 - only chrome works on linux, firefox (34.0a1 (2014-08-04)) fails since it cannot yet handle launching a websocket from a webworker thread. Opera also fails on lack of web audio.
FAQs
DECOMMISSIONED - see this body of work continued at https://www.npmjs.com/package/websockets-streaming-audio
We found that web-audio-workers-sockets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.