web-security

Review web application security posture across frontend, API, and server boundaries.

Updated May 9, 2020
One-click install
npx skills add https://github.com/Fenntasy/dotfiles --skill web-security-fenntasy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-security
Source: https://github.com/Fenntasy/dotfiles/tree/main/claude/skills/web-security
Command: npx skills add https://github.com/Fenntasy/dotfiles --skill web-security-fenntasy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-cutting browser-facing security guidance for production web applications, covering threats like CSRF, XSS, CSP, cookie security, CORS, session management, authentication, JWT, OAuth 2.1, SSRF, security headers, input validation, and supply chain security.

Core Features & Use Cases

  • Broad threat guidance aligned to OWASP and RFC references for production teams.
  • Provides implementation considerations across frontend, API, and backend layers.
  • Use case: when reviewing a new endpoint's security posture or hardening cookies and CSP configurations.

Quick Start

Review the current security posture of the web app and apply recommended controls for CSRF, XSS, CSP, cookies, and CORS.

Frequently Asked Questions about web-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure cookies and configure CSP to prevent XSS and CSRF attacks?

To secure cookies and configure CSP against XSS and CSRF, review your web app's security posture and apply recommended controls aligned with OWASP cheat sheets across frontend and API boundaries for production hardening.

What is the best way to implement OAuth 2.1 and JWT for web session management?

Implementing OAuth 2.1 and JWT for session management requires applying cross-cutting authentication guidance aligned with RFC references, covering token validation and session handling across server and API boundaries.

How do I configure CORS and security headers for production web API endpoints?

Configuring CORS and security headers for production web API endpoints involves hardening browser-facing boundaries by applying recommended security controls and validating inputs to mitigate cross-origin and server-side risks.

Does this web security guidance cover SSRF and supply chain vulnerabilities?

Yes, this web security guidance covers SSRF and supply chain vulnerabilities alongside input validation, providing broad threat guidance aligned with OWASP references for reviewing endpoint security posture in production applications.

When do I need to review security headers and input validation for my web application?

You need to review security headers and input validation when implementing authentication, evaluating a new endpoint's security posture, or hardening cross-cutting web application boundaries against threats like XSS and SSRF.