
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@audio/amr-decode
Advanced tools
Decode AMR-NB and AMR-WB audio to PCM float samples. opencore-amr compiled to WASM — works in Node.js and browsers.
Part of audio-decode.
npm i @audio/amr-decode
import decode from '@audio/amr-decode'
// AMR-NB or AMR-WB — auto-detected from file header
let { channelData, sampleRate } = await decode(amrBuffer)
// AMR-NB: 8000 Hz mono
// AMR-WB: 16000 Hz mono
import { decoder } from '@audio/amr-decode'
let dec = await decoder()
let result = dec.decode(chunk)
dec.free()
decode(src): Promise<AudioData>Whole-file decode. Accepts Uint8Array or ArrayBuffer. Auto-detects AMR-NB (#!AMR\n) vs AMR-WB (#!AMR-WB\n).
decoder(): Promise<AMRDecoder>Creates a decoder instance.
dec.decode(data) — decode chunk, returns { channelData, sampleRate }dec.flush() — flush (returns empty)dec.free() — release WASM memoryThe WASM binary is prebuilt in src/amr.wasm.cjs. To rebuild:
npm run build
This auto-fetches opencore-amr 0.1.6 source and compiles with Emscripten.
Apache-2.0 (opencore-amr) — krishnized
FAQs
Decode AMR-NB/WB audio via opencore-amr WASM
We found that @audio/amr-decode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.