Advisory

MAL-2024-2779

Also known as: GHSA-35fj-cp92-rv2m

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in oauth-connect (npm)

Details

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

Source: amazon-inspector (b49c48193ba50bb4ead1e212925eab8873e7e4ad7fa834d41e7626bb4e5036f3)
package.json declares a preinstall: node index.js hook that fires automatically on npm install. index.js collects installer-side data — os.hostname(), os.userInfo(), home directory, DNS server configuration, the contents of /etc/passwd and /etc/hosts, and the contents of the consumer's package.json — then HTTPS POSTs the assembled JSON to f3js0y9srl22itqjffo9jbl8mzswgm4b.oastify.com, an attacker-controlled Burp Collaborator subdomain. The package's advertised purpose (an OAuth helper) bears no relationship to reading /etc/passwd or beaconing host identifiers off-machine. This is a reconnaissance / dependency-confusion exfiltration payload that runs unattended on every installer.

Severity

Not rated by the source.

Dates

Published
2024-06-25 12:53 UTC
Modified
2026-09-01 11:31 UTC

Affected packages and fixes

oauth-connect

npm · All systems

Affected

  • Versions: 0.1.1, 2.0.1

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences