frontend-security
/frontend-security
Audytuje kod frontendu pod kątem luk bezpieczeństwa i złych praktyk: XSS, CSRF, DOM, Content Security Policy, obsługa danych wejściowych, przesyłanie plików i zależności Node.js i NPM, według wytycznych OWASP.
- Autor
- schalkneethling ↗
- Repozytorium
- create-project-calavera ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 24.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 12
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 24.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Audytuje kod frontendu pod kątem luk bezpieczeństwa i złych praktyk: XSS, CSRF, DOM, Content Security Policy, obsługa danych wejściowych, przesyłanie plików i zależności Node.js i NPM, według wytycznych OWASP.
Oryginalny opis (EN)
Audit frontend codebases for security vulnerabilities and bad practices. Use when performing security reviews, auditing code for XSS/CSRF/DOM vulnerabilities, checking Content Security Policy configurations, validating input handling, reviewing file upload security, or examining Node.js/NPM dependencies. Target frameworks include web platform (vanilla HTML/CSS/JS), React, Astro, Twig templates, Node.js, and Bun. Based on OWASP security guidelines.
Jak działa
- Workflow
- Reference Routing
- Severity
Podgląd SKILL.md
--- name: frontend-security description: Audit frontend codebases for security vulnerabilities and bad practices. Use when performing security reviews, auditing code for XSS/CSRF/DOM vulnerabilities, checking Content Security Policy configurations, validating input handling, reviewing file upload security, or examining Node.js/NPM dependencies. Target frameworks include web platform (vanilla HTML/CSS/JS), React, Astro, Twig templates, Node.js, and Bun. Based on OWASP security guidelines. --- # Frontend Security Audit Skill Audit frontend-adjacent code by mapping trust boundaries, tracing untrusted data into dangerous sinks, and using searches as supporting evidence. Cover browser/frontend concerns first, then route related server, package, authentication, and upload findings to the relevant reference. ## Workflow 1. Map routes, rendering models, APIs, authentication/session boundaries, third-party scripts, uploads, package-manager entry points, and deployment assumptions. 2. List untrusted sources such as URL parameters, forms, storage, `postMessage`, responses, files, cookies, headers, and package metadata. Trace them to DOM, navigation, command, filesystem, database, network, and log sinks. 3. Load `references/audit-workflow.md` for focused evidence searches. Treat matches as leads, not proof; use AST-aware tooling where syntax or multiline structure matters. 4. Review output encoding, sanitization, CSP, CSRF, token storage, input validation, uploads, dependencies, and framework escape hatches. 5. Rate the confirmed finding from exploitability, impact, reachability, required privileges, user interaction, data sensitivity, and compensating controls. 6. Report the affected trust boundary, evidence, exploit scenario, severity rationale, remediation, and authoritative reference using the template in `references/audit-workflow.md`. ## Reference Routing | Finding area | Load | | ---------------------------------------------------------- | ------------------------------------ | | Browser XSS, unsafe URLs, tabnabbing, HTML injection | `references/xss-prevention.md` | | DOM sinks, clobbering, postMessage, client storage | `references/dom-security.md` | | CSP headers, nonces, hashes, Trusted Types | `references/csp-configuration.md` | | Cookie auth, forms, state-changing requests | `references/csrf-protection.md` | | URL, number, date, schema, and path validation | `references/input-validation.md` | | React, Astro, Twig, SSR, hydration, templates | `references/framework-patterns.md` | | Uploads, downloads, archives, quarantine | `references/file-upload-security.md` | | JWT lifecycle, storage, fingerprints, refresh flows | `references/jwt-security.md` | | Node runtime, npm supply chain, scripts, command execution | `references/nodejs-npm-security.md` | Name boundaries precisely, for example “browser-to-API CSRF,” “frontend-triggered upload processing,” or “package-script supply-chain risk.” State scope limits: route deep backend authorization, database, infrastructure, malware, and incident-response work to specialists. ## Severity - **Critical**: likely high-impact exploit such as unauthenticated account takeover, privileged stored XSS, production credential exposure, or reachable remote code execution. - **High**: plausible exploit with meaningful user, data, integrity, or supply-chain impact. - **Medium**: real weakness with limited reach, prerequisites, lower sensitivity, or meaningful compensating controls. - **Low**: hard-to-exploit or defense-in-depth gap, deprecated pattern, or hygiene issue. Always record why the project-specific evidence supports the chosen severity. Consider attacker capability, interaction, privileges, production reachability, persistence, blast radius, and existing controls. Do not assign severity from a search result alone.
Pliki w paczce (12)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- references/audit-workflow.md 3 KB
- references/csp-configuration.md 7 KB
- references/csrf-protection.md 11 KB
- references/dom-security.md 7 KB
- references/file-upload-security.md 19 KB
- references/framework-patterns.md 7 KB
- references/input-validation.md 11 KB
- references/jwt-security.md 11 KB
- references/nodejs-npm-security.md 9 KB
- references/xss-prevention.md 6 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · schalkneethling/create-project-calavera | 100 | MIT |
| reddygopalkrishna/developer-agent-skills | 100 | MIT |
| susorov/agent-skills | 90 | MIT |
| IbrahimCodeur/saas-blind-security | 90 | MIT |
| j4flmao/agent-skills | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki f62644dcd1d6 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90security-audit
Sprawdza bezpieczeństwo kodu i konfiguracji, zależności pod kątem CVE oraz typowe błędy OWASP, takie jak wstrzyknięcia, XSS i CSRF. - 100fec-security-review
Przegląda bezpieczeństwo frontendu pod kątem XSS, CSRF, wycieków danych, tokenów, uploadu plików i zewnętrznych skryptów. - 90security-audit
Przegląda bezpieczeństwo kodu, audytuje zależności pod kątem CVE oraz sprawdza konfigurację, sekrety i wzorce uwierzytelniania. - 100code-review-security
Przegląda pull requesty pod kątem bezpieczeństwa: SQL injection, XSS, CSRF, uwierzytelniania, sekretów i zależności. - 100security
Audytuje kod pod kątem OWASP Top 10, XSS i SQL injection oraz skanuje zależności przez pnpm audit i Snyk przed wdrożeniem. - 100security
Audytuje kod pod kątem OWASP Top 10, XSS i SQL injection oraz skanuje zależności przez pnpm audit i Snyk przed wdrożeniem.