THREATPKG
SYNC STALE

Supply-chain threat intelligence

Incident detail

criticalnpm·maintainer compromise·osv

Malicious code in skills-detector (npm)

skills-detector

Risk score

92

AI summary

Indexed incident for skills-detector (npm).

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (844190b21455d308d6e2b5305ebe92634d80b55817290a84644a1048df0e54b3)

On npm install, postinstall.js executes whoami and id via child_process.execSync, collects os.hostname(), os.platform(), current working directory, and the CI / GITHUB_REPOSITORY / NODE_ENV environment variables, and sends them via HTTPS GET to the hardcoded host 0bcdniet6uubfi1lkxgx8qhpcgid65uu.oastify.com (Burp Collaborator out-of-band-exfiltration domain). It also issues a DNS lookup of <whoami>.0bcdniet6uubfi1lkxgx8qhpcgid65uu.oastify.com as a secondary OAST exfiltration channel. The package self-describes as a 'Security research canary' but is published on the public registry and runs unconditionally on any installer's machine, leaking host identity and CI/GitHub repository context to a third party.

Source: ghsa-malware (65daf45d03c11c27cbf1be53eefe496baf57ab0319078e92875e2cb3dd72aec1)

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: ossf-package-analysis (9af466aa8c67f5897bfd2f2361407e596caa4adfb77bc5ca813992ccd9f4302c)

The OpenSSF Package Analysis project identified 'skills-detector' @ 2.0.5 (npm) as malicious.

It is considered malicious because:

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

Technical details

Affected versions

<function fixed() { [native code] }

Indicators

  • aliasGHSA-wxv4-4mmm-mmm990%
  • affected_version<function fixed() { [native code] }75%
  • affected_version<function fixed() { [native code] }75%

Timeline

  1. Advisory published
  2. Indexed by ThreatPkg

Related incidents