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

目标: 1000 元 · 已筹: 1359 元

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

@traktis/environment

MAL-2026-16223
2026-09-16 14:21:35
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @traktis/environment (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理claude-sonnet-4-6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
99.99.1archived——VIP 下载
99.99.2unavailable———
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@traktis/environment99.99.1
npm@traktis/environment99.99.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-16T14:21:35Z","published":"2026-09-16T13:59:51Z","schema_version":"1.7.4","id":"MAL-2026-16223","summary":"Malicious code in @traktis/environment (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6b9bdabc95f4e8bc70e348557c1cae7d2447d9bd1405ac7a23945ded47ec04a8)\npackage.json declares preinstall and postinstall lifecycle scripts that invoke curl against the hardcoded cleartext endpoint http://tko.amgsec.com/depconf/traktis-environment/, sending the output of whoami, hostname, cwd, a timestamp, and a base64-encoded dump of CI/build environment variables matched by the pattern GITHUB_*, CI_PROJECT, JENKINS_URL, BUILD_URL, GITLAB_*, RUNNER_*, HOSTNAME, USER, HOME as query parameters. index.js is a 55-byte placeholder comment and author is listed as 'anonymous'; the manifest lifecycle scripts are the entire functional payload. The name occupies the @traktis scope at version 99.99.2, a version-inflation shape consistent with dependency-confusion resolution against an internal package of the same name. Installing the package on any developer workstation or CI runner automatically transmits build-system identity and any credential-shaped environment variables covered by the grep pattern to a third-party host over plain HTTP.\n","affected":[{"package":{"ecosystem":"npm","name":"@traktis/environment"},"versions":["99.99.1","99.99.2"],"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"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"4caf376753d003931fa41a280611328c9b553451951f3a8b252d111d86bda97d","tlsh":"22f05c38a43958333fc065781adc430e79819b5745e47c197343cc881e5cabb116522e"}],"package_integrity":[{"filename":"environment-99.99.1.tgz","hashes":{"sha1":"c4f97ce03c526fa14e5c7120dcef20bd850c3058","sha512_sri":"sha512-2/eWPg54CVBQw68uFeFUQuf7NdTuhfF7qoiqvJU2205re+Vpvd1vQbNqGiboFXgwTQEkMA3IsCF5DHpaG6Q2yQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@traktis/environment/v/99.99.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@traktis/environment/v/99.99.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020108","import_time":"2026-09-16T14:19:38.424257173Z","modified_time":"2026-09-16T13:59:59Z","sha256":"6251d6386b6cccebe9a36ec4046a1d21361289c90fc0172658e4bed979c866cc","source":"amazon-inspector","versions":["99.99.1"]},{"id":"IN-MAL-2026-020107","import_time":"2026-09-16T14:19:38.345197704Z","modified_time":"2026-09-16T13:59:51Z","sha256":"6b9bdabc95f4e8bc70e348557c1cae7d2447d9bd1405ac7a23945ded47ec04a8","source":"amazon-inspector","versions":["99.99.2"]}]}}

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