forecast-cli
Pass
Audited by Gen Agent Trust Hub on Aug 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill is designed to operate the
forecastCLI, enabling the agent to list markets, quote prices, execute trades, and create new prediction markets on platforms like Polymarket and Kalshi. - [PROMPT_INJECTION]: The skill ingests untrusted data from external prediction market providers, which could contain malicious instructions within market descriptions or resolution criteria.
- Ingestion points: Data enters the agent context through the output of
forecast market list,forecast market search, andforecast market getsubcommands. - Boundary markers: The workflow documentation explicitly requires the agent to present results to the user and obtain manual approval before using the
--confirmflag for trades or market creation. - Capability inventory: The skill has the capability to execute financial transactions, sell owned positions, and create new blockchain-based markets via the Precog platform.
- Sanitization: The skill lacks automated sanitization or filtering of external market strings, relying solely on human review of the generated previews.
- [CREDENTIALS_UNSAFE]: The skill handles highly sensitive information, including blockchain private keys and API credentials.
- Sensitive file paths: The
references/config-and-auth.mdfile referencesprivate_key_filepaths for Polymarket, Precog, and Kalshi. - Mitigation: The instructions mandate best practices for secret hygiene, such as using environment variables (e.g.,
POLYMARKET_PRIVATE_KEY) or ignored key files instead of passing secrets as command-line arguments.
Audit Metadata