
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.
ali-green-typescript-sdk
Advanced tools
阿里云盾内容安全服务提供的内容检测 API SDK (TypeScript 版)
npm install ali-green-typescript-sdk --save
AliGreen.pornScan(['url1', 'url2', key, secret])AliGreen.textScan(['text1', 'text2', key, secret])import AliGreen from 'ali-green-typescript-sdk'
import assert = require('assert')
const res = await AliGreen.pornScan(
['https://img.alicdn.com/tfs/TB1k_g9l26H8KJjSspmXXb2WXXa-600-600.jpg'],
'yourAccessKeyId',
'yourAccessKeySecret',
)
assert.deepStrictEqual(res.data.data[0].results, [
{
label: 'porn',
rate: 99.700005,
scene: 'porn',
suggestion: 'block',
},
])
详细参见 官方 文档
修改代码后跑
npm test
确保测试通过。
git commit
npm version patch/minor/major
npm publish
FAQs
阿里云盾内容安全服务提供的内容检测 API SDK (TypeScript 版)
The npm package ali-green-typescript-sdk receives a total of 8 weekly downloads. As such, ali-green-typescript-sdk popularity was classified as not popular.
We found that ali-green-typescript-sdk 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.