Skip to main content

secure-code-review

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

Source facts

Repository
Hack23/riksdagsmonitor
Last source activity
April 16, 2026 at 09:31
Detected SKILL.md language
English
Stars
13
Forks
3

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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
View on GitHub