Security prompt chain
Security Hardening: Audit to Incident-Ready
Audit first, then lock down secrets, dependencies, data access, auth, input, errors, headers, bots, rate limits, spend abuse and the database. Every step records findings in security.md; remediation clears it and you finish with an incident response plan.
19 steps
- 1Full Security Audit → Save to Filetext
- 2Secret Exposure Audit & API Key Rotationtext
- 3Environment Variable Lockdown & Startup Validationtext
- 4Dependency Audit & Automated Scanningtext
- 5Supabase RLS Policies & Abuse Path Reviewtext
- 6Client-to-Server Data Access & API Route Auth Audittext
- 7Sessions — Expiry and Token Storagetext
- 8Server-Side Validation with Zodtext
- 9Input Sanitization with DOMPurifytext
- 10Safe Error Handling — Messages, Error Boundaries & Debug Modetext
- 11CORS Policy Configurationtext
- 12Cloudflare Turnstile CAPTCHA — Supabase Authtext
- 13Redis-Based Distributed Rate Limitingtext
- 14Multi-Layer Rate Limit Implementation — AI & High-Cost Endpointstext
- 15Adversarial Rate Limit Evasion Reviewtext
- 16Spend & Entitlement Abuse Risk Assessment + Incident Drilltext
- 17Database Hardening & Backupstext
- 18Post-Audit Remediation Workflowtext
- 19Create Incident Response Plantext
The full chain is part of Promptful Pro.
More for Claude Code, Fable 5.2.
Related chains
- Prompt chain Pro
UGC Ad Factory: One Photo to a Talking-Head Product Video
Turn one selfie and one product shot into a scroll-stopping UGC ad. Lock the spokesperson and product, build a studio reference sheet, shoot the showcase, pass a consistency check, script timed beats, then render a natural talking-head endorsement video.
6 steps · Multi-Media
- Prompt chain Pro
Production Observability: Audit to Incident Command
Set up observability across Sentry, PostHog, Supabase and GitHub, then investigate, fix, verify and learn from incidents. Each step hands off through docs/observability/. The last two steps are recurring.
14 steps · DevOps & Infrastructure
- Prompt chain Pro
Launch Compliance: Audit to Published Policies
Audit data, consent, cookies, deletion, pricing, reviews, claims, email, licences and accessibility, fix them, then draft the policies from what the code really does. Every step records findings in compliance.md.
12 steps · Legal & Compliance