setup-stylus-contracts
Audited by Socket on Mar 5, 2026
1 alert found:
Obfuscated FileLegitimate and typical developer documentation for setting up Stylus smart contract projects with OpenZeppelin crates. Primary security concerns are procedural and supply-chain related: (1) use of curl | sh to install rustup (download-and-execute) is a moderate-high supply-chain risk, (2) installing unpinned third-party crates from crates.io exposes transitive supply-chain attack surface, and (3) passing a private key file to the deploy CLI without guidance poses a credential-forwarding risk until the tool's behavior is verified. There is no direct evidence of malicious code or obfuscation in this documentation. Recommendations: avoid curl|sh or verify installer signatures, pin crate and toolchain versions and use Cargo.lock, document secure private-key handling (prefer hardware wallets or ephemeral keys), validate RPC endpoints, and consider reproducible build and provenance verification for critical artifacts.