
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
audio-analyser
Advanced tools
Audio analyser stream. Provides API of the AnalyserNode for audio-streams. In all respects can be used in the same way.
var Analyser = require('audio-analyser');
var Generator = require('audio-generator');
var analyser = new Analyser({
// Magnitude diapasone, in dB
minDecibels: -100,
maxDecibels: -30,
// Number of time samples to transform to frequency
fftSize: 1024,
// Number of frequencies, twice less than fftSize
frequencyBinCount: 1024/2,
// Smoothing, or the priority of the old data over the new data
smoothingTimeConstant: 0.2,
// Number of channel to analyse
channel: 0,
// Size of time data to buffer
bufferSize: 44100,
// Windowing function for fft, https://github.com/scijs/window-functions
applyWindow: function (sampleNumber, totalSamples) {
}
//...pcm-stream params, if required
});
//AnalyserNode methods
// Copies the current frequency data into a Float32Array array passed into it.
analyser.getFloatFrequencyData(arr);
// Copies the current frequency data into a Uint8Array passed into it.
analyser.getByteFrequencyData(arr);
// Copies the current waveform, or time-domain data into a Float32Array array passed into it.
analyser.getFloatTimeDomainData(arr);
// Copies the current waveform, or time-domain data into a Uint8Array passed into it.
analyser.getByteTimeDomainData(arr);
//Shortcut methods
//return array with frequency data in decibels of size <= fftSize
analyser.getFrequencyData(size);
//return array with time data of size <= self.bufferSize (way more than fftSize)
analyser.getTimeData(size);
//Can be used both as a sink or pass-through
Generator().pipe(analyser);
audio-render — render audio streams.
audio-spectrum — render audio spectrum.
audio-spectrogram — render audio spectrogram.
audio-waveform — render audio waveform.
audio-stat — render any kind of audio info: waveform, spectrogram etc.
pcm-util — utils for work with pcm-streams.
ndarray-fft — implementation of fft for ndarrays.
FAQs
Audio analyser stream
We found that audio-analyser 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.