Skip to content

AAK-MARKETPLACE-003: Plugin name typosquats a well-known package

Severity
HIGH
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/marketplace_manifest.py
Auto-fixable
No.
SARIF name
MarketplaceTyposquat

What it detects

A plugin entry uses a name that is one edit distance from a popular upstream (e.g. 'anthropic', 'langchain', 'mcp'). Typosquatting is the single highest-volume supply-chain attack vector in 2026.

How to fix

Rename the plugin or flag it for manual review. Cross-reference against a known-upstream list.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MARKETPLACE-003

Limitations

Compares a plugin name with 13 upstream names (anthropic, claude, claude-code, claude-agent-sdk, mcp, model-context-protocol, langchain, langchain-core, langgraph, openai, openai-agents-sdk, gemini, google-adk) and reports one that is a single insertion, deletion, substitution or adjacent swap away. A name that extends an upstream (claude-code-pro, anthropic-official) or sits two edits away (antrhopik) is not reported. A marketplace.json over 1 MB is not read, and AAK-MARKETPLACE-005 reports it as unreadable.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MARKETPLACE-003.md: the page then shows that text, with the registry reference appended under it.