THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·malware·osv

Malicious code in ecto_module (npm)

ecto_module

Risk score

92

AI summary

Indexed incident for ecto_module (npm).

Description

On npm install, the package's preinstall hook (node index.js) reads /flag.txt (falling back to execSync('cat /flag*')) and transmits the captured contents in a JSON manifest field via HTTP PUT to a hardcoded endpoint at 127.0.0.1:3000/api/modules/ECT-987654. The package has no legitimate functionality — its description is simply 'Probe', it ships only index.js plus package.json, and the sole effect of installation is to read an installer-side file and ship it to whatever process is listening on the loopback port. This is a CTF/supply-chain probe payload: filesystem read + shell command execution + outbound HTTP, all auto-fired at install time.

Technical details

Affected versions

=100.0.0

Indicators

  • affected version=100.0.075%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents