spend-circuit-breaker
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: No security threats were identified. The skill is designed to manage API costs locally.
- [INDIRECT_PROMPT_INJECTION]: The skill reads session log files (
~/.openclaw/sessions/*.jsonl) to estimate token usage. The ingestion process incheck.pyusesjson.loadsto extract numerical usage data for calculation. Because this data is used strictly for mathematical estimation and is not interpolated into agent prompts or shell commands, it does not present an injection vector. - [DATA_EXFILTRATION]: There are no network operations (such as
curl,requests, orsocket) present in the code. The skill only interacts with local files in the~/.openclaw/directory for reading logs and saving its own state. - [COMMAND_EXECUTION]: The Python script
check.pydoes not utilizesubprocess,os.system, oreval. It performs its logic using standard Python arithmetic and file I/O. - [OBFUSCATION]: The code is written in cleartext with no signs of encoding, zero-width characters, or hidden content.
Audit Metadata