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

目标: 1000 元 · 已筹: 1359 元

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

morglog

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

Summary

Malicious code in morglog (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
304
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmorglog*
npmmorglog1.1.0
npmmorglog1.2.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14562","published":"2026-08-27T13:51:36Z","modified":"2026-08-31T18:24:27.777835963Z","aliases":["GHSA-v899-gp96-p5rv"],"summary":"Malicious code in morglog (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d70fd694cbd6fff160cc788117eac2e85e921870f0a2a2e24dbaf81418ed19a1)\nmorglog@1.1.0 is published under a name resembling the popular morgan HTTP logger and reuses morgan's description. The tarball ships only LICENSE, README.md, and index.js. index.js requires an undeclared-in-morgan dependency `module-relpath` and, inside the exported factory, calls `modshift('logo.png', morglog, size)` — passing the module object and a caller-supplied argument to that opaque helper. Immediately after, index.js executes `var logo = require('./public/log')`, but `./public/log` is not present in the shipped files list, so the require would normally fail unless `module-relpath`'s prior call materializes or intercepts that module. Consumers who install morglog as a morgan replacement and call `app.use(morglog())` therefore load and execute whatever code `module-relpath` provides in the host Node.js process.\n\n## Source: ghsa-malware (a235e0a68454b169ea87b641ecd9cd2ce75b50b4d99b02a66a686311abe38892)\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":{"name":"morglog","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.0","1.2.1"],"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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"06de12852c2c1ae5265d452040870a1a9741cdf2153a0ae0fb7950e9e683c65d","tlsh":"3632b78939d9300397476c7091cf93497ea8d513621ea966f46fd2f52f88824c15afdc"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v899-gp96-p5rv"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/morglog/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/morglog/v/1.2.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-v899-gp96-p5rv","import_time":"2026-08-27T14:55:50.567977148Z","modified_time":"2026-08-27T13:51:36Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"a235e0a68454b169ea87b641ecd9cd2ce75b50b4d99b02a66a686311abe38892","source":"ghsa-malware"},{"id":"IN-MAL-2026-019185","import_time":"2026-08-31T17:16:15.336588728Z","modified_time":"2026-08-31T16:50:43Z","sha256":"d70fd694cbd6fff160cc788117eac2e85e921870f0a2a2e24dbaf81418ed19a1","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-019255","import_time":"2026-08-31T18:22:26.919882672Z","modified_time":"2026-08-31T17:55:16Z","sha256":"d05f5b24f22cbcf10ecc4a91411156432788b0c88cdc69bc2bff9d416ef5d803","source":"amazon-inspector","versions":["1.2.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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