techportal (npm) · Malicious Code
Affects techportalSource GCVE Database
Malicious package : remove techportal and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 11:28 UTC
Malicious package
Published to npm · OSV MAL-2026-15561
What to do
Remove techportal from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmtechportal | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'techportal' version 4.0.10 contains malicious code that executes automatically during installation via a preinstall hook. This code collects host identity information including hostname, username, and current working directory, encodes it, and sends it to a hardcoded attacker-controlled IP address via HTTP headers. If the HTTP request fails, the data is exfiltrated using DNS queries to attacker-controlled domains, bypassing typical HTTP egress controls. There is no user consent or configuration option to disable this behavior, and the package self-labels the data exfiltration as a bug bounty or dual-use tool, which does not mitigate the risk.
References
- npmjs.com/package/techportal/v/4.0.10 (opens in a new tab)
- npmjs.com/package/techportal/v/4.0.11 (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-TECHPORTAL-19426860 (opens in a new tab)
- github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/test-in-one/MAL-2026-15562.json (opens in a new tab)
- github.com/advisories/GHSA-649g-mjr9-4j74 (opens in a new tab)