T07 · Tool Hijacking and Spoofing
- Location
SKILL.md:11- Finding
Execution of Unbundled and Unverified External Tools
- Content
View full analysis
``` ```bash python3 /Users/zzd/.openclaw/workspace/skills/scrapling-web-fetch/scripts/scrapling_fetch.py 30000 ``` ```text - 用法参考:`/Users/zzd/.openclaw/workspace/skills/scrapling-web-fetch/references/usage.md` - 选择器策略:`/Users/zzd/.openclaw/workspace/skills/scrapling-web-fetch/references/selectors.md` - 统一入口:`/Users/zzd/.openclaw/workspace/skills/scrapling-web-fetch/scripts/fetch-web-content` ``` ### Technical Analysis The project contains only `SKILL.md`; it does not include `scripts/scrapling_fetch.py`, `scripts/fetch-web-content`, or the referenced documentation. The Skill nevertheless instructs the agent to execute these scripts, including through fixed absolute paths outside the audited package. Because the executed implementation is not part of the reviewed artifact, its integrity and behavior cannot be established. A file placed or modified at one of these paths can be executed under the appearance of a legitimate Skill operation. The absent implementation also prevents validation of URL handling, redirect restrictions, server-side request forgery protections, sensitive-header handling, and the destinations to which fetched or local data might be transmitted. Fetching a user-requested webpage is necessary for the declared functionality, and the reviewed text does not direct the collection or exfiltration of credentials, keys, environment variables, or other local secrets. The risk arises from delegating that network operation to mutable, unbundled code. ### Attack Path 1. An attacker or compromised local component creates or modifies `scripts/scrapling_fetch.py` or the script at the documented absolute workspace path. 2. A user asks the agent to fetch or convert a webpage. 3. The agent loads the Sk ...[truncated 852 chars]- Remediation
View remediation
