Audit and harden NitroCine secrets, environment configuration, authentication, authorization, input validation, booking prices, Stripe webhooks, error responses, and abuse controls. Use for security reviews or changes touching payments, booking, admin APIs, or external credentials.
Scanned 9/12/2026
Install to Claude Code
npx -y skills add HoangDuc1003/Cinema-booking --skill security-hardening --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Security Hardening?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangduc1003-security-hardening)More formats (shields.io, HTML) on the badges page.
---
name: security-hardening
description: Audit and harden NitroCine secrets, environment configuration, authentication, authorization, input validation, booking prices, Stripe webhooks, error responses, and abuse controls. Use for security reviews or changes touching payments, booking, admin APIs, or external credentials.
---
# Harden Security
1. Search tracked files for credential patterns; report exposure without echoing values.
2. Keep secrets server-side and document placeholders only in `.env.example`.
3. Validate and normalize every untrusted route parameter and body field.
4. Derive booking prices and user identity server-side; never trust client totals or user IDs.
5. Verify Stripe signatures against the raw body and make callbacks idempotent.
6. Enforce ownership on pay, cancel, and read operations; enforce admin authorization on mutations.
7. Avoid returning stack traces, provider errors, connection strings, or internal identifiers unnecessarily.
8. Review CORS and origin-derived redirect URLs against an allowlist for production.
9. Add rate limiting or note it as follow-up when endpoints are abuse-sensitive.
10. Verify failure behavior for missing or unavailable Redis because security invariants must not depend solely on it.
Prioritize exploitable findings and keep remediation scoped. Re-run secret scanning and regression tests before handoff.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!