AI-first compliance assessment that scans codebases against ISO 27001:2022 Annex A and NIST SP 800-53 Rev 5 with evidence-backed findings tied to specific files and line numbers.
Shinsa is still markdown prompts, reference skills, and small validation scripts. The product focus is now enterprise evidence packs: assessors write artifacts, cold reviewers challenge them, and final reports are structured for Security/GRC review.
- 14 shipped ISO 27001 and 53 shipped NIST SP 800-53 controls
- 10 domain assessor agents plus 3 cold reviewer agents
- Durable run artifacts under
shinsa-output/runs/<assessment_id>/ - Enterprise evidence packs with executive summary, control matrix, evidence index, reviewer notes, limitations, and human sign-off
- Review provenance in
shinsa-state.jsonschema1.4.0 - Maintainer planning and implementation commands for extending Shinsa itself
- Eval harness scripts for trigger checks, evidence anchoring, evidence-pack section checks, inventory drift, and reviewer pass rate
claude mcp add-plugin shinsa-plugin --path /path/to/shinsa-pluginOr clone and add manually:
git clone https://github.com/allsmog/shinsa-plugin.gitThen add it to Claude Code settings:
{
"plugins": ["/path/to/shinsa-plugin"]
}/shinsa:compliance-scan
/shinsa:nist-scan
/shinsa:quick-check A.8.5
/shinsa:nist-quick-check AC-3
Maintainer-only workflows:
/shinsa:control-plan add-a8-28-coverage
/shinsa:control-implement add-a8-28-coverage
Use the sample apps to see the intended product experience before scanning your own repository:
/shinsa:compliance-scan examples/api-service --controls A.8.5,A.8.15
/shinsa:nist-scan examples/platform-app --family CM,RA,SI
Expected evidence packs are checked in under:
examples/api-service/expected-shinsa-output/runs/golden-iso-evidence-pack/synthesis/compliance-report.mdexamples/platform-app/expected-shinsa-output/runs/golden-nist-evidence-pack/synthesis/compliance-report.md
Each evidence pack includes:
- executive summary for GRC readers
- control matrix with status, confidence rationale, evidence quality rationale, manual-evidence checklist, reviewer disposition, and GRC action
- findings tied to file and line evidence
- evidence index
- reviewer notes and unresolved risks
- limitations and human sign-off
| Command | Description |
|---|---|
/shinsa:compliance-scan |
Full ISO 27001 orchestration with parallel assessors, 3 cold reviewers, reconciliation, and final synthesis |
/shinsa:quick-check <control> |
Focused ISO check with one domain assessor and one condensed cold review |
/shinsa:nist-scan |
Full NIST orchestration with parallel assessors, 3 cold reviewers, reconciliation, and final synthesis |
/shinsa:nist-quick-check <control> |
Focused NIST check with one domain assessor and one condensed cold review |
/shinsa:control-plan <slug> |
Maintainer-only plan workflow for new coverage, prompt changes, or evaluator changes |
/shinsa:control-implement <slug> |
Maintainer-only implementation workflow that reads a plan, applies changes, and validates eval artifacts |
Full scans now run as a 6-phase pipeline:
- Scope the target repository
- Write
assessment-plan.mdand applicability artifacts - Dispatch domain assessors in parallel
- Run 3 cold reviewers:
evidence-completeness-reviewercontrol-interpretation-reviewercoverage-reviewer
- Reconcile reviewer-requested changes for up to 3 rounds
- Synthesize the final state and report from persisted artifacts only
Quick checks use the same artifact contract, but with one assessor and one condensed cold review.
| Agent | Domain | Controls |
|---|---|---|
auth-assessor |
Authentication and access control | A.8.2, A.8.3, A.8.5 |
crypto-assessor |
Cryptography and network services | A.8.21, A.8.24 |
data-protection-assessor |
Data protection, secure coding, and information transfer | A.8.10, A.8.11, A.8.12, A.8.28, A.5.14 |
logging-assessor |
Logging, monitoring, and audit testing | A.8.15, A.8.16, A.8.17, A.8.34 |
| Agent | Domain | Coverage |
|---|---|---|
nist-access-control-assessor |
Access control and identification/authentication | AC, IA |
nist-audit-assessor |
Audit and accountability | AU |
nist-sc-assessor |
System and communications protection | SC |
nist-si-assessor |
System integrity and media protection | SI, MP |
nist-cm-assessor |
Configuration management and risk assessment | CM, RA |
nist-sa-assessor |
System acquisition and development | SA |
| Agent | Angle | Purpose |
|---|---|---|
evidence-completeness-reviewer |
Evidence sufficiency | Ensures every finding and status is backed by concrete file-and-line evidence |
control-interpretation-reviewer |
Standards correctness | Checks that statuses and findings match ISO/NIST control intent |
coverage-reviewer |
False-negative risk | Looks for missed files, missed controls, and scoped coverage gaps |
Every assessment run writes to:
shinsa-output/
runs/<assessment_id>/
assessment-plan.md
scope.md
applicability.json
applicability.md
domains/
<agent-name>.json
<agent-name>.md
reviews/
round-<n>/
evidence-completeness.json
control-interpretation.json
coverage-review.json
synthesis/
compliance-report.md
control-matrix.json
evidence-index.json
shinsa-state.json
Compatibility outputs still mirror the latest run:
shinsa-output/shinsa-state.jsonshinsa-output/compliance-report.md
references/assessment.schema.json now requires schema version 1.4.0 with:
run { id, standard, mode, phase, round, resumed_from? }review { status, rounds[] }artifacts { run_root, scope_path, plan_path, domain_results[], review_paths[], report_path }- each control outcome to include
evidence_quality,manual_evidence_needed,manual_evidence_items,confidence_rationale,evidence_quality_rationale,grc_action, andreviewer_disposition
This makes runs resumable and auditable without depending on ephemeral chat history.
Maintainer workflows persist durable artifacts under .plans/:
.plans/<slug>.md.plans/<slug>/research.md.plans/<slug>/implementation-notes.md.plans/<slug>/benchmark.json
Use:
python3 scripts/quick_validate.py
python3 scripts/validate_evals.py evals/benchmark.sample.jsonThe eval harness checks:
- trigger coverage
- schema contract drift
- evidence anchoring
- evidence-pack required sections
- doc/command/agent inventory consistency
- reviewer pass rate
| Path | Purpose |
|---|---|
skills/iso-27001-annex-a/ |
ISO 27001 control reference |
skills/nist-800-53/ |
NIST control reference |
skills/evidence-generation/ |
Auditor-ready evidence narrative guidance |
skills/control-mapping/ |
Cross-standard mapping guidance |
references/orchestration-contract.md |
Shared artifact and reviewer contract |
docs/supported-controls.md |
Automated, hybrid, and manual control coverage |
docs/limitations-and-false-positives.md |
Trust boundaries and review handling |
docs/troubleshooting.md |
Install, scan, resume, and reviewer troubleshooting |
docs/release-checklist.md |
Release readiness checklist |
- Shinsa still assesses code-level compliance only; organizational, people, and physical controls remain manual or hybrid.
- Reviewer loops improve rigor, not certainty. Findings remain advisory until validated in the target environment.
- Full scans are intentionally slower now because rigor and replayability were prioritized over minimal latency.
MIT