Angular Security

Angular / web frontend security-hardening reference mapped to concrete Angular 17+ mitigations: XSS and the DomSanitizer bypassSecurityTrust* escape hatches, innerHTML injection, nonce-based CSP, CSRF via HttpClient's XSRF support, secrets that must never ship in the bundle (environment.ts, source maps), auth-token storage (httpOnly cookie over localStorage), SSR/TransferState leaks, open redirects, target=_blank window.opener, unsafe URL bindings, and vulnerable npm dependencies. Load when hardening or reviewing an Angular web feature, or when the security-auditor sweeps the web stack. Points at dotnet-security for the API side, ionic-security for the Capacitor native shell. Do NOT load for non-security work or the mobile native surface.

envoydev 472fef3 7.7 KB Updated

File contents

envoydev/claude-stack/tree/main/stack/skills/angular-security commit 472fef395e

Frequently asked questions

npx skillmds@latest add envoydev/angular-security