Skip to content

Supply-Chain Auditing (MCP, Skills & Plugins)

Modern AI coding agents rely on external MCP servers, Skills (SKILL.md), and Plugins/Extensions. Chakshu passively discovers, catalogs, fingerprints, and statically audits all three layers without executing any untrusted code.


1. MCP Server Discovery & Auditing (internal/mcp)

Chakshu scans the current workspace and standard agent configuration paths for MCP server manifests (mcp_config.json, etc.) and catalogs them in SQLite (mcp_inventory).

What It Checks

  • Trust Classification: Classifies each server as verified, flagged, or untrusted.
  • Exposed Credentials: Counts raw secrets/API keys embedded directly in MCP env blocks (EnvSecretsCount).
  • Package & Command Hygiene: Inspects server launch commands and arguments for unpinned or risky package invocations.

CLI & Web UI

chakshu audit-mcp
Also surfaced in the Web Dashboard under Security Audit (#/audit) and via GET /api/mcp.


2. Local Skill Cataloging & Auditing (internal/skill)

Chakshu discovers local agent skills (SKILL.md and companion files in scripts/, references/, examples/, resources/) and stores them in skill_inventory and skill_versions.

What It Checks

  • Cryptographic Fingerprinting: Computes deterministic SHA-256 content hashes across SKILL.md and companion files so any silent modification is immediately detectable.
  • Prompt Injection Indicators: Scans skill instructions for instruction-override directives, hidden exfiltration instructions, or unsafe shell execution patterns.

CLI & Web UI

chakshu audit-skills
For deeper revision tracking, repeatable benchmarks, and execution scoring of skills, see Skill Intelligence & Benchmarking.


3. Installed Plugin Store & Supply-Chain Auditing (internal/plugin)

Chakshu passively discovers installed plugins and extensions across multiple agent ecosystems: - Antigravity - Claude Code - Gemini CLI - Cursor - Workspace-local plugins

Chakshu Installed Plugin Store

Manifest Formats Parsed

  • plugin.json
  • gemini-extension.json
  • .claude-plugin/plugin.json
  • Declared plugins.json

Bundled Capability Inspection

For each discovered plugin, Chakshu catalogs its bundled components: - Skills: skills/*/SKILL.md - Rules: rules/*.md - MCP Servers: mcp_config.json - Lifecycle Hooks: hooks.json

Static Supply-Chain Security Audit

  • Computes a deterministic SHA-256 fingerprint of the plugin manifest/bundle.
  • Audits lifecycle hooks, rules, and configurations for hazardous shell commands, unredacted API secrets, and prompt-injection vectors.
  • Assigns a trust status (verified, flagged, untrusted) and lists specific Findings.

CLI & Web UI

# Catalog installed plugins and their bundled capability counts
chakshu plugins

# Run detailed static security audit with SHA-256 fingerprints and findings
chakshu audit-plugins

In the Web Dashboard, open Plugins (#/plugins) for an interactive App-Store-style catalog of installed plugins, their capabilities, and audit findings.