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

目标: 1000 元 · 已筹: 1359 元

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

pewter-constantstest

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

Summary

Malicious code in pewter-constantstest (npm)

安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpewter-constantstest9999.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-23T18:19:29Z","published":"2026-05-23T18:19:29Z","schema_version":"1.7.4","id":"MAL-2026-4638","summary":"Malicious code in pewter-constantstest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (050b19d8dad7c8c1a626c953493c23b375e434128f38950625f82b0fb244eabe)\nOn `npm install`, the `preinstall` script `callback.js` collects the installer's hostname, OS username, current working directory, npm registry configuration, and CI repository identifiers from a broad list of CI environment variables (GITHUB_REPOSITORY, CI_PROJECT_PATH, BUILD_REPOSITORY_NAME, BITBUCKET_REPO_FULL_NAME, TRAVIS_REPO_SLUG, DRONE_REPO, BUILDKITE_PIPELINE_SLUG, CIRCLE_PROJECT_REPONAME, JOB_NAME) and transmits them via plaintext HTTP GET to the hardcoded bare IP `http://75.119.137.232:31337/depconfuse`. The package has no functional surface: `index.js` exports an empty object, the description is the generic `Shared utility helpers.`, the README is 48 bytes, and the version is `9999.0.0` — the canonical dependency-confusion override version designed to win resolution against an internal package of the same name. The package exists solely to fire the beacon when an organization accidentally resolves this public name in place of a private/internal package, leaking the victim's identity and internal repo names to the attacker for follow-on targeting.\n","affected":[{"package":{"ecosystem":"npm","name":"pewter-constantstest"},"versions":["9999.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":{"evidence_files":[{"path":"callback.js","sha256":"a109dbdaf89dcb8929613bf8787e9d015c8cdf58a1bcd33faa14e320a210f78a","tlsh":"fc117bb9c78c1c3409c2178079686c1eb8fbe291338294917f2d71d26bb22b046b75b9"},{"path":"package.json","sha256":"fcf70fd33bd71cf981f9d0ae8125b6915a33c328592fa612f662c07ee187827e","tlsh":"5cd02e309b2258232cd8abd20c2a654202228e2b01083809278b801e55ae2a718bf28e"}],"package_integrity":[{"filename":"pewter-constantstest-9999.0.0.tgz","hashes":{"sha1":"0e96eaf1325ffb6d1ad3af8f69990d5cfc43a122","sha512_sri":"sha512-Xk2f1WYmerSQB45gzioLW4XzfVMHVLAJhkBFqjfXbrc82a6SJSzLCVmZyYw6kGrAnn0w5CpdSKIH6g5mbXgNwg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/pewter-constantstest/v/9999.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004379","import_time":"2026-05-26T05:52:29.06066637Z","modified_time":"2026-05-23T18:19:29Z","sha256":"050b19d8dad7c8c1a626c953493c23b375e434128f38950625f82b0fb244eabe","source":"amazon-inspector","versions":["9999.0.0"]}]}}

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