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.
agora-extension-ai-denoiser
Advanced tools
```javascript import {AIDenoiserExtension} from "agora-extension-ai-denoiser"; // Create AIDenoiserExtension instance, please make sure this instance is a singleton, assetsPath is the path of wasm and wasmjs. const denoiser = new AIDenoiserExtension({asse
import {AIDenoiserExtension} from "agora-extension-ai-denoiser";
// Create AIDenoiserExtension instance, please make sure this instance is a singleton, assetsPath is the path of wasm and wasmjs.
const denoiser = new AIDenoiserExtension({assetsPath:'./external'});
// Register AI denoiser extension into AgoraRTC.
AgoraRTC.registerExtensions([denoiser]);
// listen the loaderror callback to handle loading module failed.
denoiser.onloaderror = (e) => {
// if loading denoiser is failed, disable the function of denoiser. For example, set your button disbled.
openDenoiserButton.enabled = false;
console.log(e);
}
const processor = denoiser.createProcessor();
// If you want to enable the processor by default.
processor.enable();
// If you want to disable the processor by default.
// processor.disable();
// Optional, listen the processor`s overlaod callback to catch overload message
processor.onoverload = async () => {
console.log("overload!!!");
await processor.disable();
}
const audioTrack = await AgoraRTC.createMicrophoneAudioTrack();
audioTrack.pipe(processor).pipe(audioTrack.processorDestination);
await processor.enable();
() => {
if (processor.enabled) {
await processor.disable();
} else {
await processor.enable();
}
}
processor.ondump = (blob, name) => {
const objectURL = URL.createObjectURL(blob);
const tag = document.createElement("a");
tag.download = name + ".wav";
tag.href = objectURL;
tag.click();
}
processor.ondumpend = () => {
console.log("dump ended!!");
}
processor.dump();
FAQs
```javascript import {AIDenoiserExtension} from "agora-extension-ai-denoiser"; // Create AIDenoiserExtension instance, assetsPath is the path of wasm files. const extension = new AIDenoiserExtension({assetsPath:'./external'});
The npm package agora-extension-ai-denoiser receives a total of 2,495 weekly downloads. As such, agora-extension-ai-denoiser popularity was classified as popular.
We found that agora-extension-ai-denoiser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
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.