zest-borrow-asset-primitive

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill fetches blockchain data and price feeds from official infrastructure providers including Hiro (api.hiro.so) and Pyth Network (hermes.pyth.network). These downloads are necessary for validating market state and providing accurate price data for the borrow transaction.
  • [DATA_EXFILTRATION]: The skill reads encrypted wallet session data from the local filesystem (~/.aibtc/sessions/). This is a legitimate operation for the vendor's ecosystem to facilitate local transaction signing without hardcoding private keys. No sensitive data is transmitted to unauthorized third-party domains.
  • [COMMAND_EXECUTION]: The skill executes smart contract calls on the Stacks blockchain. Security is maintained through the use of transaction post-conditions (PostConditionMode.Deny) and a mandatory manual confirmation flag (--confirm=BORROW), ensuring the agent cannot create debt without explicit user authorization.
  • [INDIRECT_PROMPT_INJECTION]: The skill represents an ingestion surface for untrusted external data from blockchain and oracle APIs.
  • Ingestion points: Data is fetched in zest-borrow-asset-primitive.ts via fetchJson from the Hiro and Pyth APIs.
  • Boundary markers: Not applicable to this implementation style; data is consumed as typed parameters for contract calls rather than natural language instructions.
  • Capability inventory: The skill can broadcast blockchain transactions and read specific local configuration files.
  • Sanitization: API responses are parsed as JSON and specific fields are validated and cast to BigInt or Buffer before being used in transaction construction.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 02:49 AM