T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unverified Alternative PyPI Package Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 14–17; the same package is also declared in installation metadata at line 4.
Vulnerability Type: Unverified third-party dependency and supply-chain risk
Risk Level: MediumVulnerable Code
bash # Install npm i -g @sentry/cli # — or — pip install sentry-cliThe installation metadata also declares the package:
yaml metadata: {"openclaw":{"requires":{"bins":["sentry-cli"]},"install":[{"id":"npm","kind":"npm","package":"@sentry/cli","global":true,"bins":["sentry-cli"],"label":"Install sentry-cli (npm)"},{"id":"pip","kind":"pip","package":"sentry-cli","bins":["sentry-cli"],"label":"Install sentry-cli (pip)"}]}}Technical Analysis
The Skill presents the scoped npm package
@sentry/cliand the separately named PyPI packagesentry-clias interchangeable installation options. The documentation does not establish that the PyPI package is an official Sentry distribution, nor does it pin a trusted version or verify a checksum or digital signature.Package installation can execute package-controlled build or installation logic and installs executables that are later trusted as
sentry-cli. Consequently, an unrelated, compromised, or substituted package obtained under the PyPI name could introduce attacker-controlled code into the local environment. This creates a dependency-confusion, package-substitution, or repository-compromise exposure.Attack Path
- A user or agent follows the documented
pip install sentry-clialternative. - pip resolves and downloads mutable package content associated with that package name from its configured index.
- Package-controlled installation or build logic may execute with the installing user's privileges, and the installed
sentry-cliexecutable becomes trusted by subsequent workflow steps. - The user configures or already possesses
SENTRY_AUTH_TOKEN,SENTRY_ORG, andSENTRY_PROJECTenvironment variables. - A malicious pac ...[truncated 974 chars]
- A user or agent follows the documented
- Remediation
View remediation
Remediation Suggestions
- Remove the
pip install sentry-clioption unless the package's official ownership and provenance can be conclusively verified against Sentry-maintained documentation. - Prefer an official Sentry distribution channel, such as the scoped npm package or an authenticated official binary release.
- Pin the dependency to a reviewed exact version rather than installing an unconstrained latest release.
- Verify downloaded artifacts using publisher-provided cryptographic signatures or trusted checksums.
- Lock dependencies in a reproducible manifest and review version changes before deployment.
- Perform installation in an isolated, least-privileged environment without Sentry tokens or unrelated credentials present.
- Provide credentials only after installation and integrity verification, and scope the Sentry token to the minimum permissions required.
- If Python installation remains supported, document the verified publisher, package URL, exact version, expected hashes, and a hash-enforced installation command.
- Remove the
