skills/team/security-review-federal/SKILL.md
Federal/government security overlay applied ON TOP OF a base language security review (dotnet/python/php/rust/react). Language-agnostic: adds NIST SP 800-53 control mapping, FIPS 140-2/3 crypto compliance (per-language crypto table), CUI handling, EO 14028 supply-chain requirements, and DOE Order 205.1B; emits POA&M-ready findings with FIPS 199 impact levels. Use for federal/DOE/DOD/national-lab systems. Not standalone — run the matching <lang>-security-review FIRST; this overlay maps and extends it.
npx skillsauth add michaelalber/ai-toolkit security-review-federalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"Compliance is the floor, not the ceiling." — NIST Cybersecurity Framework guidance
This is a language-agnostic federal overlay, not a standalone review. It assumes the OWASP Top 10
baseline has already been covered by a base <lang>-security-review (.NET / Python / PHP / Rust / React)
and adds the regulatory, cryptographic, and procedural requirements of U.S. federal systems —
particularly DOE and national-laboratory environments.
Non-negotiables:
<lang>-security-review; OWASP coverage is a prerequisite. A federal review that skips the baseline is incomplete.Shared skeleton: CONFIRM BASE → MAP → ASSESS → REPORT.
CONFIRM BASE Verify a base <lang>-security-review ran and its findings are available. If not, run it first.
MAP Map every base finding to its NIST SP 800-53 control family (references/nist-800-53-mapping.md).
Assign a FIPS 199 impact level (Low/Moderate/High) by data sensitivity.
ASSESS Apply the four federal dimensions below; each gap is a new finding with a control ID.
REPORT Emit the POA&M (references/poam-template.md) + federal executive summary with impact levels.
| Dimension | What to verify | Control family | |---|---|---| | NIST 800-53 mapping | Every finding cites the control it violates; missing controls flagged | AC · IA · SC · AU · SI · CM | | FIPS 140-2/3 crypto | Only FIPS-validated modules/algorithms for security functions (per-language table below); no MD5/SHA1/DES; approved RNG | SC-13 | | CUI handling | CUI not in logs, dev/test data, or error output; encrypted in transit (TLS 1.2+) and at rest; access-controlled (references/cui-handling.md) | MP · SC · AC | | EO 14028 supply chain | SBOM produced; dependencies provenance-checked; signed artifacts | SR · SA | | DOE Order 205.1B | DOE cybersecurity program requirements where applicable (references/doe-cybersecurity.md) | PM |
| Language | Use (FIPS-validated) | Avoid for security functions |
|----------|----------------------|------------------------------|
| .NET | CNG / System.Security.Cryptography in FIPS mode; Aes, SHA256+, RandomNumberGenerator | MD5, SHA1, DES, RNGCryptoServiceProvider deprecated paths |
| Python | cryptography in FIPS mode; hashlib SHA-256+; secrets/os.urandom | hashlib.md5/sha1 for security, random for tokens |
| PHP | openssl_* with AES-GCM, sodium_*, password_hash (Argon2id) | md5, sha1, mcrypt, mt_rand/uniqid |
| Rust | ring / rustls / aws-lc-rs (FIPS module); sha2, getrandom | custom crypto, md5/sha1 crates for security |
| React/TS | Do crypto server-side behind FIPS-validated TLS; crypto.getRandomValues / Web Crypto only for non-secret nonces; tokens in httpOnly cookies | any client-side encryption/hashing as a security control, Math.random for tokens, secrets shipped in the bundle (VITE_/NEXT_PUBLIC_) |
Deeper FIPS module/algorithm detail: fips crypto requirements.
Federal executive templates: federal executive templates.
## Federal Security Review — [System]
**Base review**: [<lang>-security-review, date] · **Categorization (FIPS 199)**: [Low/Moderate/High]
**Frameworks**: NIST SP 800-53 Rev 5 · FIPS 140-2/3 · EO 14028 · DOE 205.1B
### Executive Summary
[Posture vs ATO. The most serious compliance gap in plain language. Recommendation.]
### POA&M (Plan of Action & Milestones)
| ID | Weakness | NIST Control | Severity | Impact | Remediation | Milestone |
|----|----------|--------------|----------|--------|-------------|-----------|
| P-01 | [finding] | SC-13 | High | Moderate | [fix] | [date] |
Full POA&M format: poam template.
<lang>-security-review has been performed, run it first — this overlay maps and extends it; it does not replace OWASP coverage.auth.py:88" is.dotnet / python / php / rust-security-review — The required base review this overlay extends; run one first.supply-chain-audit — SBOM / provenance / CVE depth for the EO 14028 dimension.dotnet-security-review-federal / python-security-review-federal — Superseded by this shared overlay (removed 2026-06-03).development
Interviews the user relentlessly about a plan, decision, or idea — one question at a time, each with a recommended answer. Shared engine behind "grill-me" and "grill-with-docs". Use on any "grill" trigger phrase or to stress-test thinking. Do NOT use to build the plan; it ends at shared understanding, not implementation.
testing
Runs a relentless interview to sharpen a plan or design, capturing the decisions as ADRs and a glossary along the way. Use when the user wants to be grilled AND wants the session to leave durable domain documentation behind. Do NOT use for a throwaway stress-test with no artifacts; use grill-me instead.
tools
OWASP-based security review of Vue/TypeScript front-ends. Detects framework (Vite/Vue CLI/Nuxt), entry points, and data flows; scans the OWASP Top 10 (2025) mapped to Vue client-side risks (raw-HTML XSS via v-html, URL/protocol injection, bundled secrets, insecure token storage, dependency CVEs, missing CSP, open redirects, router guard bypass); emits an exec summary plus graded findings. Use to audit Vue for vulnerabilities. Not for architecture grading (vue-architecture-checklist).
tools
Analyzes legacy Vue codebases and produces actionable modernization plans. Primary migration paths include Options API to Composition API, Vue 2 to Vue 3, Vue CLI to Vite, JavaScript to TypeScript, Vue Test Utils/Karma/Mocha to Vitest + Vue Testing Library, legacy Vuex to Pinia, and removed-in-Vue-3 pattern cleanup (filters, event bus, `$listeners`). Does NOT perform the migration — assesses, quantifies risk, and plans.