
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
一个支持多平台的即时通讯(IM) SDK,基于 WebSocket 实现,支持 Web、UniApp、微信小程序等平台。
npm install qn-im-sdk
npm install qn-im-sdk
import { QnzsIMSDK } from 'qn-im-sdk';
const im = new QnzsIMSDK();
export default im;
await im.login({
userID: 'your-user-id',
token: 'your-token',
url: 'wss://your-websocket-url',
platformID: 5,
censorWordsUrl: 'http://your-censor-words' // 可选,远程敏感词地址
});
await im.sendMessage({
message: JSON.stringify({
contentType: 101,
content: 'Hello, World!'
}),
recvID: 'receiver-id',
groupID: '',
conversationType: 1
});
为了保护服务器资源和防止滥用,SDK 实施了以下限制:
10001SDK 内置敏感词过滤功能,自动过滤不当内容:
10002 提示用户censorWordsUrl 参数动态加载敏感词列表| 错误码 | 说明 | 详细描述 |
|---|---|---|
| 10001 | 上传超过时间限制次数 | 文件上传频率超过限制(每分钟最多6次) |
| 10002 | 该消息有敏感词被屏蔽 | 消息包含敏感词,发送被阻止 |
新增功能:
censorWordsUrl 参数指定远程敏感词获取地址新增功能:
文件上传频率限制
10001敏感词过滤功能
10002详细的 API 文档请参考 IM_SDK使用文档.mdx
FAQs
QnzsIM SDK
We found that qn-im-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.