Skip to content
Foo GuardDocs
DOCUMENTATION

AG-028

Unpinned Tool Launch Dependency

low

Page text and source link for your AI assistant. Nothing is sent automatically.

When this rule triggers

An npx registry package declaration has no exact version. A local locked dependency may already determine resolution; this scan does not inspect the launcher environment, installed packages, or lockfiles.

How to fix

Pin the reviewed package to an exact version, or verify and document resolution through a controlled lockfile and installation process. Review updates explicitly. Pinning alone does not establish package integrity or safety.

Example change

npx @example/mcp-server@latest → npx @example/mcp-server@1.2.3

Verify the change

Choose an actual reviewed version of your package, update the launcher, and rescan. The example version is illustrative, not a package recommendation.

Related rules

Build confidently. Keep your agents accountable.Get help ↗
Search Foo Guard Docs