OpenSSF/OSV advisory MAL-2026-14418 confirms this npm version as malicious. The 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in dotish (npm)
Details
The 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.
## Source: ghsa-malware (8880beb0826c731c6357842a92e9c64ad4e917289f9794e014731a9202a2c9f4) Any 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms dotish@1.0.0 as malicious (MAL-2026-14418): Malicious code in dotish (npm)