smart-contract-generator
Pass
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-provided data such as contract names, token symbols, and base URIs to generate source code and configuration files. This creates a potential surface for indirect injection if a user provides crafted input designed to manipulate the generated code or downstream build processes.
- Ingestion points: User instructions determining contract types and parameters (Name, Symbol, URI) processed in
SKILL.md. - Boundary markers: The instructions do not define explicit boundaries or validation rules for user-supplied string literals used in code generation.
- Capability inventory: The skill uses the
Writetool to save the generated Solidity contracts, deployment scripts, and Hardhat configuration to the file system. - Sanitization: There is no explicit logic described for sanitizing user inputs before they are interpolated into the generated code templates.
Audit Metadata