contract
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
commanderlibrary to define a CLI interface for blockchain operations. It executes commands such asdeploy,call, andread. These involve reading local file content (viaBun.file().text()) and broadcasting transactions to the Stacks network. The command execution is scoped to the skill's primary purpose of smart contract interaction. - [INDIRECT_PROMPT_INJECTION]: The skill processes external contract source files (
.clar) and function arguments provided as JSON. There is a surface for indirect prompt injection if an attacker-controlled contract or data is processed. However, the skill implements significant mitigations including: - Capability Inventory: Capabilities are limited to specific Stacks blockchain transactions via the
@stacks/transactionslibrary. - Boundary Markers: The CLI uses strict argument parsing and JSON validation for inputs like
--argsand--post-conditions. - Sanitization: Input values are converted into typed Clarity values (via
parseArgToClarityValue), preventing raw string interpolation into sensitive contexts. - Safety Features: The skill defaults to
PostConditionMode.Denyto prevent unauthorized token transfers during contract calls.
Audit Metadata