目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%
← 返回恶意软件包
npm active

twilio-serverless

MAL-2026-10937
2026-08-05 07:08:56
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in twilio-serverless (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmtwilio-serverless*
npmtwilio-serverless99.99.100
npmtwilio-serverless99.99.99
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10937","published":"2026-07-20T00:00:00Z","modified":"2026-08-05T07:08:56.353325393Z","summary":"Malicious code in twilio-serverless (npm)","details":"The twilio-serverless package is one of four byte-identical dependency-confusion squats of Twilio's npm namespace published by user 'yuva2210' (maintainer email charankumarj2004@gmail.com), all at the sentinel version 99.99.99 chosen to outrank any internal/private version and win resolution against a private registry. The npm description is empty and the package provides no legitimate functionality; the name mimics a plausible internal Twilio package so that a misconfigured resolver installs this public lookalike instead of the intended private dependency.\n\nThe package declares a postinstall hook (\"node index.js\") that executes automatically on a bare npm install with no consent gate. The bundled index.js payload (1,185 bytes, sha256 prefix c324d579006df4c5, identical across all four packages) performs environment reconnaissance: it collects the npm package name and version, os.hostname(), the OS username (os.userInfo().username), the home directory path (os.homedir()), the current working directory, os.platform(), os.arch(), NODE_ENV, and the CI flag. It serializes this to JSON and exfiltrates it via HTTPS POST to a hardcoded anonymous dead-drop at https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f (the same collector UUID across all four packages). On request error the payload falls back to a redundant out-of-band callback to 2b22ede784d5.oast.fun over HTTP, ensuring the beacon lands even where HTTPS egress to webhook.site is blocked; errors on that path are swallowed.\n\nThe collected cwd/homedir/username/CI/NODE_ENV set is reconnaissance targeting internal build environments and their filesystem layout. All four packages (twilio-serverless, twilio-assets, twilio-deploy, twilio-internal) were published by the same maintainer with an identical payload and the same collector endpoint.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (04898e32caf2b456c8f454a78dc4556e1caf1c239c9170b602f9f5bad6f02003)\nThe package's postinstall hook executes index.js, which collects installer host identifiers (os.hostname(), os.userInfo().username, os.homedir(), process.cwd(), os.platform(), os.arch(), NODE_ENV, CI, package name/version) and POSTs them as JSON to a hardcoded webhook.site endpoint (webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f), with a fallback GET to an interactsh subdomain (2b22ede784d5.oast.fun) for out-of-band DNS callback. The package name resembles Twilio's official serverless tooling and is published at version 99.99.99 with an empty description and no library functionality beyond the beacon — the shape of a typosquat / dependency-confusion probe that fingerprints internal build systems resolving to the public registry.\n","affected":[{"package":{"name":"twilio-serverless","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.99","99.99.100"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"1e53f49081bcfa36cb83abaa9fcfdec5b1ef99d515f40a766b0de9e1e5d03f09","tlsh":"5f1148f553f5ad700bb59384b18aac1553b3f01473079cf099d851652bd827425f26f9"},{"path":"package.json","sha256":"fd73fea754c141594b000d0c56ff2d30505612ed74ddd25b5e617ff025af34be","tlsh":"44c08c30ac21eb2334cd2b96087aa58932e20d2f0104640447c3201192986b348ff30e"}],"package_integrity":[{"filename":"twilio-serverless-99.99.99.tgz","hashes":{"sha1":"d58d5f686414955f809bf753318a1072efa362b6","sha512_sri":"sha512-0bhqE+xnZfqI9CNYkTLmIB9fiGz1KnsNaZnqQ3O8tfwSu1kIGxeyX+UP/k8oysajxkcaEhE4y1Su/UyZcyHZeg=="}}]},"iocs":{"domains":["webhook.site","2b22ede784d5.oast.fun"],"urls":["https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f"]}}}],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/twilio-serverless"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twilio-serverless/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twilio-serverless/v/99.99.100"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011099","import_time":"2026-08-04T21:33:16.713904614Z","modified_time":"2026-08-04T21:32:18Z","sha256":"04898e32caf2b456c8f454a78dc4556e1caf1c239c9170b602f9f5bad6f02003","source":"amazon-inspector","versions":["99.99.99"]},{"id":"IN-MAL-2026-013299","import_time":"2026-08-05T07:06:40.26140166Z","modified_time":"2026-08-05T06:03:16Z","sha256":"d1664d6d9cb64b8f1047e0bf3ba58cd10f1fb3ea3f9dd1b701908687719a2902","source":"amazon-inspector","versions":["99.99.100"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0