T08 · Insecure Dependencies
- Location
SKILL.md:96- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:96-108,SKILL.md:248-258, andreferences/commands.md:9-12
Vulnerability Type: Unpinned npm dependency and mutable supply-chain execution
Risk Level: HighVulnerable Code
From
SKILL.md:96-108:bash # Check if AgentVault is installed agentvault --version # Install globally npm install -g @inflectiv-ai/agentvault # Run directly without global install npx @inflectiv-ai/agentvault initFrom
SKILL.md:248-258:json { "mcpServers": { "agentvault": { "command": "npx", "args": ["@inflectiv-ai/agentvault", "mcp", "start"], "env": { "AGENTVAULT_PASSPHRASE": "${AGENTVAULT_PASSPHRASE}" } } } }From
references/commands.md:9-12:text Install: `npm install -g @inflectiv-ai/agentvault` Version: 1.0.1Technical Analysis
The installation and MCP examples identify the package only by name and do not pin an exact version or integrity digest. An unversioned
npm installornpxinvocation resolves a package release through the npm registry at execution time. Consequently, the code that executes can differ from the code reviewed when this Skill was published.The MCP configuration makes this behavior persistent at the configuration level: each MCP launch can invoke
npxagainst the unpinned package name. The Skill metadata identifies version1.0.2, while the command reference states1.0.1, further demonstrating that the documentation does not establish one immutable reviewed version.Only documentation is included in the audited project. The implementation of
@inflectiv-ai/agentvaultis absent, so its claimed encryption, network isolation, telemetry behavior, secret handling, and sandbox enforcement cannot be verified from this artifact.Attack Path
- A user approves installation, initialization, or MCP configuration.
npmornpxr ...[truncated 1203 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin one reviewed package version everywhere, including installation commands and MCP configuration, for example:
bash npm install -g @inflectiv-ai/agentvault@1.0.2 npx --yes @inflectiv-ai/agentvault@1.0.2 init - Prefer a project-local dependency governed by a committed lockfile instead of global installation.
- Verify the package tarball against a documented cryptographic digest before execution.
- Include or link to an immutable source revision corresponding exactly to the pinned package release.
- Configure MCP to invoke a locally installed, verified executable rather than allowing
npxto resolve a mutable release at startup. - Reconcile the
1.0.1and1.0.2version references and establish one audited version. - Perform dependency and provenance verification for the package and its transitive dependencies before recommending access to credentials.
- Pin one reviewed package version everywhere, including installation commands and MCP configuration, for example:
