MAL-2026-14418Malicious code in dotish (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
1.0.0 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | dotish | * |
| npm | dotish | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-14418","published":"2026-08-24T15:57:50Z","modified":"2026-08-24T16:51:04.518019423Z","aliases":["GHSA-5xvx-37p2-x7j9"],"summary":"Malicious code in dotish (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2ccb1a1f0c28d673323f0377c9e65232611641c9de3dbb97f92b17779660b20)\nThe package's postinstall lifecycle script auto-runs on `npm install` and reads the installer's current working directory `.env` file (typically containing API keys, database credentials, and cloud tokens), then POSTs the full file contents together with `os.hostname()` to a hardcoded Telegram Bot API endpoint. The destination URL is stored as a base64 literal and decoded at runtime to `https://api.telegram.org/bot<redacted>/sendMessage` (bot id 8406833247, chat id 5934680334). Variable names are shaped to obscure the network call, comments are written in Somali, and the outbound request is wrapped in a try/catch that swallows errors. The package presents itself as an env-var utility and does not disclose any of this behavior.\n\n## Source: ghsa-malware (8880beb0826c731c6357842a92e9c64ad4e917289f9794e014731a9202a2c9f4)\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":"dotish","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["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"}],"indicators":{"evidence_files":[{"path":"env-config-helper.js","sha256":"b1b620ed2840b96cfc9dc8880bf0246dd24f2f6c9e868dc843fc3e5a653bc65c","tlsh":"6631fe93527156220d726286cbc3da1a6a27a35330016af1baccc75c5f8925cedf2de8"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5xvx-37p2-x7j9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/dotish/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-5xvx-37p2-x7j9","import_time":"2026-08-24T16:26:16.734004056Z","modified_time":"2026-08-24T15:57:50Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"8880beb0826c731c6357842a92e9c64ad4e917289f9794e014731a9202a2c9f4","source":"ghsa-malware"},{"id":"IN-MAL-2026-018643","import_time":"2026-08-24T16:49:14.466322474Z","modified_time":"2026-08-24T16:45:02Z","sha256":"d2ccb1a1f0c28d673323f0377c9e65232611641c9de3dbb97f92b17779660b20","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0