Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Calculates peaks of audio without drawing it to canvas or creating audio
Calculates peaks of audio without drawing it to canvas or creating audio.
Based on Article from CSS Tricks
$ npm i waveformer
Only works in environment where AudioContext
and fetch
are defined, but you can provide your own through options (not tested in node.js, please use node-waveform or waveform-node)
import waveformer from 'waveformer'
const points = await waveformer(100, 'https://api.allorigins.win/raw?url=https://www.myinstants.com/media/sounds/epic.mp3')
options object:
waveformer(peaksNumber<Number>, url<String>, options<Object>)
options = {
audioContext: AudioContext class,
fetch: fetch async function,
audioChannel: Number, // channel from which we should get data, default: 0
}
Glory to micro-packages (687 bytes minified)!
P.S: To person who published package at this name but then unpublished it. Blame yourself only, haha! 😝
FAQs
Calculates peaks of audio without drawing it to canvas or creating audio
The npm package waveformer receives a total of 0 weekly downloads. As such, waveformer popularity was classified as not popular.
We found that waveformer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.