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

目标: 1000 元 · 已筹: 1359 元

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

0ctf-chalweb

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

Summary

Malicious code in 0ctf-chalweb (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
143
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm0ctf-chalweb1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-12T19:03:07Z","published":"2026-05-12T07:42:10Z","schema_version":"1.7.4","id":"MAL-2026-3667","summary":"Malicious code in 0ctf-chalweb (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6d7a129ab6079febb92ceac3587af97653477bce8a65b8e85bfa5bcae0293b0d)\nThe package's entire content (xss.js) is a 2-line cookie-stealing payload that creates an Image element pointing to https://collaborator.gbrls.workers.dev/ with base64-encoded document.cookie appended. This is a textbook XSS cookie exfiltration primitive targeting an attacker-controlled Cloudflare Workers endpoint. Regardless of whether this was published as a CTF artifact, any consumer who installs and bundles this package into a web app will exfiltrate end-users' cookies. There is no legitimate use case for publishing a cookie-exfil snippet to the public npm registry.\n","affected":[{"package":{"ecosystem":"npm","name":"0ctf-chalweb"},"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"domains":["collaborator.gbrls.workers.dev"],"evidence_files":[{"path":"xss.js","sha256":"decdf14c9d0d7a053b21540e05b7942fbf60f9a8a52e643b072b88bf3a667756","tlsh":"45b0123208ab900e5061b300b4605399f4b914eb780121a8b29d7424308b5564700570"}],"package_integrity":[{"filename":"0ctf-chalweb-1.0.0.tgz","hashes":{"sha1":"a34b8ff67ffc25f08f9a056a9763db1dd8bb4e44","sha512_sri":"sha512-ACz+EB+WV8ZplIt3nj9pYKFQc6k/aq5tOlet20uPBE7Qonlx7NKwDLUWCKXloMy6lI1Y/LPuz85wlJZFZTqnLA=="}}],"urls":["https://collaborator.gbrls.workers.dev/"]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/0ctf-chalweb/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-002143","import_time":"2026-05-13T20:10:51.64659689Z","modified_time":"2026-05-12T19:03:07Z","sha256":"6d7a129ab6079febb92ceac3587af97653477bce8a65b8e85bfa5bcae0293b0d","source":"amazon-inspector","versions":["1.0.0"]}]}}

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