The skill is highly insecure, utilizing path traversal and unverified dependencies to facilitate arbitrary command execution while pressuring the agent to bypass safety filters and execute malicious code.
Findings (9)
Content Injection
Hightargets Perception
The skill instructs the agent to fetch and process arbitrary URLs (arXiv, HTML, PDF). If the agent processes a malicious HTML page or PDF, the content could contain payloads that exploit the agent's processing logic or the local shell environment. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
figure-extractor extract https://example.com/article
Semantic Manipulation
Mediumtargets Reasoning
The skill uses authoritative language to pressure the agent into bypassing standard safety checks, such as insisting that 'any code-execution tool counts as a shell' and forcing the agent to write and execute embedded Python code. [ensemble: confirmed by 2/3 passes; severity set to the agreed median (ADR-0067).]
Do not conclude the tool is unavailable until you have tried rung 3.
Cognitive State
Hightargets Memory & Learning
Untrusted package source — installs a dependency from a URL/VCS or alternate index instead of the public registry
pip install git+
Behavioural Control
Criticaltargets Action
User-controlled input is used to construct a file path. This could allow path traversal where an attacker reads or writes arbitrary files using sequences like `../../etc/passwd`. Use `os.path.basename()` to strip directory components, or validate that the resolved path is within the expected directory. (seen 3 times in this file at lines 220, 221, 253)
taint source (line 220): argv[1] → sink: Path(argv[1])
User-controlled input is used to construct a file path. This could allow path traversal where an attacker reads or writes arbitrary files using sequences like `../../etc/passwd`. Use `os.path.basename()` to strip directory components, or validate that the resolved path is within the expected directory.
taint source (line 174): argv[1] → sink: Path(argv[1])
The skill provides instructions to install packages directly from a GitHub repository URL without version pinning or integrity hashes, exposing the user to potential supply chain attacks.
pip install git+https://github.com/Sunrich-HT/figure-extractor
The skill encourages the agent to execute shell commands using user-provided inputs (filenames/URLs). Combined with the path traversal vulnerabilities already identified, this creates a high risk of arbitrary command execution. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
figure-extractor extract <pdf-path> --out ./figures
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.