bitflow-limit-order
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill fetches pool data and real-time price feeds from official Bitflow API endpoints (
bff.bitflowapis.finance) and queries account balances from the Stacks blockchain API (api.mainnet.hiro.so). These operations are necessary for price monitoring and balance verification. - [COMMAND_EXECUTION]: The
install-packscommand utilizeschild_process.execSyncto install required libraries. The input is a static list of official dependencies (@bitflowlabs/core-sdk, @stacks/transactions, etc.) passed tobun add, preventing arbitrary command injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes external price data and user CLI inputs to execute financial transactions. It implements the following security posture:
- Ingestion points: Real-time price data from Bitflow's API and user-supplied arguments for the
setcommand. - Boundary markers: Use of structured CLI flags for input and standardized JSON formats for output.
- Capability inventory: Includes wallet keystore decryption, balance verification, and transaction broadcasting via the
executeSwapfunction. - Sanitization: Enforced numeric validation for prices/amounts and hardcoded safety ceilings (e.g.,
MAX_ORDER_STX,MAX_SLIPPAGE_PCT) to prevent catastrophic execution states.
Audit Metadata