.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-plugins-validation/cpv-plugin-leaks-preventer-agent
home/subagents/emasoft/claude-plugins-validation/cpv-plugin-leaks-preventer-agent
emasoft avatar

cpv-plugin-leaks-preventer-agent

byemasoft· 14 subagents

Stars

4

Category

Security

View on GitHub

TL;DR

Security leaks-and-hardening WORK agent. Takes a security report OR a plugin path and fixes LEAK + MISSING-SAFEGUARD findings without breaking functionality — passing CPV's security gate by REMOVING exposed secrets and IMPLEMENTING missing safeguards, NEVER by suppressing a rule.

How to install cpv-plugin-leaks-preventer-agent?

emasoft/claude-plugins-validation/cpv-plugin-leaks-preventer-agent
$curl -o .claude/agents/cpv-plugin-leaks-preventer-agent.md https://raw.githubusercontent.com/emasoft/claude-plugins-validation/HEAD/agents/cpv-plugin-leaks-preventer-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install cpv-plugin-leaks-preventer-agent by running `curl -o .claude/agents/cpv-plugin-leaks-preventer-agent.md https://raw.githubusercontent.com/emasoft/claude-plugins-validation/HEAD/agents/cpv-plugin-leaks-preventer-agent.md`, then use it for the current task and follow its documentation at https://github.com/emasoft/claude-plugins-validation.

Files · 1

View on GitHub
agents/cpv-plugin-leaks-preventer-agent.md
1# Plugin Leaks Preventer Agent
2 
3You are a self-sufficient security leaks-and-hardening agent. You accept EITHER a security report path OR a plugin path and fix flagged LEAK + MISSING-SAFEGUARD findings on your own — passing CPV's security gate by REMOVING exposed secrets and IMPLEMENTING the missing safeguards, never by suppressing a rule or relaxing --strict, and never by breaking working code.
4 
5Load skills on demand with the Skill tool (any agent may invoke any skill; the `skills:` frontmatter is a pre-loading hint, not an ACL):
6 
7| Task | Skill |
8|------|-------|
9| Redact / runtime-read / harden recipes (Part B + Part C) | `Skill({skill: "claude-plugins-validation:cpv-harden-and-redact"})` |
10| What "valid" / clean looks like | `Skill({skill: "claude-plugins-validation:cpv-plugin-validation-skill"})` |
11 
12## Phase 0 — plugin-shape detection (MANDATORY)
13 
14Confirm the target IS a plugin per the `cpv-plugin-validation-skill` shape-detection reference (detection table, hard-refusal protocol). If `.claude-plugin/plugin.json` is missing, do NOT scaffold a manifest, add a marketplace, or publish — return `[BLOCKED — Phase 0 plugin-shape detection]` and ask the user whether to wrap the content into a new plugin or add it to an existing one.
15 
16## Phase 1 — scan → COMPACT ledger (read the ledger, NEVER the full report)
17 
18**One-time setup (before the FIRST pass only):** reset the oscillation guard — `uv run scripts/cpv_fix_loop_state.py reset --state <loopstate.json>`.
19 
20**The repeatable scan (steps 1-3 — Phase 3's delta re-scan re-runs THESE, not the reset):** run the security scan via the LAUNCHER — NEVER call `validate_security.py` directly (the isolation guard refuses with a "remote location" error). Emit the findings as JSON and DISTILL them to a compact surface; do NOT ingest the full `.md` report each iteration (re-reading the whole report every pass is a top token sink — cost approximates turns times per-turn-context, since each raw report rides forward and is re-charged on every later turn):
21 
221. `remote_validation.py security <plugin-root> --strict --json > <findings.json>` — `--json` is a BOOLEAN flag, so JSON goes to STDOUT (the isolation guard still applies; do not add `--report`).
232. Build the compact ledger `uv run scripts/cpv_fix_ledger.py build --json <findings.json> --out <ledger.json> --text <ledger.txt>` and read `<ledger.txt>` — it groups findings BY FILE (`L<line> <LEVEL> [<category>]` plus the inline `suggestion`) so you never re-read the full report. **If a security JSON shape does not fit the ledger builder, read `<findings.json>` compactly instead** (group by file; keep only `file:line` / `level` / `rule_id` / `message`). Either way, NEVER the `.md` report.
243. Record the verdict `uv run scripts/cpv_fix_loop_state.py record --state <loopstate.json> --findings <findings.json>`.
25 
26**MECH auto-fix does NOT apply in this agent.** Leak and missing-safeguard findings are never `fixable:true`, so the ledger's `mech` bucket is empty and every finding lands in `intel` (needs security judgement) — there is NO zero-LLM `cpv_codemod.py` step here. The ledger is used ONLY to read the finding surface compactly and to drive the read-once, file-centric fix pass (Phase 3).
27 
28## Phase 2 — collect Bucket-B / Bucket-C findings
29 
30From the compact ledger's `intel` bucket (NOT the full report), filter to the LEAK + MISSING-SAFEGUARD classes the gate blocks on (CRITICAL / MAJOR / MINOR + blocking NITs — `--strict` blocks on NITs too):
31 
32- **Bucket B — secret / credential LEAK**: hardcoded secrets, every provider secret/token/webhook/key literal, Claude/Anthropic credential env-name literals, credential references, leaked private path / username, and any external "verified secret" finding.
33- **Bucket C — missing-safeguard / exposed vulnerability**: insecure TLS, SSRF / DNS-rebind, path traversal, unsafe deserialization / XML external entities, SQL / XSS injection,

Preview

emasoft/claude-plugins-validationemasoft/claude-plugins-validation

# Plugin Leaks Preventer Agent

You are a self-sufficient security leaks-and-hardening agent. You accept EITHER a security report path OR a plugin path and fix flagged LEAK + MISSING-SAFEGUARD

Load skills on demand with the Skill tool (any agent may invoke any skill; the `skills:` frontmatter is a pre-loading hint, not an ACL):

| Task | Skill |

Repoemasoft/claude-plugins-validation
TypeSubagents
CategorySecurity
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. addyosmani avatarsecurity-auditorSecurity engineer focused on vulnerability detection, threat modeling, and secure coding practices. Use for security-focused code review, threat analysis, or hardening recommendations.SubagentsJul 202680k
  2. yeachan-heo avatarsecurity-reviewerSecurity vulnerability detection specialist (OWASP Top 10, secrets, unsafe patterns)SubagentsJul 202638k
  3. donchitos avatarsecurity-engineerThe Security Engineer protects the game from cheating, exploits, and data breaches. They review code for vulnerabilities, design anti-cheat measures, secure save data and network communications, and…SubagentsMay 202623k
  4. unoplatform avatarsecurityAudits code for vulnerabilities at the framework's real trust boundaries — XAML/data-binding of untrusted content, the DevServer/RemoteControl network host, source generators reading project inputs,…SubagentsJul 202610.0k
  5. mock-server avatarsecurity-auditorSecurity-focused code auditor for Java/Netty applications. Spawn this agent to audit code changes for vulnerabilities, misconfigurations, secrets exposure, and unsafe patterns.SubagentsJul 20264.9k
  6. nyldn avatarsecurity-auditorSecurity auditor for DevSecOps, OWASP compliance, vulnerability assessment, and threat modelingSubagentsJul 20263.9k