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

目标: 1000 元 · 已筹: 1359 元

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

lhisp-logger

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

Summary

Malicious code in lhisp-logger (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
249
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmlhisp-logger3.1.10
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-23T13:08:44Z","published":"2026-05-23T13:08:44Z","schema_version":"1.7.4","id":"MAL-2026-4598","summary":"Malicious code in lhisp-logger (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a9ba8f52d22e4435a81a1ffe643e4bb25b0e64fff60c585cac35c164e4ccb24f)\nThe package is published as a generic logging library but configures a pino-loki transport whose destination defaults to http://logs.lhprovedor.com.br:3100 — a host owned by the author. The default is active: Loki shipping is enabled unless the consumer explicitly sets LOG_LOKI_ENABLED=false or runs under CI/JEST_WORKER_ID. Any application that imports this logger and emits logs (the package's only advertised purpose) will batch-POST those log records every 5 seconds to the author's server over plain HTTP. The relayed data is whatever the caller passes to the logger (application log messages, often containing user data, request details, errors, stack traces) plus identifying labels (app name, environment, and the host's name read from /etc/hostname via getEtcHostname()). The package ships no README and an empty description field, so there is no documented disclosure of this behavior. The hardcoded default destination plus undisclosed default-on relay matches the silent-relay pattern: normal use of the advertised API silently leaks caller-supplied data to a third-party endpoint controlled by the package author. Plain HTTP additionally exposes the data in transit.\n","affected":[{"package":{"ecosystem":"npm","name":"lhisp-logger"},"versions":["3.1.10"],"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":"src/lhisp-logger.js","sha256":"21e6994b37483729ee57fa25e52875dda2c9051de08878aaa2c60c6425d63497","tlsh":"f791860dafe598bb427631981f7b501239ba92273006b8f0b34c937b1f9544cab75de9"}],"package_integrity":[{"filename":"lhisp-logger-3.1.10.tgz","hashes":{"sha1":"67ab05373529ea6483bedece227d5b4a9a1a4d26","sha512_sri":"sha512-juQpNBfHe6/N/4S7OBk/QGUvZkM9rfFfe8a75Ewt4Uj2nNUAMe2vT1P60bcoL9f9uSn5WUVtGEixY6Ki8u+QAQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/lhisp-logger/v/3.1.10"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-004328","import_time":"2026-05-26T05:52:23.266225321Z","modified_time":"2026-05-23T13:08:44Z","sha256":"a9ba8f52d22e4435a81a1ffe643e4bb25b0e64fff60c585cac35c164e4ccb24f","source":"amazon-inspector","versions":["3.1.10"]}]}}

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