Skip to main content
MalwarePublished Updated

techportal (npm) · Malicious Code

Affects techportalSource GCVE Database

0

Malicious package : remove techportal and rotate any secrets on hosts that installed it.

Data as of 25 Nov 2026, 11:28 UTC

Classification

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

ProductAffectedFixed in
npmtechportalAffected
  • =4.0.10
  • =4.0.11
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

Community reviews

Loading reviews…