Skip to content

AAK-MARKETPLACE-001: Unsigned marketplace.json manifest

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

What it detects

.claude-plugin/marketplace.json lacks a signature or integrity hash field. An attacker with write access to the marketplace can replace the plugin bundle with no detection.

How to fix

Add a Sigstore signature or subresource-integrity hash to each plugin entry. Verify on install.

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

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

Limitations

Checks only that each entry in the plugins list of a marketplace.json has a key named signature, integrity, sha256, sigstore or publicKey, not that the value is a signature or that it verifies, so "signature": "TODO" passes. Plugins listed as an object instead of a list are not read, and a manifest that is not valid JSON is not checked for a signature at all: AAK-MARKETPLACE-005 reports that it could not be read. 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-001.md: the page then shows that text, with the registry reference appended under it.