T08 · Insecure Dependencies
Warning
- Location
- SKILL.md:4
- Finding
- Unpinned and Unverifiable Third-Party CLI Dependency## Vulnerability Details **File Location**: `SKILL.md`, line 4 **Vulnerability Type**: `T08: Insecure Dependencies` **Risk Level**: Medium **Complete Code Snippet**: ```yaml metadata: {"clawdbot":{"emoji":"📞","requires":{"bins":["kallyai"]},"install":[{"id":"pip","kind":"pip","package":"kallyai-cli","bins":["kallyai"],"label":"Install via pip"}]}} ``` ### Technical Analysis The Skill directs the platform to install the `kallyai-cli` package from the pip package ecosystem without specifying an exact version or cryptographic hash. The project contains no dependency lockfile, checksum, vendored implementation, or other integrity constraint that would bind installation to the artifact reviewed during this audit. As a result, the effective executable can change independently of `SKILL.md`. The package's implementation cannot be audited from this project, despite the CLI being expected to process authentication tokens and perform sensitive operations involving calls, email, messages, contacts, calendars, bookings, and phone numbers. This is a supply-chain weakness rather than evidence that the current package is malicious. Exploitation requires compromise, replacement, or unsafe publication of a package release selected during installation. ### Attack Path 1. An attacker compromises the package publisher, package repository account, release pipeline, or another component capable of publishing a malicious `kallyai-cli` release. 2. The attacker publishes a modified release containing malicious installation-time or runtime behavior. 3. Because the dependency has no version or hash constraint, a subsequent Skill installation resolves the attacker-controlled release. 4. Package installation hooks or the installed `kallyai` executable run with the privileges of the installing user. 5. The malicious implementation can attempt to read locally accessible credentials and data or intercept sensitive information and delegated actions sup ...[truncated 727 chars]
- Remediation
- ## Remediation Suggestions 1. Pin `kallyai-cli` to an explicitly reviewed, immutable version rather than resolving the latest available release. 2. Enforce cryptographic hashes through a hash-locked requirements file or equivalent package-integrity mechanism. 3. Publish and reference a verifiable source repository, release commit, and build provenance for the CLI. 4. Use signed releases and verify package signatures or trusted provenance attestations before installation. 5. Permit upgrades only after reviewing the new source and updating the approved version and hashes. 6. Run the CLI with least privilege and restrict its access to unrelated local files, environment variables, and credentials. 7. Grant narrowly scoped service authorization and provide revocation and credential-rotation procedures in case of dependency compromise.
