T08 · Insecure Dependencies
- Location
README.md:24- Finding
Unpinned External Executable Installation
- Content
View full analysis
Vulnerability Details
File Location:
README.md:24-34; related executable reference atSKILL.md:79
Vulnerability Type: Supply-chain risk from mutable, unverified external code
Risk Level: MediumVulnerable Code
README.md:24-34:bash ### Via ClawHub ```bash clawhub install animeManual
bash git clone https://github.com/jeffaf/anime-skill.git cd anime-skill chmod +x scripts/anime # Add to PATH or symlink ln -s $(pwd)/scripts/anime /usr/local/bin/animetext `SKILL.md:79`: ```text **Script location:** `{skill_folder}/anime` (symlink to `scripts/anime`)Technical Analysis
The installation instructions retrieve executable content from mutable external sources without pinning an immutable commit or release and without verifying a checksum or cryptographic signature. The retrieved
scripts/animefile is then made executable and exposed through/usr/local/bin/anime.The audited artifact contains only
README.mdandSKILL.md; neitherscripts/animenor the documentedanimesymlink is present. Consequently, the executable installed by these instructions is outside the reviewed artifact, and its implementation cannot be validated against the documented anime lookup behavior.This does not establish that the referenced repository or package is malicious. It creates a supply-chain trust gap in which the code ultimately executed may differ from the code that was reviewed or expected.
Attack Path
- An attacker compromises the external repository, its maintainer account, a mutable branch, or the package distribution channel.
- The attacker modifies the externally hosted
scripts/animeimplementation or substitutes a malicious package version. - A user follows the documented
clawhub install animeor unpinnedgit cloneprocedure. - The user grants execute permission to the retrieved script and may link it into
/usr/local/bin. - A u ...[truncated 779 chars]
- Remediation
View remediation
Remediation Suggestions
- Include the actual
scripts/animeexecutable and intended symlink in the distributed artifact so reviewers and users can inspect the code being executed. - Pin manual installation instructions to an immutable, audited commit hash or signed release tag rather than the repository's mutable default branch.
- Publish a SHA-256 or stronger digest for each released executable and require verification before granting execute permission.
- Cryptographically sign releases and document signature verification using a clearly identified maintainer key.
- Ensure the ClawHub package is version-pinned and reproducibly built from the same reviewed source revision.
- Prefer a user-local installation directory when system-wide installation is unnecessary, and avoid recommending elevated privileges.
- Add release automation that verifies the packaged executable matches the reviewed source and fails when expected files are missing.
- Include the actual
