
Threat Research
/Security News
Searchjacked: Hidden Browser Extensions Hijack Searches for 13 Million Users
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.
@sl-theia/theia-voice
Advanced tools
采集 web 端语音信息,返回 pcm 或 wav 视频流/文件
支持语音录音,未来预计支持实时推送语音
$ npm install @sl-theia/theia-voice| 名称 | 子参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
| config | object | 选填配置参数 | ||
| sampleBits | number | 16 | 采样位数 | |
| sampleRate | number | 16000 | 采样率 | |
| type | string | wav | 文件类型 |
| 名称 | 传入参数 | 是否有返回值 | 返回值类型 | 描述 |
|---|---|---|---|---|
| start | N | 开始录音启动语音收集 | ||
| end | N | 结束录音关闭流收集 | ||
| getWAVBlob | Y | 文件流 | 返回wav格式文件流 | |
| getPCMBlob | Y | 文件流 | 返回PCM格式文件流 | |
| downFile | (文件名,文件格式)【wav/pcm】 | Y | 文件 | 返回对应格式文件 |
文件流录音方式
import React from "react";
import TheiaVoice from "@sl-theia/theia-voice";
import ReactDOM from "react-dom";
ReactDom.render(
const [voiceText,setVoiceText] = useState<boolean>(false)
const [voice, setVoice] = useState(null);
useEffect(() => setVoice(TheiaVoice()), []);
const voiceHanled = () => {
!voiceText && a.start();
<!-- 停止录音 并获取wav 文件流 -->
voiceText && console.log(voice.getWAVBlob())
setVoiceText(!voiceText);
};
<div onClick={voiceHanled}>{ !voiceText ? '开始录音' : '结束录音' }</div>,
document.getElementById("root")
);
import React from "react";
import TheiaVoice from "@sl-theia/theia-voice";
import ReactDOM from "react-dom";
ReactDom.render(
const [voiceText,setVoiceText] = useState<boolean>(false)
const [voice, setVoice] = useState(null);
useEffect(() => setVoice(TheiaVoice()), []);
const voiceHanled = () => {
!voiceText && a.start();
<!-- 停止录音 并获取wav 流 -->
voiceText && console.log(voice.getWAV())
setVoiceText(!voiceText);
};
<div onClick={voiceHanled}>{ !voiceText ? '开始录音' : '结束录音' }</div>,
document.getElementById("root")
);
import React from "react";
import TheiaVoice from "@sl-theia/theia-voice";
import ReactDOM from "react-dom";
ReactDom.render(
const [voiceText,setVoiceText] = useState<boolean>(false)
const [voice, setVoice] = useState(null);
useEffect(() => setVoice(TheiaVoice()), []);
const voiceHanled = () => {
!voiceText && a.start();
<!-- 停止录音 并获取wav 流 -->
voiceText && console.log(voice.download('测试语音文件','wav'))
setVoiceText(!voiceText);
};
<div onClick={voiceHanled}>{ !voiceText ? '开始录音' : '结束录音' }</div>,
document.getElementById("root")
);
FAQs
采集 web 端语音信息,返回 pcm 或 wav 视频流/文件 `支持语音录音,未来预计支持实时推送语音`
The npm package @sl-theia/theia-voice receives a total of 0 weekly downloads. As such, @sl-theia/theia-voice popularity was classified as not popular.
We found that @sl-theia/theia-voice 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.

Threat Research
/Security News
319 browser extensions installed by 13.4 million users hijack searches, capture queries, and collect referral payments from Yahoo and Bing.

Threat Research
Malicious Firefox extensions mimic Phantom, Jupiter, and Bitget wallets to steal recovery phrases and private keys, with one fetching its payload remotely.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.