T08 · Insecure Dependencies
- Location
SKILL.md:301- Finding
Unverified Executable Plugin Is Installed and Added to the Agent Allowlist
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 301-309
Vulnerability Type: Unverified third-party executable dependency
Risk Level: HighVulnerable Code
bash # Install the repository management plugin agent plugins install repo-manager-plugin # Configure tool permissions agent config set tools.alsoAllow '["repo-manager-plugin"]' --strict-json # Restart the Agent session agent restartThe dependency table at lines 427-433 also identifies
repo-manager-pluginas a mandatory integration plugin without providing a publisher, trusted registry, pinned version, integrity digest, signature, or source repository.Technical Analysis
The Skill instructs users to install an executable third-party plugin, explicitly add it to the Agent tool allowlist, and restart the Agent so that the plugin is loaded. The dependency is identified only by a mutable package name.
No plugin implementation is included in the audited project, so its credential handling and runtime behavior cannot be verified. The document also states that this plugin manages GitHub OAuth credentials and performs authenticated GitHub API operations. Consequently, compromise, substitution, dependency confusion, or typosquatting involving the named package could place attacker-controlled code inside a trusted execution boundary.
Installing the plugin is necessary for the declared MCP-based functionality, but trusting an unpinned and unverifiable package exceeds the minimum safe dependency posture.
Attack Path
- An attacker publishes, replaces, or compromises a package distributed under the expected plugin name or through the registry resolved by the installation command.
- A user follows the Skill instructions and runs
agent plugins install repo-manager-plugin. - The user explicitly adds the installed plugin to the Agent allowlist.
- Restarting the Agent loads the compromised plugin into the trusted tool environm ...[truncated 1114 chars]
- Remediation
View remediation
Remediation Suggestions
- Identify the official plugin publisher and the trusted registry from which the package must be installed.
- Pin the dependency to an immutable version and, where supported, an integrity digest.
- Require package signature or checksum verification before installation.
- Link to an auditable source repository and publish reproducible build information.
- Provide a permission manifest documenting all filesystem, process, network, credential, and GitHub access required by the plugin.
- Avoid adding a package to the Agent allowlist until its identity and integrity have been verified.
- Run the plugin in a sandbox with restricted filesystem access, a narrow network allowlist, and no access to unrelated Agent credentials.
- Separate read-only and write-capable plugin configurations so users do not grant modification privileges for read-only tasks.
