/fullstack-skills:security-hardeningfrom fullstack-skills
Use this skill to make code secure: hardening, secure configuration, and production safety. Triggers on requests to harden or secure something, or about OWASP Top 10 coverage, secrets management, CORS, CSRF, XSS, SQL injection prevention, file upload security, rate limiting, security headers, cookies, or framework security settings. Covers Laravel, Next.js, Node.js, and Svelte. To find vulnerabilities in existing code, or to judge whether something is exploitable, use security-audit instead.
Ships in fullstack-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for security review, vulnerability fixing, hardening, penetration testing assessment, and production safety.
../../../RULES.md when available and apply it as the behavior, safety, validation, and communication baseline.This skill says what secure code looks like and how to get there. To find where existing
code breaks a trust boundary — an audit, an exploitability question, or a review of
AI-generated code — use security-audit, which carries the hunting method, the evidence
gate, and the severity anchors. A finding from there is fixed with the patterns here.
npm audit, composer audit).HttpOnly, Secure, SameSite=Lax minimum.Treat the following as a starting baseline, not a copy-paste policy. Tune CSP, HSTS, frame, referrer, and permissions directives to the app's asset sources, authentication model, embedding requirements, and deployment environment.
Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' https:;
Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
.env.example with dummy values, never real secrets.Per-framework hardening checklists (Laravel, Next.js/Node.js, SvelteKit) are in
references/framework-security.md — load it when hardening one of those stacks. The
OWASP coverage and framework-agnostic rules above remain the source of truth.
# Security Review
## Executive Summary
Overall security posture and critical risk areas.
## Critical Vulnerabilities 🔴
Exploitable now, immediate fix required.
For each: vulnerability, location, proof of concept, impact, fix.
## High Risk Issues 🟠
Significant risk, fix before next release.
## Medium Risk Issues 🟡
Should be addressed in upcoming sprints.
## Hardening Notes 🟢
Best practice improvements. These are not vulnerabilities and carry no severity: a
missing control is a finding only when a reachable boundary failure is demonstrated
(see `security-audit`).
## Security Configuration
Headers, cookies, CORS, rate limiting status.
## Recommended Fixes (Prioritized)
Ordered by risk × effort.
## Verification Steps
How to verify each fix is effective.
## Security Tests to Add
Automated tests to prevent regression.
## Ongoing Security Practices
Recommendations for continuous security.
code-review-refactor instead.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (korwlik23/ai-skills) — no native marketplace selected
npx claudepluginhub p/korwlik23-fullstack-skills81 skills in this plugin
/ab-testingWhen the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics. For page-level conversion optimization, see cro./ad-creativeWhen the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see ads. For landing page copy, see copywriting./adsWhen the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,' 'LinkedIn ads,' 'ad budget,' 'cost per click,' 'ad spend,' or 'should I run ads.' Use this for campaign strategy, audience targeting, bidding, and optimization. For bulk ad creative generation and iteration, see ad-creative. For landing page optimization, see cro./ai-seoWhen the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' 'optimize for Claude/Gemini,' 'llms.txt,' 'OKF,' 'Open Knowledge Format,' 'knowledge bundle,' or 'agent-readable site.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema./analyticsWhen the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For A/B test measurement, see ab-testing./asoWhen the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.