T08 · Insecure Dependencies
- Location
SKILL.md:12- Finding
Execution of Unverified External Components with Credential Access
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 12-23, 36-37, 53-56, and 76
Vulnerability Type: Unverified third-party scripts and dependencies
Risk Level: MediumVulnerable Instructions
text 2. Load vault: `python tools/load_biophase7_vault.py` → uses `XAI_API_KEY_ALT` before `XAI_API_KEY_MAIN`.bash cd lygo-protocol-stack pip install -r requirements-pxpipe.txt python tools/run_pxpipe_lygo_proxy.pybash cd "%LYGO_STACK_ROOT%\.grok\skills\lygo-ollama-army\ollama_command_center\scripts" python army_cron_once.pybash python tools/run_falsifiable_vector_test.py --load-vault --models stack # API spend only if asked: python tools/run_falsifiable_vector_test.py --load-vault --models grok --limit 3text Install companion: `lygo-ollama-army`, `lygo-protocol-stack-operator`.Technical Analysis
The skill directs users or agents to install dependencies and execute scripts from companion projects that are not included in the audited package. The package contains neither the referenced scripts nor
requirements-pxpipe.txt, and it does not specify trusted source URLs, immutable revisions, package versions, or integrity hashes.Consequently, the effective code executed by these instructions cannot be verified from the audited artifact. This is particularly sensitive for
load_biophase7_vault.pyandrun_falsifiable_vector_test.py --load-vault, because those execution paths are expected to access xAI API credentials. Running an altered companion script or installing a compromised dependency could expose credentials or execute arbitrary code under the invoking user's account.The audit does not establish that any referenced component is currently malicious. The risk arises from trusting external, unpinned, and unaudited components.
Attack Path
- An attacker compromises, substitutes, or modifies a referenced companion repository, script, or package dependency.
- A user installs the companion c ...[truncated 1157 chars]
- Remediation
View remediation
Remediation Suggestions
- Bundle all required scripts and dependency manifests in the skill package so they can be reviewed with the instructions.
- Document canonical HTTPS source URLs and pin companion projects to immutable, reviewed commit hashes or signed releases.
- Pin Python packages to exact versions and require cryptographic hashes, such as through a locked requirements file used with
pip --require-hashes. - Verify release signatures or checksums before executing downloaded or separately installed components.
- Run proxy, harness, and cron-related components in an isolated environment with minimal filesystem and network permissions.
- Separate vault access from general-purpose scripts. Pass only the credential required for a specific operation and avoid exposing both alternate and main keys to the same process.
- Require explicit confirmation before dependency installation, credential-enabled execution, or metered API calls.
- Audit the companion projects and their transitive dependencies before treating the execution paths as trusted.
