zest-auto-repay

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill connects to api.hiro.so to retrieve real-time blockchain data, including wallet balances and Zest Protocol contract states. This endpoint is a well-known and standard infrastructure provider for the Stacks network.
  • [COMMAND_EXECUTION]: The skill exposes several commands via a TypeScript-based CLI tool (zest-auto-repay/zest-auto-repay.ts), allowing the agent to perform position diagnostics, active monitoring, and repayment calculations.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests and processes external data from the Stacks blockchain via the Hiro API to classify financial risk levels and determine next steps.
  • Ingestion points: Loan-to-value (LTV) data and debt balances are fetched through getZestPosition and preflight functions in zest-auto-repay.ts.
  • Boundary markers: External data is returned in a structured format (Clarity-encoded hex strings) and parsed specifically for integer types before use in logic.
  • Capability inventory: The skill can emit MCP (Model Context Protocol) tool requests for the zest_repay tool and maintains a local state ledger at ~/.zest-auto-repay-spend.json.
  • Sanitization: All calculated repayment suggestions are strictly enforced against hard-coded safety limits (500,000 sats per operation and 1,000,000 sats per day) within the script's logic, preventing excessive fund movement regardless of input data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 02:49 AM