Skip to main content

secure-code-review

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

Informations de source

Dépôt
Hack23/riksdagsmonitor
Dernière activité de la source
16 avril 2026 à 09:31
Langue détectée de SKILL.md
anglais
Étoiles
13
Forks
3

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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
Voir sur GitHub