T08 · Insecure Dependencies
- Location
SKILL.md:45- Finding
Unpinned and Unverified Third-Party Skill Dependencies
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 45-54; duplicated inREADME.md, lines 50-63
Vulnerability Type: Supply-chain exposure through mutable, unverified registry dependencies
Risk Level: MediumVulnerable Code Snippet
bash # For sensor-hub: clawhub install pilot-stream-data pilot-metrics pilot-gossip # For coordinator: clawhub install pilot-task-router pilot-consensus pilot-audit-log # For resource-allocator: clawhub install pilot-dataset pilot-event-filter pilot-escrow # For comms: clawhub install pilot-announce pilot-slack-bridge pilot-webhook-bridgeTechnical Analysis
The setup procedure installs twelve third-party Skills by package name without immutable version constraints, cryptographic hashes, signature verification, a lockfile, or an explicitly trusted registry. Consequently, the code installed at deployment time can differ from the code reviewed when this project was published.
The retrieved dependencies are not included in this repository and could not be examined during this audit. Because the parent Skill allows Bash and incorporates the installed components into trusted disaster-response agents, a compromised registry account, package takeover, dependency-confusion condition, or malicious upstream release could introduce attacker-controlled behavior.
The exposure is particularly significant for communication bridge components such as
pilot-slack-bridgeandpilot-webhook-bridge, which may interact with external systems, and for components that process alerts, resource allocations, or trust relationships.Attack Path
- An attacker compromises the publisher account or registry entry for one of the named Skills, or causes an attacker-controlled package to resolve under the expected name.
- The attacker publishes a malicious or backdoored release under that mutable package identifier.
- An operator or AI agent follows the documented setup procedure and runs the corresponding `clawhub ins ...[truncated 1311 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin every dependency to a specific, audited, immutable version rather than installing by package name alone.
- Require cryptographic digests or verified publisher signatures for each installed artifact.
- Document and enforce the expected registry endpoint so package resolution cannot silently fall back to an untrusted source.
- Maintain a lockfile or signed dependency manifest containing package names, versions, sources, and checksums.
- Review the complete contents and transitive dependencies of each Skill before installation or activation.
- Stage downloaded Skills in a restricted environment and scan them before allowing execution.
- Run each role with least-privilege filesystem, process, credential, and network permissions.
- Restrict Slack and webhook bridge destinations with explicit allowlists and narrowly scoped credentials.
- Establish peer trust only after dependency verification and successful integrity checks.
- Add a controlled update process that re-audits dependencies before changing any pinned version.
