Security privacy hardening
Skill codezelat/codezela-web-skills/skills/security-privacy-hardening
Use when auditing or fixing authZ, secrets, vulnerable dependencies, security headers, RLS, storage exposure, webhooks, admin access, rate limits, validation, privacy, abuse controls, or production security readiness.From its SKILL.md
npx -y skills add codezelat/codezela-web-skills --skill security-privacy-hardeningAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, 388 tokens by cl100k_base, as published. Nobody here has run it
Security Privacy Hardening
Use this when safety, access control, or privacy can affect production users or business data.
Non-Negotiables
- Never print or commit secrets, tokens, passwords, private keys, or one-time reset links.
- Authentication is not authorization; check object ownership, role, and route-level access.
- Provider webhooks must verify signatures.
- Inputs must be validated server-side and queries parameterized.
- Private storage must not become public by accident.
- Security fixes must be verified by attempting the relevant allowed and blocked paths.
Workflow
- Map assets: public routes, admin routes, APIs/actions, DB tables, storage buckets, webhooks, env vars, and third-party providers.
- Threat-model the requested surface: who can call it, what data changes, what secrets are involved, and what abuse looks like.
- Check authN/authZ, CSRF/session behavior, open redirects, reset tokens, role checks, IDOR, rate limits, and audit logs.
- Check data safety: SQL injection, XSS, file upload validation, RLS/policies, private/public bucket boundaries, and PII minimization.
- Check platform posture: security headers, robots/admin exclusion, dependency audit, env separation, and deploy preview exposure.
- Patch narrowly and verify the exploit path is blocked.
Common Findings
- Public UI hides an action but server action/API lacks permission checks.
- Password reset success is shown although email failed.
- Admin pages are protected but admin APIs are callable directly.
- Storage upload validates extension but not MIME/content size.
.env.exampleis safe but tracked docs mention real credentials.
Checks
- Allowed user/path still works.
- Disallowed user/path is blocked server-side.
- Secret scan of touched files is clean.
- Dependency audit outcome is reported honestly.
- Security headers or provider settings are verified when changed.
What ships with it: 1 file
281 B alongside SKILL.md
agents/
- openai.yaml281 B