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

目标: 1000 元 · 已筹: 1359 元

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

webservices.rest

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

Summary

Malicious code in webservices.rest (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
4
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmwebservices.rest*
npmwebservices.rest99.1.0
npmwebservices.rest99.1.3
npmwebservices.rest99.1.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-05-26T05:55:05Z","published":"2026-05-21T08:14:33Z","schema_version":"1.7.4","id":"MAL-2026-4335","aliases":["GHSA-2qjx-pgq9-vx24"],"summary":"Malicious code in webservices.rest (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c47c5da15de80c0473b9ccdb9899cb24607c3338914d67fe3331b169f5c1553b)\nPackage name `webservices.rest` impersonates the OpenMRS REST API naming convention and is published at version 99.1.0 — the canonical dependency-confusion version-bump pattern designed to outrank an internal/private package of the same name in mixed registry resolution. The package's only functional behavior is to load a separate, caret-pinned dependency `webservices.rest-utils@^1.0.5`: `package.json` declares `\"postinstall\": \"node index.js\"`, and `index.js` line 2 calls `require('webservices.rest-utils')` wrapped in an empty try/catch that suppresses any errors. This means `npm install webservices.rest` silently fetches and executes whatever code `webservices.rest-utils` contains, both at install (via postinstall) and at import. Additional integrity-of-publication red flags: README claims an 'OpenMRS Community Contributor' affiliation, but the LICENSE file copyright is held by 'dov-nods-autho' and the declared license disagrees between `package.json` (Apache-2.0) and the LICENSE file (MIT). The package itself contains no other functionality — it is a thin loader stub whose sole supply-chain effect is to drag the caret-pinned utility package into the installer's dependency tree and execute it.\n\n## Source: ghsa-malware (a57ae4de9ce6de1c3c863c503ad4e502e5137ffa86af9bfac2aab959a1744f6c)\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":"webservices.rest"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.1.4","99.1.3","99.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"},{"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":{"domains":["compute.internal","redis.local","internal","kubernetes.default.svc.cluster.local","ec2.internal","rancher.internal","gitlab.local","jenkins.local","jenkins.internal","istio-ingressgateway.istio-system.svc.cluster.local","mongodb.internal","google.internal","azure.internal","internal.jira.local","gitlab.internal","redis.internal","db.local","postgres.local","lan","active-directory.local","kubernetes.default","home","intranet.local","openmrs-sol-dev-v2.lapxa354.workers.dev","corp.local","vault.internal","consul.service.consul","kubernetes.default.svc"],"evidence_files":[{"path":"index.js","sha256":"b75e901633d89e60a71832dc1d3014ffa6310e066b625c5d0b595c1f81fed4e2","tlsh":"3ce06853b5ea31215624f563956a0220b4f6beca0310489a7074442a1f30c488095cac"},{"path":"package.json","sha256":"bfdc9d460b95285bf9f33fd0b39f7827034ff9841ccd8fc219209b631a9c1c56","tlsh":"2611a533d5b65d230178eb55a96b0e21b0d34b3f2060080bb6bd202d8ff356654de758"}],"package_integrity":[{"filename":"webservices.rest-99.1.4.tgz","hashes":{"sha1":"946bc75beb6b380d689d3dd756100d85d008ec3a","sha512_sri":"sha512-sGqgdWhvZ01orOpvdZ0lhYl/c4YqlUtxekAsW1AIKEAQpEh53S3hnLnlXrMMV1I1Q/xYbO006hze8aZT5VwFmA=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-2qjx-pgq9-vx24"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webservices.rest/v/99.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webservices.rest/v/99.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/webservices.rest/v/99.1.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["actran@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"a57ae4de9ce6de1c3c863c503ad4e502e5137ffa86af9bfac2aab959a1744f6c","import_time":"2026-05-25T09:37:28.953642246Z","id":"GHSA-2qjx-pgq9-vx24","modified_time":"2026-05-25T08:55:04Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"fcfef724e033f38c0dfa64b51dc538baf5baa3faf0fe7e6a1ca4f4679f29ff88","import_time":"2026-05-26T05:52:23.158080536Z","id":"IN-MAL-2026-004327","modified_time":"2026-05-23T12:51:57Z","versions":["99.1.4"]},{"source":"amazon-inspector","sha256":"3951a18887354b4f234ad8251c4a4717109d5386c397d9cc981f9aedcd4b52db","import_time":"2026-05-26T05:52:22.147518075Z","id":"IN-MAL-2026-004319","modified_time":"2026-05-23T12:26:30Z","versions":["99.1.3"]},{"source":"amazon-inspector","sha256":"3ac57adca5ac41a42ad169f419c309033a4987b713e76c2b019598e49d3e120b","import_time":"2026-05-26T05:52:22.920285259Z","id":"IN-MAL-2026-004325","modified_time":"2026-05-23T12:48:28Z","versions":["99.1.4"]},{"source":"amazon-inspector","sha256":"c47c5da15de80c0473b9ccdb9899cb24607c3338914d67fe3331b169f5c1553b","import_time":"2026-05-26T05:51:17.586044189Z","id":"IN-MAL-2026-003776","modified_time":"2026-05-21T08:14:33Z","versions":["99.1.0"]},{"source":"amazon-inspector","sha256":"d4048dade5fc29d39639d1a9c3c4c536b7e206dc81c69547c7c9888e53b97e11","import_time":"2026-05-26T05:51:17.682058123Z","id":"IN-MAL-2026-003777","modified_time":"2026-05-21T08:16:23Z","versions":["99.1.0"]},{"source":"amazon-inspector","sha256":"fc21487380e93ed945074003a8cb3db51c4f406e9cad0b314cc1f2f62c8676ac","import_time":"2026-05-26T05:52:21.919739821Z","id":"IN-MAL-2026-004317","modified_time":"2026-05-23T12:24:33Z","versions":["99.1.3"]}]}}

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