@orion-design-system/foundationnpm
Malicious code in @orion-design-system/foundation (npm) Remove it immediately and rotate any exposed credentials.
What this malware does
package.json declares a preinstall script that runs node -e to read os.hostname() and os.userInfo().username and send them via HTTPS GET to https://d8kn5vlt5p5h1j34mbcgbx1nffwjobfoh.oast.fun/?h=<host>&u=<user> (an interactsh out-of-band collector), with an additional DNS lookup encoding the hostname against the same controlled domain. The script fires automatically on npm install, before any user code runs. The package is published at version 9999.0.0 under the @orion-design-system scope and self-describes as a 'Security research - dependency confusion PoC' — the canonical Birsan-style shape for hijacking internal package names from public-registry resolution. Any installer whose resolver picks up this public package instead of an intended private @orion-design-system/foundation will leak host and user identifiers to the attacker-controlled OOB domain. Whether or not a specific target authorized the test, every other installer that resolves this name is harmed identically.
Malicious versions
Indicators of compromise (SHA-256)
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Scan your dependencies
O3 Security blocks malicious packages like this at install time and in CI.
Supply-chain protection