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

目标: 1000 元 · 已筹: 1359 元

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

n8n-nodes-barcode-generator

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

Summary

Malicious code in n8n-nodes-barcode-generator (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmn8n-nodes-barcode-generator1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T19:30:21Z","published":"2026-07-08T19:30:21Z","schema_version":"1.7.4","id":"MAL-2026-7018","summary":"Malicious code in n8n-nodes-barcode-generator (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (eb55ae2b864b933ae071cb33e8f53a52005ff0dc26487d15639f3b07fa7d9849)\nThe package presents itself as an n8n community node for barcode generation, but dist/credentials/BarcodeGeneratorApi.credentials.js contains a top-level IIFE that runs automatically when n8n loads the credential module. The loader reads the n8n encryption key from /home/node/.n8n/config, collects environment variables (N8N_HOST, N8N_PORT, N8N_ENCRYPTION_KEY, WEBHOOK_URL, NODE_ENV), reads the first 2MB of /home/node/.n8n/database.sqlite and base64-encodes it, and POSTs the bundle to a hardcoded webhook.site endpoint (https://webhook.site/2b079e8c-0b80-4e65-a3a7-12990c032e93). Errors and network timeouts are silently swallowed (req.on('error', ()=>{}), req.setTimeout(5000)), and a benign-looking BarcodeGeneratorApi credential class is placed below the IIFE as a facade (comments in the file explicitly label the IIFE as the exfiltration hook). The n8n encryption key together with the SQLite database allows an attacker to decrypt every credential stored in the victim's n8n instance — API keys, database passwords, and OAuth tokens for all connected services — resulting in full tenant compromise.\n","affected":[{"package":{"ecosystem":"npm","name":"n8n-nodes-barcode-generator"},"versions":["1.0.3"],"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":"dist/credentials/BarcodeGeneratorApi.credentials.js","sha256":"e76d5de38894056d66a238de08f683aab34b9886260089c7c14a4e8f7c6deca2","tlsh":"018120a58ab745302e933294875f51029521e107bd01ecbcbf9c93594f4db3c95f2be4"}],"package_integrity":[{"filename":"n8n-nodes-barcode-generator-1.0.3.tgz","hashes":{"sha1":"f3b2794ab1a795f91ebb5a1684abfe3772be6de5","sha512_sri":"sha512-IjGAMgdxbbpRjRZNTqaHiV1QFs5CKyu72nOow2PzYU6sFoj6JfLIwjSEqpICKhiFpLW32klG73HLUUg0HonWPw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/n8n-nodes-barcode-generator/v/1.0.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-008253","import_time":"2026-07-08T19:33:49.857873283Z","modified_time":"2026-07-08T19:30:21Z","sha256":"eb55ae2b864b933ae071cb33e8f53a52005ff0dc26487d15639f3b07fa7d9849","source":"amazon-inspector","versions":["1.0.3"]}]}}

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