secure-cookie-attributes-samesite-secure-httponly
/secure-cookie-attributes-samesite-secure-httponly
Use this skill when protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes.
- Author
- nextboxis ↗
- Repository
- library-skill-agents ↗
- Licence
- MIT
- Last repository change
- 28.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use this skill when protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes.
Original author description
Use this skill when protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes.
How it works
- When to use
- Core principles
- Step-by-step workflow
- Specifics & examples
- Common mistakes & pitfalls
- Verification checklist
- Related skills
SKILL.md preview
--- name: secure-cookie-attributes-samesite-secure-httponly description: Use this skill when protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes. --- # Secure Cookie Attributes Samesite Secure Httponly ## When to use Use this skill when protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes. Apply this during authorized security assessments, threat hunting, defensive hardening, or incident response investigations. ## Core principles - **Strict Rules of Engagement**: Conduct all activities strictly within authorized scope, legally executed non-disclosure agreements, and defined maintenance windows. - **Minimal Footprint & Traceability**: Ensure all actions generate predictable telemetry, avoid service disruption, and maintain forensic chain of custody. - **Root Cause Remediation**: Pair every identified vulnerability or threat vector with definitive, defense-in-depth architectural remediations. - **Adversarial Empathy**: Understand attacker methodology (MITRE ATT&CK) to engineer robust detections and resilient system boundaries. ## Step-by-step workflow 1. **Define scope and authorization**: Verify written permission, target IP ranges, domain boundaries, and change-control approvals. 2. **Execute initial baseline evaluation**: Conduct non-destructive reconnaissance, telemetry verification, or environment auditing. 3. **Deploy specialized tooling**: Execute targeted commands, queries, or analysis scripts configured for minimal false positives. 4. **Analyze outputs and validate findings**: Cross-reference raw data against known baseline behaviors, signatures, or vulnerability records. 5. **Formulate remediation strategy**: Document exact reproduction steps, technical impact, CVSS score, and defensive patches. 6. **Conduct verification and post-mortem**: Re-test remediated endpoints to verify vulnerability closure and update detection playbooks. ## Specifics & examples ```bash # Verification and execution workflow # Target: secure-cookie-attributes-samesite-secure-httponly # Description: Protect session cookies from interception and CSRF using Secure, HttpOnly, and SameSite attributes. ``` - **Primary Focus Area**: Application & API security operations adhering strictly to standard industry frameworks (NIST, CIS, OWASP, MITRE ATT&CK). ## Common mistakes & pitfalls - Executing uncalibrated scans or heavy scripts without verifying network bandwidth or target host resource limits. - Relying solely on automated tool outputs without manual verification of false positives or edge cases. - Failing to maintain clean logs and audit trails of all executed assessment actions. ## Verification checklist [ ] Written authorization and scope boundaries are confirmed prior to execution. [ ] Analysis commands use scoped parameters avoiding host disruption. [ ] Documented findings contain verified reproduction steps and concrete remediation guidance. ## Related skills - owasp-top-10-web-vulnerabilities-remediation - parameterized-queries-sqli-prevention - content-security-policy-csp-implementation - secure-code-review-static-analysis-sast
Versions
The database has no other skills named secure-cookie-attributes-samesite-secure-httponly.
Database snapshot: 13.11.2026 · package version acdbabd67f3f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100csrf-protection
Implements CSRF protection using synchronizer tokens, double-submit cookies, and SameSite attributes. Use when securing web forms, protecting state-changing endpoints, or implementing defense-in-depth authentication. - 90frontend-security
Use this skill when the user says 'XSS', 'CSP', 'CSRF', 'SRI', 'secure cookies', 'security headers', 'frontend security', 'sanitize input', 'content security policy', 'cross-site scripting', 'cross-site request forgery', or when auditing frontend security. This skill enforces:… - 100frontend-security-audit
Reference and review procedure for frontend security - XSS and unsafe HTML, CSRF, CORS, Content Security Policy, JWT and session token handling, secure cookies (HttpOnly, Secure, SameSite), token lifecycle, authentication vs authorization, role- and permission-based access… - 100csrf-tokens-samesite-protection-mechanisms
Use this skill when defend web endpoints against Cross-Site Request Forgery using anti-CSRF synchronizer tokens. - 90csrf-defense
Block cross-site request forgery with SameSite cookies, per-session anti-CSRF tokens, and strict HTTP method discipline so a forged cross-origin request cannot act as the user. Use when building state-changing endpoints authenticated by cookies. - 100session-management-test-author
Build-an-X for session management tests per OWASP ASVS V3 - cookie attribute coverage (Secure / HttpOnly / SameSite=Strict|Lax), session-fixation defense (regenerate session ID on login), absolute + idle timeout, concurrent-session limits, logout invalidation across devices,…