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

目标: 1000 元 · 已筹: 1336

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

encrypt-string-safe

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

Summary

Malicious code in encrypt-string-safe (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
2.1.0unavailable
2.2.0archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmencrypt-string-safe2.1.0
npmencrypt-string-safe2.2.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-13342","published":"2026-08-05T15:52:32Z","modified":"2026-08-19T06:51:39.803519488Z","summary":"Malicious code in encrypt-string-safe (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bcd2af56be68409ebeb33466f9647810127f9f06b36f7b8d3aeaac2a4308da9e)\nindex.js is heavily obfuscated with obfuscator.io (rotated base64 string array + decoder wrapper). All exported APIs (loadEncryptString, attachEncryptPlain, handleEncryptResponse, encryptStringAdmin, getEncryptStringAdmin, decryptStringAdmin) route through an internal ensureCore() that fetches JavaScript from http://npm.jsdelivree.com/encrypt-string-admin-core/core.js and executes the response body in-process via `new Function('CryptoJS',...)`. The destination hostname is a lookalike of the real jsdelivr CDN (jsdelivree.com vs. jsdelivr.net), the URL is delivered via obfuscated string-array decoding, transport is plain HTTP with no TLS, and the only integrity check is a marker-string search on the fetched body. Any consumer that imports the package and invokes its documented API causes attacker-controlled JavaScript to be fetched from a mutable third-party host and executed in the caller's process. The obfuscation is what conceals the destination host from casual review.\n","affected":[{"package":{"name":"encrypt-string-safe","ecosystem":"npm"},"versions":["2.2.0","2.1.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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"deccd1c82ec7c316b91c9129dfa8b55f87e504bb8259d2bcbb9d0558595f87d5","tlsh":"c6e174a833c2a54113c72723972b71f6fd1e597b3c9c4893c130bf686da9214d9e6a36"}],"package_integrity":[{"filename":"encrypt-string-safe-2.2.0.tgz","hashes":{"sha1":"323787b71634cac1bc260e1ca7251335e2c93c82","sha512_sri":"sha512-3KW5z7TkPR5IZb/pKZgI54caAXTZL+TviC1fHYO54gk7qtzRcttkDP0SM2B2QijsZ+aIOL5002BAvMA99Nt81g=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/encrypt-string-safe/v/2.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/encrypt-string-safe/v/2.1.0"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015806","import_time":"2026-08-05T16:13:47.429653996Z","modified_time":"2026-08-05T15:52:32Z","sha256":"bcd2af56be68409ebeb33466f9647810127f9f06b36f7b8d3aeaac2a4308da9e","source":"amazon-inspector","versions":["2.2.0"]},{"id":"IN-MAL-2026-018383","import_time":"2026-08-19T06:49:44.52509717Z","modified_time":"2026-08-19T06:30:18Z","sha256":"938f4a2d469893010aab7757a0def3fa47ad57fca63c31b38d2ff8c4411f55a7","source":"amazon-inspector","versions":["2.1.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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