senpi-improve-trades
Pass
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell commands to interact with the local environment and fetch data.
- Evidence:
scripts/review.pyexecutesopenclaw senpi eventsto retrieve runtime telemetry logs andcurlto query external APIs. - [EXTERNAL_DOWNLOADS]: The skill fetches trading information from a well-known external service.
- Evidence:
scripts/review.pymakes network requests tohttps://api.hyperliquid.xyz/infousingcurlto recover fill data for closed trading strategies. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from external APIs and local logs which could be manipulated to influence the agent's behavior.
- Ingestion points: Data is retrieved from the Hyperliquid API, local telemetry event logs via
openclaw, and Senpi MCP tools such asdiscovery_get_trader_history. - Boundary markers: The skill instructions in
SKILL.mddefine nine specific 'guardrails' and 'Hard Rules' that explicitly instruct the agent to use only engine-computed values, lead with total PnL, and avoid following potentially biased external directives. - Capability inventory: The skill can read local strategy mandates, perform network requests for data retrieval, and execute specific command-line tools.
- Sanitization: External data is parsed as JSON and processed through deterministic logic in
scripts/review.py(e.g., numeric normalization) before being passed to the agent. - [SAFE]: The skill implements a custom, restricted YAML loader in
scripts/_yaml.pyto prevent unsafe deserialization risks (like those associated with standard Python YAML loaders).
Audit Metadata