T07 · Tool Hijacking and Spoofing
- Location
SKILL.md:29- Finding
Execution of Mutable, Unaudited External Scripts
- Content
View full analysis
``` ```bash uv run /root/.openclaw/workspace/skills/stock-fundamentals/src/main.py ``` ```bash # For US-listed stocks uv run /root/.openclaw/workspace/skills/market-news-brief/src/main.py US # For German/European stocks (e.g. RHM.DE, SAP.DE, ASML.AS) uv run /root/.openclaw/workspace/skills/market-news-brief/src/main.py EUROPE # For Japanese stocks (e.g. 7203.T) uv run /root/.openclaw/workspace/skills/market-news-brief/src/main.py JAPAN # For Korean stocks (e.g. 005930.KS) uv run /root/.openclaw/workspace/skills/market-news-brief/src/main.py SOUTH_KOREA ``` ### Technical Analysis The skill delegates all substantive processing to Python scripts stored under absolute paths outside the reviewed project. None of these scripts is included in the artifact, so their source code, integrity, permissions, dependencies, and runtime behavior cannot be verified from the audited package. The effective behavior of the skill can consequently change without any modification to `SKILL.md`. An attacker or compromised component with write access to the referenced skill directories could replace one of the expected scripts with attacker-controlled code. Calls that appear to be legitimate equity-research operations would then execute the substituted logic through `uv run`. This is classified as tool hijacking because trusted-looking local tool invocations can be redirected to mutable, independently managed implementations. ### Attack Path 1. An attacker obtains write access to one of the referenced external directories, such as `/root/.openclaw/workspace/skills/stock-fundamentals/`. 2. The attacker modifies or replaces `src/main.py` with malicious Python code. 3. A user ...[truncated 902 chars]- Remediation
View remediation
