Skip to content
Back to skills

Security Hardening

ASecurity

Enforces OWASP frontend security, strict input sanitization, secret hygiene, supply-chain integrity, and protected CI boundary rules.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsgitapifrontendsecurity

Works with

  • api

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add rajeevkannav/ProductionLine --skill security-hardening --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Hardening?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Hardening
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rajeevkannav-security-hardening/badge)](https://www.skillsdirectory.com/skills/rajeevkannav-security-hardening)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-hardening
description: Enforces OWASP frontend security, strict input sanitization, secret hygiene, supply-chain integrity, and protected CI boundary rules.
---

# Security & Vulnerability Hardening

1. **Zero Unsafe DOM Execution:** Never use `eval()`, `new Function()`, `dangerouslySetInnerHTML`, `v-html`, or unsanitized `[innerHTML]` bindings.
2. **Safe Persistence & JSON Import:** Validate imported JSON with strict schema/type guards and strip `__proto__`, `constructor`, and `prototype` keys to prevent prototype pollution.
3. **CSP & External Links:** Keep inline scripts out of `index.html`, apply strict Content-Security-Policy meta/headers where applicable, and set `rel="noopener noreferrer"` on external links.
4. **Secret Hygiene:** Never commit `.env` files, API keys, or tokens; read runtime credentials strictly from CI environment variables.
5. **Immutable Verification Boundary:** Builder agents must never alter `.github/workflows/`, `.mogra.yaml` security gates, or weaken test assertions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.