solidity-compile-deploy@1.0.0
Malicious code in solidity-compile-deploy (npm)
Analysis
solidity-compile-deploy@1.0.0 exfiltrates all environment variables to a remote Redis database when imported. The index.js module creates a connection to clean-calf-70292[.]upstash[.]io:6379 (an Upstash Redis instance) using an embedded connection URL, then serialises the entire process.env object to the key "foo" on that server. This steals any credentials, tokens, API keys and secrets present in the runtime environment (NPM_TOKEN, GITHUB_TOKEN, AWS keys, etc.). The exfiltration executes as a side-effect of loading the module with no lifecycle hook required.
- analyzed by
- Leitwacht
- first seen
- Jun 14, 2026, 03:32 AM
- analyzed
- Jun 14, 2026, 03:33 AM
Related advisories
- solanarpclampweb3@1.0.3
- snavbox@1.0.1
- slow-surf@10.0.0
- skipthedishes_react@0.1.0
- sjs-lint-build1@1.0.4
- sjs-builders@1.0.4
- sisubeny-bun-pwn-payload-1@1.0.0
- signature-transaction@1.1.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.