sbtc-yield-maximizer
Warn
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill dynamically generates a wrapper script in the system temporary directory (
tmpdir()) to execute thehodlmm-move-liquiditylogic. It usesawait import()to load the target script into the generated wrapper's execution context at runtime. - [COMMAND_EXECUTION]: The skill executes external commands using
Bun.spawn. The command path and arguments can be influenced by environment variables likeHODLMM_MOVE_LIQUIDITY_CMD, allowing for the execution of arbitrary scripts if the environment is compromised. - [INDIRECT_PROMPT_INJECTION]: The skill consumes untrusted yield and liquidity data from external Bitflow APIs (
bff.bitflowapis.finance) to make automated financial decisions. - Ingestion points: Fetches data from
BITFLOW_APP_API,BITFLOW_QUOTES_API, andBITFLOW_BINS_APIinsbtc-yield-maximizer.ts. - Boundary markers: The skill uses strict threshold parameters (e.g.,
--min-hodlmm-volume-usd,--max-price-divergence-pct) to validate data before routing. - Capability inventory: The skill can perform on-chain supply transactions and execute liquidity rebalancing via CLI.
- Sanitization: Implements multiple safety checks including TVL floors, volume floors, and price divergence limits to mitigate malicious or stale data.
- [EXTERNAL_DOWNLOADS]: The skill depends on external code from GitHub (
github:aibtcdev/skills). This is a vendor-owned resource used for wallet management and blockchain interactions.
Audit Metadata