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

目标: 1000 元 · 已筹: 1359 元

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

@dmangal/curse-dependent-ecto

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

Summary

Malicious code in @dmangal/curse-dependent-ecto (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@dmangal/curse-dependent-ecto99999.0.0
npm@dmangal/curse-dependent-ecto99999.0.1
npm@dmangal/curse-dependent-ecto99999.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18375","published":"2026-10-29T00:06:14Z","modified":"2026-11-03T04:43:55.135016762Z","summary":"Malicious code in @dmangal/curse-dependent-ecto (npm)","details":"@dmangal/curse-dependent-ecto contains no library code (index.js in 99999.0.0 and 99999.0.2 only exports its name and version) and was published on 2026-10-28 between 21:59 and 22:19 UTC with inflated version numbers 99999.0.0 to 99999.0.2. It ships a binding.gyp (and package.json sets `\"gypfile\": true`), so npm runs `node-gyp rebuild` on install, and the binding.gyp declares a build action (\"Finalizing ecto setup\") that runs inline JavaScript with `node -e`. The script loads `child_process`, enumerates `process.env` (99999.0.0, 99999.0.1; found by a full-file static rule, the enumeration itself is outside the scanned excerpt), and POSTs data over HTTPS to webhook.site: path `/f604623f-fc78-4447-9225-6772f7f12cb1` in 99999.0.0 and `/89bd8fe7-328c-4e6d-970c-4d567b5a48a0` in 99999.0.1 and 99999.0.2. In 99999.0.2 the posted data is prefixed `SCOPED:` and the code that collects it is outside the scanned excerpt (it also defines an HTTP GET helper).\n\nThe first endpoint is the same one used by spectral-core, whose version 3.0.6 shipped a file named `CTF_HANDOFF_CURSE_DEPENDENT_v2.md`; together with the package name this suggests a capture-the-flag context, but the script runs on any machine where npm builds the package's binding.gyp during install and sends host data, including an enumeration of its environment variables in 99999.0.0 and 99999.0.1, to a third-party endpoint. By 2026-10-29 00:04 UTC the registry returned 404 for the package metadata and for all three version archives.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (28b6b5c8c100680386dbcbbd51dd409f67f0d54701eb0e50232934acc53bf397)\nThe package's binding.gyp contains a GYP command-expansion action that is executed automatically by node-gyp during `npm install`. The embedded `node -e` script runs `grep -rl 'HTB{' /workspace/ /root/ /tmp/ /opt/ /var/ /etc/` across installer-side paths, reads /tmp/scent-trail.jsonl and /workspace/repo/package.json, enumerates every key of process.env and concatenates each key=value pair, and POSTs each of these payloads (prefixed GREP:, FILE:, ALLENV:) to the hardcoded attacker endpoint webhook.site/89bd8fe7-328c-4e6d-970c-4d567b5a48a0. The binding.gyp has no accompanying native source files; its only purpose is to run the embedded exfiltration command. The implausibly high version string (99999.0.1) is consistent with a dependency-confusion lure. Installing this package in a developer workstation or CI environment causes CI secrets, API tokens, and environment-injected credentials, along with workspace file contents and any file containing the HTB{ marker, to be transmitted to an attacker-controlled host.\n","affected":[{"package":{"name":"@dmangal/curse-dependent-ecto","ecosystem":"npm"},"versions":["99999.0.2","99999.0.1","99999.0.0"],"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"binding.gyp","sha256":"e4d16932f4bfabf03b6d7a86813ea94410cef5b713281bf4c45a1e7827d7ff33","tlsh":"5b4151b8fa6d8615327b4528b93e24c0dc73ae53416068c6bf5c3e98af28444092bbb4"}],"package_integrity":[{"filename":"curse-dependent-ecto-99999.0.2.tgz","hashes":{"sha1":"bf6bf4eca71a0d161cadf07511b4cd2e4a38335a","sha512_sri":"sha512-gkXkRk8dTDOt/w7Qf9/LrQe/rgEcni9pJ3VOj6rccxUh9WyjA1T36p09eK7zFkhnnPHbIa/dmsnTKyE9esnvbw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dmangal/curse-dependent-ecto/v/99999.0.0"}],"database_specific":{"iocs":{"urls":["https://webhook.site/f604623f-fc78-4447-9225-6772f7f12cb1","https://webhook.site/89bd8fe7-328c-4e6d-970c-4d567b5a48a0"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-022403","import_time":"2026-10-29T15:13:32.47962823Z","modified_time":"2026-10-29T14:53:44Z","sha256":"12d717b37056ccc36cc4225071d8a9ed6e39b269e207c3891b43476f15cf7978","source":"amazon-inspector","versions":["99999.0.2"]},{"id":"IN-MAL-2026-022404","import_time":"2026-10-29T15:13:32.601181559Z","modified_time":"2026-10-29T14:53:54Z","sha256":"28b6b5c8c100680386dbcbbd51dd409f67f0d54701eb0e50232934acc53bf397","source":"amazon-inspector","versions":["99999.0.1"]},{"id":"IN-MAL-2026-022402","import_time":"2026-10-29T15:13:32.360967203Z","modified_time":"2026-10-29T14:53:35Z","sha256":"a563521f86b861850e706bfc78b51306b4467284f14a7251f956f55c32067e0d","source":"amazon-inspector","versions":["99999.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Linus Baumberger (Gatekeeper)","contact":["https://github.com/lb2002"],"type":"FINDER"}]}

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