T08 · Insecure Dependencies
- Location
SKILL.md:114- Finding
Execution of an Unpinned External Installer
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 114-151
Vulnerability Type: Untrusted and mutable upstream dependency execution
Risk Level: HighVulnerable Code
markdown Use a clean/current checkout of `pinguy/chatterbox-tts-addon`. Before installing from it: ```bash make validateDo not deploy a checkout that fails its own validation.
The validation covers Python syntax, manifests, installer/build shell syntax, Firefox/Chrome JavaScript syntax, and browser package construction.
...
For a full backend reinstall:
bash bash chatterbox-tts-addon/install.shThe installer uses a private environment under
~/.local/share/chatterbox-tts/, installs the canonical backend files and user units, and enables the bridge and Voice Lab.text ### Technical Analysis The recovery instructions direct the agent to use a “clean/current checkout” of the external `pinguy/chatterbox-tts-addon` repository and execute its `install.sh` script. They do not require a pinned commit hash, signed release, verified repository URL, checksum, or manual review of upstream changes. A mutable current checkout can change after this skill has been audited. Running `make validate` does not establish the provenance or safety of the checkout: the documented validation only checks syntax, manifests, package construction, and related functional properties. An attacker-controlled installer can satisfy these checks while still executing malicious commands. The installer runs with the invoking user's privileges and is expected to install executable backend files, create user systemd units, and enable services. Consequently, compromise of the upstream repository, maintainer account, selected branch, download path, or preexisting local checkout can turn the documented recovery process into an arbitrary code-execution channel. ### Attack Path 1. An attacker compromises the upstream repository, maintainer acco ...[truncated 1455 chars]- Remediation
View remediation
Remediation Suggestions
- Replace the instruction to use a “current” checkout with an audited, immutable commit hash or release tag.
- Specify the exact trusted HTTPS repository URL to prevent similarly named or locally substituted repositories from being used.
- Require verification of a signed commit or signed release against a documented maintainer key.
- Publish and verify cryptographic checksums for release artifacts before any script is executed.
- Review the installer and all scripts or build targets it invokes whenever the pinned revision changes.
- Run validation only after provenance verification; do not treat syntax or package validation as a security check.
- Show and confirm the proposed filesystem and systemd changes before enabling services.
- Execute installation with the least privileges required and avoid privilege elevation.
- Record the verified revision in recovery logs so the installed source can be traced and reproduced.
- Consider distributing reviewed release artifacts rather than executing an installer directly from a mutable source checkout.
