Skip to main content

secure-code-review

Security code review for HTML/CSS/JavaScript in static websites

Quellinformationen

Repository
Hack23/riksdagsmonitor
Letzte Quellaktivität
16. April 2026 um 09:31
Erkannte Sprache von SKILL.md
Englisch
Sterne
13
Forks
3

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
secure-code-review
description
Security code review for HTML/CSS/JavaScript in static websites
license
Apache-2.0
# Secure Code Review (Static Site) ## 🔴 AI FIRST Quality Principle > **Apply the AI FIRST principle: never accept first-pass quality. Minimum 2 iterations. Read all output, improve every section. No shortcuts.** ## Purpose Perform security-focused code reviews for static HTML/CSS websites. ## Review Checklist ### HTML Security - ✅ No inline JavaScript (CSP compliance) - ✅ Semantic HTML5 elements - ✅ ARIA labels for accessibility - ✅ Proper `<meta>` tags (CSP, referrer, viewport) - ✅ External links use `rel="noopener noreferrer"` - ✅ Forms use `method="POST"` and HTTPS action ### CSS Security - ✅ No `@import` from external domains - ✅ No `url()` to untrusted sources - ✅ Inline styles minimized - ✅ No user-controlled CSS injection ### Link Security - ✅ All links use HTTPS - ✅ No broken links (linkinator check) - ✅ External links reviewed for legitimacy ### Configuration Security - ✅ No secrets in repository - ✅ `.gitignore` configured correctly - ✅ Workflow permissions minimal - ✅ Branch protection enabled ## Automated Checks ```yaml # PR review workflow - HTMLHint validation - CSSLint validation - Link checking - Secret scanning - Accessibility audit ``` ## References - **SECURITY.md**: Security policy - **CONTRIBUTING.md**: Contribution guidelines
Auf GitHub ansehen