Catalog for fixing security-scan LEAK and MISSING-SAFEGUARD findings without loss of functionality — redacting secrets (runtime-reading the needed ones from env / GitHub vars / OS keychain) and implementing missing safeguards: safe config parsing, input sanitization, correct launch/deploy parameters, safe file loading, and a by-code-only prompt-injection pre-scan. Maps each finding to a before/after rewrite plus a re-scan. Use when a security scan reports leaked secrets or missing safeguards to redact or harden rather than suppress. Loaded via cpv-the-skills-menu by the cpv-plugin-leaks-preventer-agent.
$npx -y skills add emasoft/claude-plugins-validation --skill cpv-harden-and-redactInstalls into the current project.
Run `npx skills use "https://github.com/emasoft/claude-plugins-validation" --skill "emasoft/claude-plugins-validation/cpv-harden-and-redact"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/emasoft/claude-plugins-validation" that are relevant to the current task. Run `npx skills add "https://github.com/emasoft/claude-plugins-validation"` and select the relevant skills, then follow their instructions.