stacks-market
Pass
Audited by Gen Agent Trust Hub on Oct 1, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted market data from an external API, which could potentially be used to influence agent behavior through embedded instructions.
- Ingestion points: Market titles, descriptions, and metadata are fetched from
api.stacksmarket.appvia thelist-markets,search-markets, andget-marketsubcommands instacks-market.ts. - Boundary markers: No explicit boundary markers or specific instructions to ignore embedded content are used when passing retrieved market data to the agent context.
- Capability inventory: The skill possesses write capabilities to the Stacks blockchain, including buying/selling shares and redeeming funds via smart contract calls in
stacks-market.ts. - Sanitization: There is no evidence of content sanitization or validation for the strings retrieved from the external market API.
- [COMMAND_EXECUTION]: Executes on-chain transactions that move funds on the Stacks blockchain.
- Evidence: The
buy-yes,buy-no,sell-yes,sell-no, andredeemcommands instacks-market.tsuse thecallContractfunction to perform state-changing operations on themarket-factory-v18-biascontract. - The skill uses
PostConditionMode.Allow, which permits the contract to transfer assets without the granular restrictions typically provided by explicit Stacks post-conditions; this is noted as a requirement for this specific contract's internal logic. - [EXTERNAL_DOWNLOADS]: Fetches data from an external service to facilitate market discovery.
- Evidence: The
fetchMarketApifunction instacks-market.tsmakes network requests tohttps://api.stacksmarket.appto retrieve prediction market listings and details.
Audit Metadata