nunchuk-wallet-creation
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because user-provided strings, such as wallet names and Miniscript policy templates, are interpolated directly into shell commands without sanitization.
- Ingestion points: User inputs for
--nameand--miniscript-templateinSKILL.md. - Boundary markers: None present to distinguish user data from command structure.
- Capability inventory: Subprocess execution of the
nunchukCLI andscripts/miniscript.js, and file-write operations for wallet backups. - Sanitization: No evidence of input validation or escaping before command execution.
- [COMMAND_EXECUTION]: The skill frequently executes shell commands using the
nunchukCLI tool and a bundled JavaScript helper located atscripts/miniscript.jsto compile and analyze wallet policies. - [CREDENTIALS_UNSAFE]: The skill manages highly sensitive cryptographic secrets, including mnemonics, seed phrases, and extended private keys (
xprv). It provides instructions to export these secrets into a plain-text file (wallet-backup.txt), which creates a risk of local data exposure. - [EXTERNAL_DOWNLOADS]: The skill references external resources, such as the Bitcoin Core Hardware Wallet Interface (HWI) on GitHub, for managing hardware signers. While the download is not automated by the skill itself, it directs the user to fetch and execute external binaries.
Audit Metadata