@adminide-stack/utils
Affected
- Versions:
0.0.16-129,0.0.16-130
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-7gx8-qvpw-82h6
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @adminide-stack/utils (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (1ba4c643cb0383a3a2631c43deecfb9b0cae27dd209e0117cead1b2e22c3d0c4)
lib/index.js is a webpack bundle whose authored source (per the shipped source map) only re-exports a logger module. An extra line eval(atob("<~50KB base64>")) has been appended after the webpack footer and is not present in the authored sources. The decoded blob is heavily obfuscated with an obfuscator.io-style string-array dispatcher (_0x5c1d with hex-named helpers and runtime array shuffling) and contains Ethereum JSON-RPC method strings (eth_blockNumber, eth_getBlockByNumber, eth_getTransactionCount), public Ethereum RPC provider hostnames (*.publicnode.com, h.drpc.org, public.*.blockscout), nonce/transaction handling, a browser User-Agent, and node:http/https POST plumbing. It sets global.i='A10-npm_inject' and hooks module/require/process. The payload executes at require('@adminide-stack/utils') time, so any consumer importing the package runs the attacker code. The combination of a post-build appended obfuscated loader, mismatch with the authored source map (a utility that only re-exports a logger), and Ethereum RPC interception strings matches the npm wallet-drainer supply-chain campaign and places any wallet/transaction-signing activity reachable from the host process at risk.
Source: ghsa-malware (ab42798fc40b5b8c35b36e9aab872128a0a06d4f385d2aa56e59bfbf843482f6)
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.
Not rated by the source.
0.0.16-129, 0.0.16-130None 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