# Secure Code Review

> Security code review for HTML/CSS/JavaScript in static websites Use when this capability is needed.

- Skill: `tomevault-io/secure-code-review-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/secure-code-review-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/secure-code-review-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/secure-code-review-2

---


# Secure Code Review (Static Site)

## 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

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/hack23) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

