box-sign-client
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in box-sign-client (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (76143eab11057809af00414cb665446366f039e3cbf1fa82aae06a1093cbbf49)
[email protected] is a dependency-confusion vehicle positioned against the internal Box namespace (@box/sign-client). Its package.json declares a preinstall script (node index.js) that reads os.hostname() and process.env.USER/USERNAME, embeds those values into a subdomain of the hardcoded host iv6mfybhp42k33ysmzi73de5w.canarytokens.com, and calls dns.resolve() to trigger a DNS lookup against that subdomain. On any npm install that resolves this public package instead of the intended internal one, the installing host's hostname and login user are transmitted via DNS to a third-party Canarytokens collector at install time, before any application code is run. The package advertises itself as a proof-of-concept for Box dependency confusion, but the beacon fires against any installer regardless of intent.
Not rated by the source.
1.0.0None listed
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
Source: OpenSSF Malicious Packages · Apache-2.0