CC Plugin

PassAudited by ClawScan on May 4, 2026.

Overview

This is a coherent Claude Code plugin-management skill, but users should review and approve its local shell/git/npm commands because they can change plugin files and caches.

Install only if you want Claude to help manage local Claude Code plugin files. Use dry-run before cache cleanup, review marketplace repositories before clone or pull, and run npm build commands only for plugins you trust.

Findings (4)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Running cleanup can remove cached plugin versions or temp cache directories, which may require reinstalling or resyncing plugins if the wrong content is removed.

Why it was flagged

The helper script deletes old cached plugin version directories under the Claude plugin cache. This is disclosed and scoped, but it is still destructive if run without review.

Skill content
CACHE_DIR="${HOME}/.claude/plugins/cache" ... rm -rf "$old_dir"
Recommendation

Run the cleanup script with --dry-run and --verbose first, confirm the target cache path, and keep backups if cached plugin versions matter.

What this means

A marketplace repository can change what plugins, skills, hooks, or scripts are available to Claude Code after update.

Why it was flagged

The marketplace workflow clones and updates external git repositories. That is expected for marketplace management, but the instructions do not add pinning, signature checks, or source verification.

Skill content
git clone <url> ~/.claude/plugins/marketplaces/<repo-name> ... git -C "$dir" pull
Recommendation

Use trusted marketplace URLs, review remotes and diffs before pulling updates, and avoid bulk-updating unknown marketplaces.

What this means

If run inside an untrusted plugin, the npm commands could execute local code as the current user.

Why it was flagged

The troubleshooting guide tells users to install dependencies and run a build inside a cached plugin. This is expected for HUD plugins, but npm install/build steps can execute code from that plugin or its dependencies.

Skill content
cd ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>
npm install && npm run build
Recommendation

Only run npm install/build for trusted plugins, inspect package.json and lockfiles when possible, and avoid building plugins from unknown repositories.

NoteHigh Confidence
ASI08: Cascading Failures
What this means

A bad or unintended marketplace file could persist into later Claude Code sessions until removed from the cache.

Why it was flagged

The troubleshooting flow copies plugin components, including agents, hooks, scripts, skills, and MCP config, into the runtime cache loaded at session start.

Skill content
for item in .claude-plugin .mcp.json agents CLAUDE.md dist hooks scripts skills; do
  [ -e "$MARKET/$item" ] && cp -r "$MARKET/$item" "$CACHE/"
done
Recommendation

Copy only needed files from trusted marketplaces, review plugin components before restarting Claude Code, and remove the cached plugin if unexpected behavior appears.