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

目标: 1000 元 · 已筹: 1359 元

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

swift-parse-stream

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

Summary

Malicious code in swift-parse-stream (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmswift-parse-stream*
npmswift-parse-stream1.0.0
npmswift-parse-stream1.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-10T16:55:50Z","published":"2026-06-17T16:37:42Z","schema_version":"1.7.4","id":"MAL-2026-6068","aliases":["GHSA-qcr2-hwcg-gf9g"],"summary":"Malicious code in swift-parse-stream (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8ab8561c6c561b045d817d4fab3aa0754ce7cd767a3c5ec07b95151dda6b92c8)\nswift-parse-stream advertises itself as an SVG sanitizer/minifier but ships an undocumented `getPlugin` export in index.js that, when invoked, performs an HTTP GET against https://www.jsonkeeper.com/b/3P9BF (an anonymous user-paste host) and runs `eval(parsed.model)` on the returned JSON's `model` field. The destination is attacker-controlled and mutable: whoever controls the paste can change the executed JavaScript at any time without republishing the package. The README does not mention this code path. Any caller — typically a second compromised package chaining into this one — that reaches `getPlugin()` hands arbitrary remote code execution to the paste's owner, running in the consumer application's process with its full privileges and access to its environment, filesystem, and network.\n\n## Source: ghsa-malware (026b5362bac218ef01a452bd1c22598c75fad3bc2d2157ffc16dd5214fcc9152)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"ecosystem":"npm","name":"swift-parse-stream"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","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"},{"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":"index.js","sha256":"3a0e1400a7ac8e8b984beef2f330af7a144b04723016ef07681ac0294a725444","tlsh":"767111a8999b7095d6b1e3e447135015f559d1672208c3d4b6acc6983f7172c90f3eec"}],"package_integrity":[{"filename":"swift-parse-stream-1.0.2.tgz","hashes":{"sha1":"1e113e8a3840e6da087fe3fc63c8937861da7a67","sha512_sri":"sha512-wG0o/vj/OGeoZ7Kh6jbx+mPRzBj5U11KbfaBpOoVj2yrOi5JLEJqK+WxeRF4JTJQKOQxhFfVG78taOjvMLLh8Q=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/swift-parse-stream/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/swift-parse-stream/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qcr2-hwcg-gf9g"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"8ab8561c6c561b045d817d4fab3aa0754ce7cd767a3c5ec07b95151dda6b92c8","import_time":"2026-06-17T17:32:18.610311636Z","id":"IN-MAL-2026-006905","modified_time":"2026-06-17T16:37:42Z","versions":["1.0.2"]},{"source":"amazon-inspector","sha256":"62d1882f72b9b1292d6ba9c0f7fad9e1df0b3eb60d3a34f4b2f569223a466480","import_time":"2026-06-18T19:20:03.747682205Z","id":"IN-MAL-2026-007031","modified_time":"2026-06-18T19:12:19Z","versions":["1.0.0"]},{"source":"ghsa-malware","sha256":"026b5362bac218ef01a452bd1c22598c75fad3bc2d2157ffc16dd5214fcc9152","import_time":"2026-06-29T17:14:01.302220424Z","id":"GHSA-qcr2-hwcg-gf9g","modified_time":"2026-06-29T14:11:26Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"ghsa-malware","sha256":"674aae8439c08eaf253070550ca71fbd3d8c637476ed2b0d857fab2ae69cae6b","import_time":"2026-07-10T16:54:13.283460839Z","id":"GHSA-qcr2-hwcg-gf9g","modified_time":"2026-07-10T16:15:21Z","versions":["1.0.2","1.0.0"]}]}}

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