skills/aibtcdev/skills/psbt/Gen Agent Trust Hub

psbt

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes base64-encoded PSBT data provided as input, which serves as an ingestion point for untrusted external data.
  • Ingestion points: Data enters the skill via the --psbt argument in the psbt/psbt.ts script.
  • Boundary markers: The AGENT.md file includes explicit 'Safety Checks' and 'Decision Logic' that instruct the agent to verify PSBT sources before signing or broadcasting.
  • Capability inventory: The skill possesses significant capabilities, including signing transactions with private keys retrieved via the wallet manager and broadcasting transactions to the Bitcoin network.
  • Sanitization: The input is decoded and validated using the @scure/btc-signer library, ensuring that only valid PSBT structures are processed.
  • [COMMAND_EXECUTION]: The skill utilizes a CLI-based execution model via the Bun runtime.
  • The logic uses the commander library to define subcommands (estimate-fee, sign, broadcast).
  • It executes purely within the context of the provided scripts without spawning arbitrary shells or processes based on user input.
  • [DATA_EXPOSURE_AND_EXFILTRATION]: The skill handles sensitive Bitcoin private keys.
  • Key access is performed through an internal abstraction (getWalletManager), and signatures are generated locally.
  • Network communication is restricted to broadcasting finalized transactions to mempool.space, which is a well-known and expected service for this functionality.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 02:49 AM