T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Unpinned Third-Party Package Is Installed and Executed with User Privileges
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:8-11,SKILL.md:28-31, andREADME.md:23-26
Vulnerability Type: Supply-chain exposure through an unpinned executable dependency
Risk Level: MediumVulnerable Code
SKILL.md:8-11:yaml install: - kind: pip package: opensentinel bins: [osentinel]SKILL.md:28-31:bash pip install opensentinel export ANTHROPIC_API_KEY=sk-ant-... # or OPENAI_API_KEY, GEMINI_API_KEY osentinel init --quick # creates starter osentinel.yaml osentinel serve # starts proxy on localhost:4000README.md:23-26:bash pip install opensentinel export ANTHROPIC_API_KEY=sk-ant-... # or OPENAI_API_KEY, GEMINI_API_KEY osentinel init --quick # creates starter osentinel.yaml osentinel serve # starts proxy on localhost:4000Technical Analysis
The Skill installs
opensentinelfrom PyPI without specifying an exact version, package hash, lock file, or immutable source revision. It then instructs the user to execute the installedosentinelcommand after placing an LLM-provider credential in the process environment.The audited project contains only documentation and configuration examples. It does not contain the implementation of the installed package, so this audit cannot verify what the CLI does with provider credentials, proxied prompts, model responses, configuration files, or network connections.
Because an unqualified
pip install opensentinelresolves a mutable package release at installation time, the code executed by future users may differ from the code that existed when the Skill was reviewed. A compromised maintainer account, compromised distribution channel, or malicious future release could therefore turn the installation and startup instructions into arbitrary code execution.Attack Path
- An attacker compromises the upstream ...[truncated 1583 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the package to an exact, reviewed version, for example:
bash pip install opensentinel==<reviewed-version> - Publish a SHA-256 hash for every approved distribution and require hash-verified installation:
bash pip install --require-hashes -r requirements.txt - Supply a lock file that records exact direct and transitive dependency versions.
- Reference the immutable upstream source commit corresponding to the approved package artifact.
- Include the relevant implementation in the audit scope before recommending that users provide production API keys.
- Run the proxy under a dedicated, least-privileged account or isolated container with restricted filesystem and network access.
- Use a narrowly scoped provider key with spending limits, rotation procedures, and monitoring.
- Document the proxy's outbound destinations and provide controls that restrict egress to approved LLM and telemetry endpoints.
- Pin the package to an exact, reviewed version, for example:
