starknet-anonymous-wallet
Warn
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [PERSISTENCE_MECHANISMS]: The script
scripts/watch-events-smart.jsimplements a persistence mechanism by installing cron jobs to monitor blockchain events. It generates shell scripts in~/.openclaw/cron/and programmatically updates the user's crontab using system commands. - [DYNAMIC_EXECUTION]: The skill performs runtime generation and execution of shell scripts (
.sh) and JSON configuration files. This logic is used to support persistent event monitoring across system restarts. - [DATA_EXPOSURE_AND_EXFILTRATION]: The skill accesses highly sensitive private key files located in the
~/.openclaw/secrets/starknet/directory viascripts/_keys.js. Although this access is central to the skill's wallet-management purpose and includes path-traversal protections, it represents significant sensitive data exposure. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it dynamically interprets and executes actions based on untrusted data from contract ABIs and user-supplied prompts.
- Ingestion points: User instructions and blockchain-sourced contract ABIs are processed in
scripts/parse-smart.jsandscripts/read-smart.js. - Boundary markers: The
validatePromptSecurityfunction inscripts/parse-smart.jsutilizes regex-based filtering and thevardlibrary to detect malicious intent. - Capability inventory: The agent can sign transactions, read local files, and modify the system crontab.
- Sanitization: Administrative functions like
upgradeorset_ownerare denylisted inscripts/resolve-smart.jsand require explicit user confirmation to proceed.
Audit Metadata