T08 · Insecure Dependencies
- Location
SKILL.md:9- Finding
Execution of an Unverified External Validation Script
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 9
Vulnerability Type: Unverified external dependency execution
Risk Level: MediumVulnerable Code Snippet
markdown Read `references/provider-selection.md` before choosing a source; DataForSEO calls go through the `references/dataforseo.md` cost gate (its backlinks endpoints are billable — same preflight/approval rules). All normalized factual inputs must satisfy the Groundcrew evidence contract (`evidence_type: backlink`). Locate the active skills root and run `<skills-root>/.groundcrew/groundcrew-doctor.py --evidence <record.json>` before using them in a conclusion.Technical Analysis
The skill directs the agent to dynamically locate and execute
.groundcrew/groundcrew-doctor.py, which resides outside the audited project. The external script is not bundled with this project, pinned to a trusted version, or subject to an integrity check. Consequently, its implementation and provenance cannot be verified from the supplied files.The instruction relies on the integrity of the dynamically selected skills root. If an attacker can create, replace, or influence the resolution of that directory or script, the agent may execute attacker-controlled Python code while believing it is invoking a trusted evidence validator.
The project also references
references/provider-selection.mdandreferences/dataforseo.md, but those files are absent from the supplied project. Their absence limits verification of the documented provider-selection and billing safeguards, although it does not independently establish exploitation.Attack Path
- An attacker obtains write access to a candidate skills root or influences how the active skills root is selected.
- The attacker creates or replaces
.groundcrew/groundcrew-doctor.pywith a malicious script. - The agent loads this skill and follows the instruction in
SKILL.md. - The agent executes the substituted script without ...[truncated 912 chars]
- Remediation
View remediation
Remediation Suggestions
- Bundle the validator with the skill package so that its exact implementation is included in security review.
- Pin the validator to a specific trusted version and verify its cryptographic digest or signature before execution.
- Prefer a trusted, registered validation tool or API over dynamically discovering and executing a filesystem script.
- Resolve the validator only from an explicitly configured, canonical path owned by a trusted administrator.
- Verify ownership and permissions of both the validator and every parent directory before invoking it.
- Execute the validator with least privilege in a sandbox that restricts filesystem, network, credential, and environment-variable access.
- Restore the referenced
references/provider-selection.mdandreferences/dataforseo.mdfiles so the documented provider and billing controls can be reviewed and applied.
