T08 · Insecure Dependencies
- Location
SKILL.md:25- Finding
Unpinned Third-Party Skill Installation
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 25
Vulnerability Type: Unpinned third-party dependency installation
Risk Level: MediumVulnerable Code
markdown - The action skills (remember, recall, and the rest) are installed separately with `npx skills add rohitg00/agentmemory`. `connect` makes tools available; skills teach the agent when to use them.Technical Analysis
The documented installation command identifies a mutable third-party repository without specifying an immutable commit, release version, checksum, or signature. It also relies on
npx, which can retrieve and execute package tooling.The external Skill content is not included in this project and therefore was outside the reviewed artifact. Its effective behavior can change after this version of
SKILL.mdhas been audited. Compromise of the package, repository, publisher account, or mutable upstream branch could cause users to install unreviewed instructions or executable content with their own privileges.Attack Path
- An attacker compromises the referenced repository, package-distribution path, or publisher account, or introduces malicious content into the mutable upstream revision.
- A user or agent follows the installation instruction on line 25.
npxretrieves and runs the applicable tooling, which obtains content from the mutablerohitg00/agentmemorysource.- The unreviewed Skill content is installed into the host environment.
- When the host loads or invokes the installed content, attacker-controlled instructions or code can execute within the permissions available to that host and user.
Impact Assessment
Successful exploitation could permit attacker-controlled Skill instructions or code to run with the invoking user's privileges. Depending on the retrieved payload and host permissions, the impact may include agent instruction hijacking, access to data available to the host agent, unauthorized tool use, configuration modifi ...[truncated 180 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the installer package and third-party Skill source to audited, immutable versions or commit hashes.
- Verify cryptographic checksums or trusted signatures before installation.
- Resolve and display the exact package version, source repository, and commit before executing the installation.
- Require explicit user confirmation before downloading or enabling external Skill content.
- Download the dependency without immediately enabling it, then audit its instructions and executable files.
- Use a trusted registry with lockfiles, integrity metadata, and restricted publisher permissions where possible.
- Re-audit and deliberately update the pinned revision when upstream changes are required.
