@agent-ix/quoin 0.22.5 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -119
- package/.agents/plugins/marketplace.json +0 -14
- package/.claude-plugin/marketplace.json +0 -16
- package/.claude-plugin/plugin.json +0 -8
- package/.codex-plugin/plugin.json +0 -27
- package/.github/plugin/marketplace.json +0 -16
- package/bin/quoin.js +0 -21
- package/default-modules.yaml +0 -107
- package/dist/advisor/advise.d.ts +0 -199
- package/dist/advisor/advise.d.ts.map +0 -1
- package/dist/advisor/index.d.ts +0 -10
- package/dist/advisor/index.d.ts.map +0 -1
- package/dist/advisor/methods.d.ts +0 -60
- package/dist/advisor/methods.d.ts.map +0 -1
- package/dist/advisor-BkgwDKvQ.js +0 -63
- package/dist/assurance/graph.d.ts +0 -87
- package/dist/assurance/graph.d.ts.map +0 -1
- package/dist/assurance/index.d.ts +0 -9
- package/dist/assurance/index.d.ts.map +0 -1
- package/dist/assurance/render.d.ts +0 -3
- package/dist/assurance/render.d.ts.map +0 -1
- package/dist/auditor/audit.d.ts +0 -146
- package/dist/auditor/audit.d.ts.map +0 -1
- package/dist/auditor/combinatorial.d.ts +0 -53
- package/dist/auditor/combinatorial.d.ts.map +0 -1
- package/dist/auditor/index.d.ts +0 -9
- package/dist/auditor/index.d.ts.map +0 -1
- package/dist/auditor-C3bSmPD_.js +0 -340
- package/dist/base-CqKNs2Kd.js +0 -137
- package/dist/base.d.ts +0 -23
- package/dist/base.d.ts.map +0 -1
- package/dist/catalog.d.ts +0 -33
- package/dist/catalog.d.ts.map +0 -1
- package/dist/cli.d.ts +0 -61
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -34
- package/dist/commands/advise.d.ts +0 -16
- package/dist/commands/advise.d.ts.map +0 -1
- package/dist/commands/advise.js +0 -234
- package/dist/commands/assurance.d.ts +0 -14
- package/dist/commands/assurance.d.ts.map +0 -1
- package/dist/commands/assurance.js +0 -204
- package/dist/commands/catalog/index.d.ts +0 -2
- package/dist/commands/catalog/index.d.ts.map +0 -1
- package/dist/commands/catalog/index.js +0 -2
- package/dist/commands/catalog/list.d.ts +0 -11
- package/dist/commands/catalog/list.d.ts.map +0 -1
- package/dist/commands/catalog/list.js +0 -22
- package/dist/commands/catalog/methods.d.ts +0 -12
- package/dist/commands/catalog/methods.d.ts.map +0 -1
- package/dist/commands/catalog/methods.js +0 -43
- package/dist/commands/catalog/show.d.ts +0 -13
- package/dist/commands/catalog/show.d.ts.map +0 -1
- package/dist/commands/catalog/show.js +0 -25
- package/dist/commands/catalog/validate.d.ts +0 -10
- package/dist/commands/catalog/validate.d.ts.map +0 -1
- package/dist/commands/catalog/validate.js +0 -27
- package/dist/commands/completeness.d.ts +0 -16
- package/dist/commands/completeness.d.ts.map +0 -1
- package/dist/commands/completeness.js +0 -49
- package/dist/commands/config/doctor.d.ts +0 -7
- package/dist/commands/config/doctor.d.ts.map +0 -1
- package/dist/commands/config/doctor.js +0 -15
- package/dist/commands/config/edit.d.ts +0 -7
- package/dist/commands/config/edit.d.ts.map +0 -1
- package/dist/commands/config/edit.js +0 -13
- package/dist/commands/config/get.d.ts +0 -11
- package/dist/commands/config/get.d.ts.map +0 -1
- package/dist/commands/config/get.js +0 -20
- package/dist/commands/config/index.d.ts +0 -2
- package/dist/commands/config/index.d.ts.map +0 -1
- package/dist/commands/config/index.js +0 -2
- package/dist/commands/config/set.d.ts +0 -12
- package/dist/commands/config/set.d.ts.map +0 -1
- package/dist/commands/config/set.js +0 -26
- package/dist/commands/evidence/affirm.d.ts +0 -17
- package/dist/commands/evidence/affirm.d.ts.map +0 -1
- package/dist/commands/evidence/affirm.js +0 -65
- package/dist/commands/evidence/audit.d.ts +0 -34
- package/dist/commands/evidence/audit.d.ts.map +0 -1
- package/dist/commands/evidence/audit.js +0 -107
- package/dist/commands/evidence/baseline.d.ts +0 -14
- package/dist/commands/evidence/baseline.d.ts.map +0 -1
- package/dist/commands/evidence/baseline.js +0 -89
- package/dist/commands/evidence/gc.d.ts +0 -13
- package/dist/commands/evidence/gc.d.ts.map +0 -1
- package/dist/commands/evidence/gc.js +0 -35
- package/dist/commands/evidence/index.d.ts +0 -8
- package/dist/commands/evidence/index.d.ts.map +0 -1
- package/dist/commands/evidence/index.js +0 -18
- package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
- package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
- package/dist/commands/evidence/inspect-mocks.js +0 -49
- package/dist/commands/evidence/record.d.ts +0 -22
- package/dist/commands/evidence/record.d.ts.map +0 -1
- package/dist/commands/evidence/record.js +0 -140
- package/dist/commands/matrix.d.ts +0 -14
- package/dist/commands/matrix.d.ts.map +0 -1
- package/dist/commands/matrix.js +0 -15
- package/dist/commands/measurement/index.d.ts +0 -7
- package/dist/commands/measurement/index.d.ts.map +0 -1
- package/dist/commands/measurement/index.js +0 -11
- package/dist/commands/measurement/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -35
- package/dist/commands/module/ensure-defaults.d.ts +0 -8
- package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/module/ensure-defaults.js +0 -17
- package/dist/commands/module/index.d.ts +0 -2
- package/dist/commands/module/index.d.ts.map +0 -1
- package/dist/commands/module/index.js +0 -2
- package/dist/commands/module/install.d.ts +0 -11
- package/dist/commands/module/install.d.ts.map +0 -1
- package/dist/commands/module/install.js +0 -22
- package/dist/commands/module/list.d.ts +0 -8
- package/dist/commands/module/list.d.ts.map +0 -1
- package/dist/commands/module/list.js +0 -13
- package/dist/commands/module/remove.d.ts +0 -10
- package/dist/commands/module/remove.d.ts.map +0 -1
- package/dist/commands/module/remove.js +0 -16
- package/dist/commands/plugin/deprecation.d.ts +0 -10
- package/dist/commands/plugin/deprecation.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
- package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.js +0 -12
- package/dist/commands/plugin/index.d.ts +0 -2
- package/dist/commands/plugin/index.d.ts.map +0 -1
- package/dist/commands/plugin/index.js +0 -2
- package/dist/commands/plugin/install.d.ts +0 -8
- package/dist/commands/plugin/install.d.ts.map +0 -1
- package/dist/commands/plugin/install.js +0 -12
- package/dist/commands/plugin/list.d.ts +0 -8
- package/dist/commands/plugin/list.d.ts.map +0 -1
- package/dist/commands/plugin/list.js +0 -12
- package/dist/commands/plugin/remove.d.ts +0 -8
- package/dist/commands/plugin/remove.d.ts.map +0 -1
- package/dist/commands/plugin/remove.js +0 -12
- package/dist/commands/report.d.ts +0 -15
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -70
- package/dist/commands/review.d.ts +0 -14
- package/dist/commands/review.d.ts.map +0 -1
- package/dist/commands/review.js +0 -15
- package/dist/commands/to-plan.d.ts +0 -14
- package/dist/commands/to-plan.d.ts.map +0 -1
- package/dist/commands/to-plan.js +0 -15
- package/dist/commands/update.d.ts +0 -13
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -34
- package/dist/commands/validate.d.ts +0 -13
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -123
- package/dist/commands/write.d.ts +0 -16
- package/dist/commands/write.d.ts.map +0 -1
- package/dist/commands/write.js +0 -33
- package/dist/completeness/assess.d.ts +0 -82
- package/dist/completeness/assess.d.ts.map +0 -1
- package/dist/completeness/bundle.d.ts +0 -52
- package/dist/completeness/bundle.d.ts.map +0 -1
- package/dist/completeness/declarations.d.ts +0 -46
- package/dist/completeness/declarations.d.ts.map +0 -1
- package/dist/completeness/index.d.ts +0 -11
- package/dist/completeness/index.d.ts.map +0 -1
- package/dist/completeness/run.d.ts +0 -35
- package/dist/completeness/run.d.ts.map +0 -1
- package/dist/completeness-DamWradt.js +0 -228
- package/dist/config-schema-Dp-vlxuR.js +0 -13
- package/dist/config-schema.d.ts +0 -52
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/deprecation-fRxUHoxv.js +0 -4
- package/dist/evidence/adapters/agent-eval.d.ts +0 -26
- package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
- package/dist/evidence/adapters/audit-script.d.ts +0 -25
- package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
- package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
- package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
- package/dist/evidence/adapters/junit.d.ts +0 -17
- package/dist/evidence/adapters/junit.d.ts.map +0 -1
- package/dist/evidence/adapters/registry.d.ts +0 -63
- package/dist/evidence/adapters/registry.d.ts.map +0 -1
- package/dist/evidence/adapters/sarif.d.ts +0 -35
- package/dist/evidence/adapters/sarif.d.ts.map +0 -1
- package/dist/evidence/adapters/sbom.d.ts +0 -35
- package/dist/evidence/adapters/sbom.d.ts.map +0 -1
- package/dist/evidence/adapters/types.d.ts +0 -55
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -24
- package/dist/evidence/index.d.ts.map +0 -1
- package/dist/evidence/mock-inspection.d.ts +0 -16
- package/dist/evidence/mock-inspection.d.ts.map +0 -1
- package/dist/evidence/record.d.ts +0 -58
- package/dist/evidence/record.d.ts.map +0 -1
- package/dist/evidence/store.d.ts +0 -215
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/types.d.ts +0 -281
- package/dist/evidence/types.d.ts.map +0 -1
- package/dist/evidence-DD0CHzJ0.js +0 -533
- package/dist/flow-command-BfFNY0Rv.js +0 -88
- package/dist/flow-command.d.ts +0 -25
- package/dist/flow-command.d.ts.map +0 -1
- package/dist/flows.d.ts +0 -7
- package/dist/flows.d.ts.map +0 -1
- package/dist/hooks/command-not-found.d.ts +0 -23
- package/dist/hooks/command-not-found.d.ts.map +0 -1
- package/dist/hooks/command-not-found.js +0 -8
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -10
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -9
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -4
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -48
- package/dist/measurement/portfolio.d.ts.map +0 -1
- package/dist/measurement/profiles.d.ts +0 -9
- package/dist/measurement/profiles.d.ts.map +0 -1
- package/dist/measurement/report.d.ts +0 -44
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/store.d.ts +0 -7
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -83
- package/dist/measurement/types.d.ts.map +0 -1
- package/dist/measurement/validate.d.ts +0 -9
- package/dist/measurement/validate.d.ts.map +0 -1
- package/dist/measurement-CzB74Q07.js +0 -595
- package/dist/modules-ez9httBA.js +0 -23
- package/dist/modules.d.ts +0 -10
- package/dist/modules.d.ts.map +0 -1
- package/dist/org.d.ts +0 -61
- package/dist/org.d.ts.map +0 -1
- package/dist/plugins-C-ta0llj.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -87
- package/dist/quire/contract.d.ts.map +0 -1
- package/dist/quire/exec.d.ts +0 -66
- package/dist/quire/exec.d.ts.map +0 -1
- package/dist/quire/index.d.ts +0 -12
- package/dist/quire/index.d.ts.map +0 -1
- package/dist/quire/types.d.ts +0 -415
- package/dist/quire/types.d.ts.map +0 -1
- package/dist/quire/validate.d.ts +0 -34
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-D8tCpgyA.js +0 -4961
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/store--2sAv12X.js +0 -219
- package/dist/validators/gates.d.ts +0 -18
- package/dist/validators/gates.d.ts.map +0 -1
- package/dist/validators/index.d.ts +0 -2
- package/dist/validators/index.d.ts.map +0 -1
- package/dist/version-Dg0e6CZU.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-DElwS9xc.js +0 -157
- package/dist/write.d.ts +0 -28
- package/dist/write.d.ts.map +0 -1
- package/skills/assurance-status-report/SKILL.md +0 -135
- package/skills/assurance-status-report/references/report-contract.md +0 -110
- package/skills/gap-analysis/SKILL.md +0 -111
- package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
- package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
- package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
- package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -63
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -107
- package/skills/spec-app-review/SKILL.md +0 -51
- package/skills/spec-app-review/references/checklist.md +0 -197
- package/skills/spec-architecture-evaluation/SKILL.md +0 -30
- package/skills/spec-correctness/SKILL.md +0 -96
- package/skills/spec-correctness/assets/strategy-table.md +0 -101
- package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
- package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
- package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
- package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
- package/skills/spec-correctness/references/step-1-census.md +0 -53
- package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
- package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
- package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
- package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
- package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
- package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
- package/skills/spec-dependency-analysis/SKILL.md +0 -90
- package/skills/spec-ears-analysis/SKILL.md +0 -102
- package/skills/spec-evidence-analysis/SKILL.md +0 -156
- package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
- package/skills/spec-fuzz/SKILL.md +0 -132
- package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
- package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
- package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
- package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
- package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
- package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
- package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
- package/skills/spec-fuzz/references/step-4-report.md +0 -56
- package/skills/spec-ideation/SKILL.md +0 -46
- package/skills/spec-integrity-analysis/SKILL.md +0 -62
- package/skills/spec-matrix/SKILL.md +0 -186
- package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
- package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
- package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
- package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
- package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
- package/skills/spec-object-review/SKILL.md +0 -125
- package/skills/spec-object-review/references/object-type-guide.md +0 -118
- package/skills/spec-review/SKILL.md +0 -92
- package/skills/spec-review/references/checklist.md +0 -50
- package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
- package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
- package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
- package/skills/spec-security-analysis/SKILL.md +0 -84
- package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
- package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
- package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
- package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
- package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
- package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
- package/skills/spec-security-analysis/references/soc2/index.md +0 -46
- package/skills/spec-security-analysis/references/standards-index.md +0 -46
- package/skills/spec-to-plan/SKILL.md +0 -88
- package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
- package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
- package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
- package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
- package/skills/specify/SKILL.md +0 -154
- package/skills/specify/assets/app-spec-template.md +0 -143
- package/skills/specify/assets/spec-template.md +0 -299
- package/skills/specify/references/integration-tests.md +0 -72
- package/skills/specify/references/us-to-fr.md +0 -40
- package/skills/specify/references/writing-good-requirements.md +0 -61
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# A.8 - Technological Controls
|
|
2
|
-
|
|
3
|
-
**Theme**: Technological
|
|
4
|
-
**Controls**: 34
|
|
5
|
-
**Focus**: Technical security controls for systems and development
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**A.8 is the PRIMARY theme for software components.** Most software FRs and NFRs map here.
|
|
10
|
-
|
|
11
|
-
## Controls
|
|
12
|
-
|
|
13
|
-
| Control | Name | Description | Software Relevance |
|
|
14
|
-
|---------|------|-------------|-------------------|
|
|
15
|
-
| A.8.1 | User Endpoint Devices | Endpoint security | MEDIUM - Client SDKs |
|
|
16
|
-
| A.8.2 | Privileged Access Rights | Privileged access management | **HIGH** - Admin roles |
|
|
17
|
-
| A.8.3 | Information Access Restriction | Access restriction | **HIGH** - Authorization |
|
|
18
|
-
| A.8.4 | Access to Source Code | Source code access | MEDIUM - SCM policy |
|
|
19
|
-
| A.8.5 | Secure Authentication | Authentication mechanisms | **HIGH** - Auth |
|
|
20
|
-
| A.8.6 | Capacity Management | Capacity monitoring | MEDIUM - Scaling |
|
|
21
|
-
| A.8.7 | Protection Against Malware | Malware protection | MEDIUM - Input validation |
|
|
22
|
-
| A.8.8 | Management of Technical Vulnerabilities | Vulnerability management | **HIGH** - Patching, deps |
|
|
23
|
-
| A.8.9 | Configuration Management | Secure configuration | **HIGH** - Config mgmt |
|
|
24
|
-
| A.8.10 | Information Deletion | Secure deletion | **HIGH** - Data lifecycle |
|
|
25
|
-
| A.8.11 | Data Masking | Data masking | **HIGH** - PII masking |
|
|
26
|
-
| A.8.12 | Data Leakage Prevention | DLP | **HIGH** - Output filtering |
|
|
27
|
-
| A.8.13 | Information Backup | Backup procedures | MEDIUM - Recovery |
|
|
28
|
-
| A.8.14 | Redundancy of Information Processing Facilities | Redundancy | MEDIUM - HA |
|
|
29
|
-
| A.8.15 | Logging | Security logging | **HIGH** - Audit logs |
|
|
30
|
-
| A.8.16 | Monitoring Activities | Security monitoring | **HIGH** - Observability |
|
|
31
|
-
| A.8.17 | Clock Synchronization | Time sync | MEDIUM - NTP |
|
|
32
|
-
| A.8.18 | Use of Privileged Utility Programs | Privileged utilities | LOW - Admin tools |
|
|
33
|
-
| A.8.19 | Installation of Software on Operational Systems | Software installation | LOW - Deployment |
|
|
34
|
-
| A.8.20 | Networks Security | Network security | MEDIUM - Network config |
|
|
35
|
-
| A.8.21 | Security of Network Services | Network service security | MEDIUM - Service mesh |
|
|
36
|
-
| A.8.22 | Segregation of Networks | Network segregation | MEDIUM - Network policy |
|
|
37
|
-
| A.8.23 | Web Filtering | Web access control | LOW - Proxy |
|
|
38
|
-
| A.8.24 | Use of Cryptography | Cryptographic controls | **HIGH** - Encryption |
|
|
39
|
-
| A.8.25 | Secure Development Life Cycle | Secure SDLC | **HIGH** - Dev process |
|
|
40
|
-
| A.8.26 | Application Security Requirements | Security requirements | **HIGH** - FR/NFR |
|
|
41
|
-
| A.8.27 | Secure System Architecture and Engineering Principles | Secure architecture | **HIGH** - Design |
|
|
42
|
-
| A.8.28 | Secure Coding | Secure coding practices | **HIGH** - Code quality |
|
|
43
|
-
| A.8.29 | Security Testing in Development and Acceptance | Security testing | **HIGH** - Testing |
|
|
44
|
-
| A.8.30 | Outsourced Development | Vendor development | MEDIUM - Third-party |
|
|
45
|
-
| A.8.31 | Separation of Development, Test and Production Environments | Environment separation | **HIGH** - Env isolation |
|
|
46
|
-
| A.8.32 | Change Management | Change control | **HIGH** - Version control |
|
|
47
|
-
| A.8.33 | Test Information | Test data protection | MEDIUM - Test data |
|
|
48
|
-
| A.8.34 | Protection of Information Systems During Audit Testing | Audit protection | LOW - Audit |
|
|
49
|
-
|
|
50
|
-
## Mapping Guidance
|
|
51
|
-
|
|
52
|
-
### Access Control Cluster (A.8.2-5)
|
|
53
|
-
- Map to: FR for authentication, authorization, role management
|
|
54
|
-
- Example: FR-001 (Permission Check) → A.8.3, A.8.5
|
|
55
|
-
|
|
56
|
-
### Data Protection Cluster (A.8.10-12, A.8.24)
|
|
57
|
-
- Map to: FR/NFR for data handling, encryption, masking
|
|
58
|
-
- Example: NFR-002 (Encryption) → A.8.24
|
|
59
|
-
|
|
60
|
-
### Logging/Monitoring Cluster (A.8.15-16)
|
|
61
|
-
- Map to: FR for audit logging, NFR for observability
|
|
62
|
-
- Example: FR-013 (Audit Logging) → A.8.15, A.8.16
|
|
63
|
-
|
|
64
|
-
### Development Cluster (A.8.25-32)
|
|
65
|
-
- Map to: NFR for SDLC, testing, deployment
|
|
66
|
-
- Example: NFR-001 (Verification) → A.8.29
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# ISO/IEC 27001:2022 Annex A Controls
|
|
2
|
-
|
|
3
|
-
**Version**: 2022
|
|
4
|
-
**Scope**: Information Security Management System
|
|
5
|
-
**Region**: Global (international standard)
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
Apply ISO 27001 when your component:
|
|
10
|
-
- Is part of an organization seeking/maintaining ISO 27001 certification
|
|
11
|
-
- Serves enterprise customers requiring certified security
|
|
12
|
-
- Operates internationally
|
|
13
|
-
- Needs a comprehensive, auditable security framework
|
|
14
|
-
|
|
15
|
-
## Theme Selection Guide
|
|
16
|
-
|
|
17
|
-
**Use this to decide which theme to investigate:**
|
|
18
|
-
|
|
19
|
-
| If your component... | Read Theme |
|
|
20
|
-
|---------------------|------------|
|
|
21
|
-
| Implements authentication | [A8-TechnologicalControls](A8-TechnologicalControls.md) |
|
|
22
|
-
| Implements authorization/RBAC | [A8-TechnologicalControls](A8-TechnologicalControls.md) |
|
|
23
|
-
| Produces audit logs | [A8-TechnologicalControls](A8-TechnologicalControls.md) |
|
|
24
|
-
| Uses encryption | [A8-TechnologicalControls](A8-TechnologicalControls.md) |
|
|
25
|
-
| Has development practices | [A8-TechnologicalControls](A8-TechnologicalControls.md) |
|
|
26
|
-
| Uses third-party dependencies | [A5-OrganizationalControls](A5-OrganizationalControls.md) |
|
|
27
|
-
| Handles classified data | [A5-OrganizationalControls](A5-OrganizationalControls.md) |
|
|
28
|
-
|
|
29
|
-
## Control Themes
|
|
30
|
-
|
|
31
|
-
| Theme | Controls | Primary For | Skip If |
|
|
32
|
-
|-------|----------|-------------|---------|
|
|
33
|
-
| [A5-OrganizationalControls](A5-OrganizationalControls.md) | 37 | Policies, suppliers, data classification | Pure technical component |
|
|
34
|
-
| [A6-PeopleControls](A6-PeopleControls.md) | 8 | Personnel security | Assign to HR |
|
|
35
|
-
| [A7-PhysicalControls](A7-PhysicalControls.md) | 14 | Physical security | Assign to Infrastructure |
|
|
36
|
-
| [A8-TechnologicalControls](A8-TechnologicalControls.md) | 34 | **ALL software** | Never skip |
|
|
37
|
-
|
|
38
|
-
## Quick Reference
|
|
39
|
-
|
|
40
|
-
**Most software components**: Focus on A8 (Technological)
|
|
41
|
-
**Supply chain concerns**: Also check A5.19-A5.23
|
|
42
|
-
**Physical security (A7)**: Assign to Infrastructure
|
|
43
|
-
**Personnel security (A6)**: Assign to HR
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# AC - Access Control
|
|
2
|
-
|
|
3
|
-
**Family**: Access Control
|
|
4
|
-
**Controls**: 25
|
|
5
|
-
**Focus**: Authorization and access enforcement
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**AC is PRIMARY for authorization components.** Apply when your component:
|
|
10
|
-
- Controls access to resources
|
|
11
|
-
- Enforces permissions
|
|
12
|
-
- Manages user sessions
|
|
13
|
-
- Implements RBAC/ABAC
|
|
14
|
-
|
|
15
|
-
## Controls
|
|
16
|
-
|
|
17
|
-
| Control | Name | Description | Software Relevance |
|
|
18
|
-
|---------|------|-------------|-------------------|
|
|
19
|
-
| AC-1 | Policy and Procedures | Document access policies | LOW - Docs |
|
|
20
|
-
| AC-2 | Account Management | Manage system accounts | **HIGH** - User mgmt |
|
|
21
|
-
| AC-3 | Access Enforcement | Enforce authorizations | **HIGH** - Authz core |
|
|
22
|
-
| AC-4 | Information Flow Enforcement | Control info flow | **HIGH** - Data flow |
|
|
23
|
-
| AC-5 | Separation of Duties | Enforce duty separation | **HIGH** - RBAC |
|
|
24
|
-
| AC-6 | Least Privilege | Employ least privilege | **HIGH** - Min access |
|
|
25
|
-
| AC-7 | Unsuccessful Logon Attempts | Limit failed attempts | **HIGH** - Brute force |
|
|
26
|
-
| AC-8 | System Use Notification | Display use warning | MEDIUM - UI |
|
|
27
|
-
| AC-9 | Previous Logon Notification | Notify of last logon | LOW - UX |
|
|
28
|
-
| AC-10 | Concurrent Session Control | Limit concurrent sessions | MEDIUM - Sessions |
|
|
29
|
-
| AC-11 | Device Lock | Lock after inactivity | MEDIUM - Client |
|
|
30
|
-
| AC-12 | Session Termination | Auto-terminate sessions | **HIGH** - Sessions |
|
|
31
|
-
| AC-14 | Permitted Actions Without Identification | Allow anonymous actions | MEDIUM - Public API |
|
|
32
|
-
| AC-16 | Security and Privacy Attributes | Support attributes | **HIGH** - ABAC |
|
|
33
|
-
| AC-17 | Remote Access | Control remote access | MEDIUM - Network |
|
|
34
|
-
| AC-18 | Wireless Access | Control wireless | LOW - Infrastructure |
|
|
35
|
-
| AC-19 | Access Control for Mobile Devices | Mobile access | MEDIUM - Mobile |
|
|
36
|
-
| AC-20 | Use of External Systems | External system access | MEDIUM - Integration |
|
|
37
|
-
| AC-21 | Information Sharing | Enable authorized sharing | **HIGH** - Data sharing |
|
|
38
|
-
| AC-22 | Publicly Accessible Content | Control public content | MEDIUM - Public API |
|
|
39
|
-
| AC-23 | Data Mining Protection | Prevent data mining | MEDIUM - Query limits |
|
|
40
|
-
| AC-24 | Access Control Decisions | Establish decision points | **HIGH** - PEP/PDP |
|
|
41
|
-
| AC-25 | Reference Monitor | Implement reference monitor | **HIGH** - Core authz |
|
|
42
|
-
|
|
43
|
-
## Mapping Guidance
|
|
44
|
-
|
|
45
|
-
### Core Authorization (AC-2, AC-3, AC-5, AC-6)
|
|
46
|
-
```
|
|
47
|
-
FR-001 (Permission Check) → AC-3, AC-25
|
|
48
|
-
FR-002 (Enforcement) → AC-3
|
|
49
|
-
FR-008 (RBAC) → AC-5, AC-6
|
|
50
|
-
FR-009 (ABAC) → AC-16
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Session Management (AC-7, AC-10, AC-12)
|
|
54
|
-
```
|
|
55
|
-
FR-XXX (Session) → AC-10, AC-12
|
|
56
|
-
NFR-XXX (Lockout) → AC-7
|
|
57
|
-
```
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# AU - Audit and Accountability
|
|
2
|
-
|
|
3
|
-
**Family**: Audit and Accountability
|
|
4
|
-
**Controls**: 16
|
|
5
|
-
**Focus**: Logging, audit trails, accountability
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**AU is PRIMARY for audit logging.** Apply when your component:
|
|
10
|
-
- Generates security-relevant events
|
|
11
|
-
- Makes access control decisions
|
|
12
|
-
- Processes sensitive data
|
|
13
|
-
- Runs in production
|
|
14
|
-
|
|
15
|
-
## Controls
|
|
16
|
-
|
|
17
|
-
| Control | Name | Description | Software Relevance |
|
|
18
|
-
|---------|------|-------------|-------------------|
|
|
19
|
-
| AU-1 | Policy and Procedures | Document audit policies | LOW - Docs |
|
|
20
|
-
| AU-2 | Audit Events | Define auditable events | **HIGH** - Event list |
|
|
21
|
-
| AU-3 | Content of Audit Records | Required log content | **HIGH** - Log format |
|
|
22
|
-
| AU-4 | Audit Storage Capacity | Storage allocation | MEDIUM - Retention |
|
|
23
|
-
| AU-5 | Response to Audit Processing Failures | Handle failures | **HIGH** - Fail-safe |
|
|
24
|
-
| AU-6 | Audit Review, Analysis, and Reporting | Review/analyze logs | MEDIUM - Analysis |
|
|
25
|
-
| AU-7 | Audit Reduction and Report Generation | Log aggregation | MEDIUM - Tooling |
|
|
26
|
-
| AU-8 | Time Stamps | Reliable timestamps | **HIGH** - NTP |
|
|
27
|
-
| AU-9 | Protection of Audit Information | Protect logs | **HIGH** - Integrity |
|
|
28
|
-
| AU-10 | Non-repudiation | Prove actions occurred | **HIGH** - Evidence |
|
|
29
|
-
| AU-11 | Audit Record Retention | Retain logs | **HIGH** - Retention |
|
|
30
|
-
| AU-12 | Audit Generation | Generate audit records | **HIGH** - Logging |
|
|
31
|
-
| AU-13 | Monitoring for Information Disclosure | Monitor disclosure | MEDIUM - DLP |
|
|
32
|
-
| AU-14 | Session Audit | Audit sessions | MEDIUM - Session logs |
|
|
33
|
-
| AU-16 | Cross-Organizational Auditing | Cross-org audit | LOW - Federation |
|
|
34
|
-
|
|
35
|
-
## Mapping Guidance
|
|
36
|
-
|
|
37
|
-
### Core Audit (AU-2, AU-3, AU-12)
|
|
38
|
-
```
|
|
39
|
-
FR-013 (Audit Logging) → AU-2, AU-3, AU-12
|
|
40
|
-
FR-013-AC-1 (Log Content) → AU-3
|
|
41
|
-
FR-013-AC-2 (Log Generation) → AU-12
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Log Protection (AU-5, AU-9, AU-11)
|
|
45
|
-
```
|
|
46
|
-
NFR-XXX (Log Integrity) → AU-9
|
|
47
|
-
NFR-XXX (Retention) → AU-11
|
|
48
|
-
NFR-XXX (Fail-Safe Logging) → AU-5
|
|
49
|
-
```
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# CM - Configuration Management
|
|
2
|
-
|
|
3
|
-
**Family**: Configuration Management
|
|
4
|
-
**Controls**: 14
|
|
5
|
-
**Focus**: Configuration control and baseline management
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**CM is PRIMARY for configuration.**
|
|
10
|
-
|
|
11
|
-
## Controls
|
|
12
|
-
|
|
13
|
-
| Control | Name | Description | Software Relevance |
|
|
14
|
-
|---------|------|-------------|-------------------|
|
|
15
|
-
| CM-1 | Policy and Procedures | Document CM policies | LOW |
|
|
16
|
-
| CM-2 | Baseline Configuration | Establish baselines | **HIGH** |
|
|
17
|
-
| CM-3 | Configuration Change Control | Control changes | **HIGH** |
|
|
18
|
-
| CM-4 | Impact Analysis | Analyze impact | **HIGH** |
|
|
19
|
-
| CM-5 | Access Restrictions for Change | Restrict change access | **HIGH** |
|
|
20
|
-
| CM-6 | Configuration Settings | Security settings | **HIGH** |
|
|
21
|
-
| CM-7 | Least Functionality | Minimal functionality | **HIGH** |
|
|
22
|
-
| CM-8 | System Component Inventory | Component inventory | **HIGH** |
|
|
23
|
-
| CM-9 | Configuration Management Plan | CM plan | MEDIUM |
|
|
24
|
-
| CM-10 | Software Usage Restrictions | License compliance | MEDIUM |
|
|
25
|
-
| CM-11 | User-Installed Software | Control user software | LOW |
|
|
26
|
-
| CM-12 | Information System Component Location | Track locations | MEDIUM |
|
|
27
|
-
| CM-14 | Signed Components | Verify signatures | **HIGH** |
|
|
28
|
-
|
|
29
|
-
## Mapping Guidance
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
NFR-XXX (Config Management) → CM-2, CM-3, CM-6
|
|
33
|
-
NFR-XXX (Change Control) → CM-3, CM-4, CM-5
|
|
34
|
-
NFR-XXX (SBOM) → CM-8
|
|
35
|
-
NFR-XXX (Signed Artifacts) → CM-14
|
|
36
|
-
```
|
package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
# IA - Identification and Authentication
|
|
2
|
-
|
|
3
|
-
**Family**: Identification and Authentication
|
|
4
|
-
**Controls**: 12
|
|
5
|
-
**Focus**: Identity management and authentication
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**IA is PRIMARY for auth components.** Apply when your component:
|
|
10
|
-
- Authenticates users or services
|
|
11
|
-
- Manages identities
|
|
12
|
-
- Issues or validates credentials
|
|
13
|
-
|
|
14
|
-
## Controls
|
|
15
|
-
|
|
16
|
-
| Control | Name | Description | Software Relevance |
|
|
17
|
-
|---------|------|-------------|-------------------|
|
|
18
|
-
| IA-1 | Policy and Procedures | Document IA policies | LOW - Docs |
|
|
19
|
-
| IA-2 | Identification and Authentication (Org Users) | Authenticate users | **HIGH** - Auth |
|
|
20
|
-
| IA-3 | Device Identification and Authentication | Authenticate devices | MEDIUM - Device auth |
|
|
21
|
-
| IA-4 | Identifier Management | Manage identifiers | **HIGH** - Identity |
|
|
22
|
-
| IA-5 | Authenticator Management | Manage authenticators | **HIGH** - Credentials |
|
|
23
|
-
| IA-6 | Authentication Feedback | Obscure feedback | **HIGH** - UX security |
|
|
24
|
-
| IA-7 | Cryptographic Module Authentication | Crypto auth | MEDIUM - HSM |
|
|
25
|
-
| IA-8 | Identification and Authentication (Non-Org Users) | External users | **HIGH** - External auth |
|
|
26
|
-
| IA-9 | Service Identification and Authentication | Service-to-service | **HIGH** - mTLS |
|
|
27
|
-
| IA-10 | Adaptive Authentication | Risk-based auth | MEDIUM - MFA |
|
|
28
|
-
| IA-11 | Re-authentication | Force re-auth | **HIGH** - Sensitive ops |
|
|
29
|
-
| IA-12 | Identity Proofing | Verify identity | MEDIUM - Onboarding |
|
|
30
|
-
|
|
31
|
-
## Mapping Guidance
|
|
32
|
-
|
|
33
|
-
### Core Auth (IA-2, IA-4, IA-5, IA-8)
|
|
34
|
-
```
|
|
35
|
-
FR-XXX (Authentication) → IA-2, IA-8
|
|
36
|
-
FR-XXX (Identity Management) → IA-4
|
|
37
|
-
FR-XXX (Credential Management) → IA-5
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### Service Auth (IA-9)
|
|
41
|
-
```
|
|
42
|
-
FR-XXX (Service Auth) → IA-9
|
|
43
|
-
NFR-XXX (mTLS) → IA-9
|
|
44
|
-
```
|
package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# SA - System and Services Acquisition
|
|
2
|
-
|
|
3
|
-
**Family**: System and Services Acquisition
|
|
4
|
-
**Controls**: 22
|
|
5
|
-
**Focus**: SDLC, supply chain, development security
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**SA is PRIMARY for development practices.** Apply when your component:
|
|
10
|
-
- Is under active development
|
|
11
|
-
- Uses third-party dependencies
|
|
12
|
-
- Requires security in SDLC
|
|
13
|
-
- Has supply chain concerns
|
|
14
|
-
|
|
15
|
-
## Controls
|
|
16
|
-
|
|
17
|
-
| Control | Name | Description | Software Relevance |
|
|
18
|
-
|---------|------|-------------|-------------------|
|
|
19
|
-
| SA-1 | Policy and Procedures | Document SA policies | LOW - Docs |
|
|
20
|
-
| SA-2 | Allocation of Resources | Allocate security resources | LOW - Planning |
|
|
21
|
-
| SA-3 | System Development Life Cycle | Follow SDLC | **HIGH** - Dev process |
|
|
22
|
-
| SA-4 | Acquisition Process | Define acquisition | MEDIUM - Procurement |
|
|
23
|
-
| SA-5 | System Documentation | Obtain documentation | MEDIUM - Docs |
|
|
24
|
-
| SA-8 | Security and Privacy Engineering Principles | Apply principles | **HIGH** - Design |
|
|
25
|
-
| SA-9 | External System Services | Control external services | **HIGH** - Dependencies |
|
|
26
|
-
| SA-10 | Developer Configuration Management | Dev config mgmt | **HIGH** - SCM |
|
|
27
|
-
| SA-11 | Developer Testing and Evaluation | Dev testing | **HIGH** - Testing |
|
|
28
|
-
| SA-15 | Development Process, Standards, and Tools | Dev standards | **HIGH** - Standards |
|
|
29
|
-
| SA-15(13) | Vulnerability Disclosure | Disclosure program | MEDIUM - Security.txt |
|
|
30
|
-
| SA-16 | Developer-Provided Training | Dev training | LOW - Training |
|
|
31
|
-
| SA-17 | Developer Security and Privacy Architecture and Design | Secure design | **HIGH** - Architecture |
|
|
32
|
-
| SA-21 | Developer Screening | Screen developers | LOW - HR |
|
|
33
|
-
| SA-22 | Unsupported System Components | Address unsupported | **HIGH** - EOL tracking |
|
|
34
|
-
| SA-24 | Software Supply Chain | Supply chain security | **HIGH** - SBOM |
|
|
35
|
-
|
|
36
|
-
## Mapping Guidance
|
|
37
|
-
|
|
38
|
-
### Development (SA-3, SA-8, SA-11, SA-15)
|
|
39
|
-
```
|
|
40
|
-
NFR-XXX (SDLC) → SA-3
|
|
41
|
-
NFR-XXX (Secure Design) → SA-8
|
|
42
|
-
NFR-XXX (Testing) → SA-11
|
|
43
|
-
NFR-XXX (Standards) → SA-15
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### Supply Chain (SA-9, SA-22, SA-24)
|
|
47
|
-
```
|
|
48
|
-
NFR-XXX (Dependencies) → SA-9, SA-24
|
|
49
|
-
NFR-XXX (EOL Tracking) → SA-22
|
|
50
|
-
```
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# SC - System and Communications Protection
|
|
2
|
-
|
|
3
|
-
**Family**: System and Communications Protection
|
|
4
|
-
**Controls**: 51
|
|
5
|
-
**Focus**: Network security, cryptography, boundaries
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**SC is PRIMARY for crypto and network security.** Apply when your component:
|
|
10
|
-
- Uses encryption
|
|
11
|
-
- Communicates over networks
|
|
12
|
-
- Has security boundaries
|
|
13
|
-
- Processes data in transit
|
|
14
|
-
|
|
15
|
-
## Controls (Key Selections)
|
|
16
|
-
|
|
17
|
-
| Control | Name | Description | Software Relevance |
|
|
18
|
-
|---------|------|-------------|-------------------|
|
|
19
|
-
| SC-1 | Policy and Procedures | Document SC policies | LOW - Docs |
|
|
20
|
-
| SC-2 | Separation of System and User Functionality | Separate functions | MEDIUM - Architecture |
|
|
21
|
-
| SC-3 | Security Function Isolation | Isolate security | **HIGH** - Isolation |
|
|
22
|
-
| SC-4 | Information in Shared System Resources | Protect shared resources | **HIGH** - Multi-tenant |
|
|
23
|
-
| SC-5 | Denial of Service Protection | DoS protection | **HIGH** - Availability |
|
|
24
|
-
| SC-7 | Boundary Protection | Protect boundaries | **HIGH** - Network |
|
|
25
|
-
| SC-8 | Transmission Confidentiality and Integrity | Protect transmission | **HIGH** - TLS |
|
|
26
|
-
| SC-10 | Network Disconnect | Terminate connections | MEDIUM - Sessions |
|
|
27
|
-
| SC-12 | Cryptographic Key Establishment and Management | Key management | **HIGH** - Keys |
|
|
28
|
-
| SC-13 | Cryptographic Protection | Use crypto | **HIGH** - Encryption |
|
|
29
|
-
| SC-17 | PKI Certificates | Manage certificates | **HIGH** - TLS/PKI |
|
|
30
|
-
| SC-23 | Session Authenticity | Protect session integrity | **HIGH** - Sessions |
|
|
31
|
-
| SC-24 | Fail in Known State | Fail securely | **HIGH** - Fail-close |
|
|
32
|
-
| SC-28 | Protection of Information at Rest | Protect stored data | **HIGH** - Encryption |
|
|
33
|
-
| SC-39 | Process Isolation | Isolate processes | **HIGH** - Containers |
|
|
34
|
-
|
|
35
|
-
## Mapping Guidance
|
|
36
|
-
|
|
37
|
-
### Crypto Controls (SC-8, SC-12, SC-13, SC-28)
|
|
38
|
-
```
|
|
39
|
-
NFR-XXX (TLS) → SC-8
|
|
40
|
-
NFR-XXX (Encryption at Rest) → SC-28
|
|
41
|
-
NFR-XXX (Key Management) → SC-12
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Boundary Controls (SC-7, SC-24)
|
|
45
|
-
```
|
|
46
|
-
FR-XXX (API Boundary) → SC-7
|
|
47
|
-
NFR-XXX (Fail-Safe Default) → SC-24
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Multi-tenant (SC-4)
|
|
51
|
-
```
|
|
52
|
-
FR-007 (Org Tenancy) → SC-4
|
|
53
|
-
```
|
package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# SI - System and Information Integrity
|
|
2
|
-
|
|
3
|
-
**Family**: System and Information Integrity
|
|
4
|
-
**Controls**: 23
|
|
5
|
-
**Focus**: Integrity, validation, patching
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
**SI is PRIMARY for input validation and patching.** Apply when your component:
|
|
10
|
-
- Accepts external input
|
|
11
|
-
- Requires patching/updates
|
|
12
|
-
- Validates data integrity
|
|
13
|
-
- Handles errors
|
|
14
|
-
|
|
15
|
-
## Controls
|
|
16
|
-
|
|
17
|
-
| Control | Name | Description | Software Relevance |
|
|
18
|
-
|---------|------|-------------|-------------------|
|
|
19
|
-
| SI-1 | Policy and Procedures | Document SI policies | LOW - Docs |
|
|
20
|
-
| SI-2 | Flaw Remediation | Remediate flaws | **HIGH** - Patching |
|
|
21
|
-
| SI-2(7) | Automated Patch Verification | Verify patches | **HIGH** - CI/CD |
|
|
22
|
-
| SI-3 | Malicious Code Protection | Protect against malware | MEDIUM - Scanning |
|
|
23
|
-
| SI-4 | System Monitoring | Monitor systems | **HIGH** - Observability |
|
|
24
|
-
| SI-5 | Security Alerts, Advisories, and Directives | Receive alerts | MEDIUM - Security feeds |
|
|
25
|
-
| SI-6 | Security Function Verification | Verify security | **HIGH** - Testing |
|
|
26
|
-
| SI-7 | Software, Firmware, and Information Integrity | Detect tampering | **HIGH** - Integrity |
|
|
27
|
-
| SI-10 | Information Input Validation | Validate input | **HIGH** - Validation |
|
|
28
|
-
| SI-11 | Error Handling | Handle errors securely | **HIGH** - Errors |
|
|
29
|
-
| SI-12 | Information Management and Retention | Manage retention | MEDIUM - Retention |
|
|
30
|
-
| SI-16 | Memory Protection | Protect memory | MEDIUM - Memory safety |
|
|
31
|
-
| SI-17 | Fail-Safe Procedures | Fail safely | **HIGH** - Fail-safe |
|
|
32
|
-
|
|
33
|
-
## Mapping Guidance
|
|
34
|
-
|
|
35
|
-
### Input/Output (SI-10, SI-11)
|
|
36
|
-
```
|
|
37
|
-
FR-XXX (Input Validation) → SI-10
|
|
38
|
-
NFR-XXX (Error Handling) → SI-11
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Integrity (SI-6, SI-7, SI-17)
|
|
42
|
-
```
|
|
43
|
-
NFR-XXX (Testing) → SI-6
|
|
44
|
-
NFR-XXX (Integrity) → SI-7
|
|
45
|
-
NFR-XXX (Fail-Safe) → SI-17
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Patching (SI-2)
|
|
49
|
-
```
|
|
50
|
-
NFR-XXX (Dependency Updates) → SI-2
|
|
51
|
-
NFR-XXX (Automated Patching) → SI-2(7)
|
|
52
|
-
```
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# NIST SP 800-53 Rev 5
|
|
2
|
-
|
|
3
|
-
**Version**: Revision 5.2.0
|
|
4
|
-
**Scope**: Security and privacy controls for information systems
|
|
5
|
-
**Region**: US Federal (widely adopted globally)
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
Apply NIST 800-53 when your component:
|
|
10
|
-
- Is part of a US federal system
|
|
11
|
-
- Supports federal contractors (FedRAMP)
|
|
12
|
-
- Needs a comprehensive, well-documented control baseline
|
|
13
|
-
- Requires defense-in-depth security
|
|
14
|
-
|
|
15
|
-
## Family Selection Guide
|
|
16
|
-
|
|
17
|
-
**Use this to decide which family to investigate:**
|
|
18
|
-
|
|
19
|
-
| If your component... | Read Family |
|
|
20
|
-
|---------------------|-------------|
|
|
21
|
-
| Enforces authorization/RBAC/ABAC | [AC-AccessControl](AC-AccessControl.md) |
|
|
22
|
-
| Authenticates users or services | [IA-IdentificationAuthentication](IA-IdentificationAuthentication.md) |
|
|
23
|
-
| Produces audit logs | [AU-AuditAccountability](AU-AuditAccountability.md) |
|
|
24
|
-
| Uses encryption or TLS | [SC-SystemCommunications](SC-SystemCommunications.md) |
|
|
25
|
-
| Validates input or handles errors | [SI-SystemInformationIntegrity](SI-SystemInformationIntegrity.md) |
|
|
26
|
-
| Has configuration or dependencies | [CM-ConfigurationManagement](CM-ConfigurationManagement.md) |
|
|
27
|
-
| Is under active development | [SA-SystemServicesAcquisition](SA-SystemServicesAcquisition.md) |
|
|
28
|
-
|
|
29
|
-
## Control Families
|
|
30
|
-
|
|
31
|
-
20 control families organized by function:
|
|
32
|
-
|
|
33
|
-
| Family | Code | Primary For | Skip If |
|
|
34
|
-
|--------|------|-------------|---------|
|
|
35
|
-
| [AC-AccessControl](AC-AccessControl.md) | AC | Authorization components | No access control logic |
|
|
36
|
-
| [AU-AuditAccountability](AU-AuditAccountability.md) | AU | Logging/observability | No security events |
|
|
37
|
-
| [CM-ConfigurationManagement](CM-ConfigurationManagement.md) | CM | Config, SBOM | Stateless utility |
|
|
38
|
-
| [IA-IdentificationAuthentication](IA-IdentificationAuthentication.md) | IA | Auth services | No auth handling |
|
|
39
|
-
| [SA-SystemServicesAcquisition](SA-SystemServicesAcquisition.md) | SA | SDLC, supply chain | All software |
|
|
40
|
-
| [SC-SystemCommunications](SC-SystemCommunications.md) | SC | Crypto, network | No network/crypto |
|
|
41
|
-
| [SI-SystemInformationIntegrity](SI-SystemInformationIntegrity.md) | SI | Validation, patching | No external input |
|
|
42
|
-
|
|
43
|
-
### Typically Infrastructure (Lower Priority for Software)
|
|
44
|
-
|
|
45
|
-
| Family | Code | Assign To |
|
|
46
|
-
|--------|------|-----------|
|
|
47
|
-
| AT (Awareness/Training) | AT | HR/Training |
|
|
48
|
-
| CA (Assessment) | CA | Compliance |
|
|
49
|
-
| CP (Contingency) | CP | Infrastructure |
|
|
50
|
-
| IR (Incident Response) | IR | Operations |
|
|
51
|
-
| MA (Maintenance) | MA | Infrastructure |
|
|
52
|
-
| MP (Media) | MP | Infrastructure |
|
|
53
|
-
| PE (Physical) | PE | Facilities |
|
|
54
|
-
| PL (Planning) | PL | Management |
|
|
55
|
-
| PM (Program) | PM | Management |
|
|
56
|
-
| PS (Personnel) | PS | HR |
|
|
57
|
-
| RA (Risk) | RA | Risk team |
|
|
58
|
-
| SR (Supply Chain) | SR | Covered by SA |
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# V1 - Architecture
|
|
2
|
-
|
|
3
|
-
**Area**: Architecture Verification
|
|
4
|
-
**Focus**: Security architecture requirements
|
|
5
|
-
|
|
6
|
-
## When to Apply
|
|
7
|
-
|
|
8
|
-
**V1 is foundational.** Apply when:
|
|
9
|
-
- Designing new components or systems
|
|
10
|
-
- Performing threat modeling
|
|
11
|
-
- Establishing security requirements
|
|
12
|
-
- Documenting trust boundaries
|
|
13
|
-
|
|
14
|
-
## Requirements
|
|
15
|
-
|
|
16
|
-
| Req | Name | Description | L1 | L2 | L3 |
|
|
17
|
-
|-----|------|-------------|----|----|-----|
|
|
18
|
-
| 1.1.1 | Secure SDLC | Secure development lifecycle in place | | ✓ | ✓ |
|
|
19
|
-
| 1.1.2 | Threat Modeling | Threat modeling performed | | ✓ | ✓ |
|
|
20
|
-
| 1.1.3 | Component Security | Security of each component documented | | ✓ | ✓ |
|
|
21
|
-
| 1.2.1 | Trust Boundaries | Trust boundaries identified | | ✓ | ✓ |
|
|
22
|
-
| 1.2.2 | Input Validation | Centralized input validation approach | ✓ | ✓ | ✓ |
|
|
23
|
-
| 1.2.3 | Output Encoding | Centralized output encoding approach | ✓ | ✓ | ✓ |
|
|
24
|
-
| 1.4.1 | Cryptography | Cryptographic design documented | | ✓ | ✓ |
|
|
25
|
-
|
|
26
|
-
## Mapping Guidance
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
NFR-001 (Security Architecture) → 1.1.1, 1.1.3
|
|
30
|
-
NFR-002 (Threat Model) → 1.1.2
|
|
31
|
-
NFR-003 (Input Validation) → 1.2.2
|
|
32
|
-
NFR-004 (Output Encoding) → 1.2.3
|
|
33
|
-
```
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# V10 - Malicious Code
|
|
2
|
-
|
|
3
|
-
**Area**: Malicious Code Verification
|
|
4
|
-
**Focus**: Protection against malware and malicious logic
|
|
5
|
-
|
|
6
|
-
## When to Apply
|
|
7
|
-
|
|
8
|
-
**V10 is a general requirement.** Apply when:
|
|
9
|
-
- Reviewing third-party code
|
|
10
|
-
- Auditing for backdoors
|
|
11
|
-
- Implementing integrity checks
|
|
12
|
-
- Managing software supply chain
|
|
13
|
-
|
|
14
|
-
## Requirements
|
|
15
|
-
|
|
16
|
-
| Req | Name | Description | L1 | L2 | L3 |
|
|
17
|
-
|-----|------|-------------|----|----|-----|
|
|
18
|
-
| 10.1.1 | Code Integrity | Source code integrity verified | | ✓ | ✓ |
|
|
19
|
-
| 10.2.1 | Anti-Malware | No malicious functionality | ✓ | ✓ | ✓ |
|
|
20
|
-
| 10.2.2 | Time Bombs | No time-based malicious triggers | ✓ | ✓ | ✓ |
|
|
21
|
-
| 10.2.3 | Backdoors | No hidden backdoors | ✓ | ✓ | ✓ |
|
|
22
|
-
| 10.3.1 | Unverified Code | No loading of unverified code | ✓ | ✓ | ✓ |
|
|
23
|
-
|
|
24
|
-
## Mapping Guidance
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
NFR-001 (Supply Chain) → 10.1.1
|
|
28
|
-
NFR-002 (Code Review) → 10.2.1, 10.2.2, 10.2.3
|
|
29
|
-
NFR-003 (Dynamic Loading) → 10.3.1
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
> [!NOTE]
|
|
33
|
-
> This area often maps to organizational controls rather than specific FRs.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# V11 - Business Logic
|
|
2
|
-
|
|
3
|
-
**Area**: Business Logic Verification
|
|
4
|
-
**Focus**: Application-specific security logic
|
|
5
|
-
|
|
6
|
-
## When to Apply
|
|
7
|
-
|
|
8
|
-
**V11 is for complex workflows.** Apply when your component:
|
|
9
|
-
- Implements financial transactions
|
|
10
|
-
- Has multi-step workflows
|
|
11
|
-
- Enforces business rules
|
|
12
|
-
- Manages quotas or limits
|
|
13
|
-
|
|
14
|
-
## Requirements
|
|
15
|
-
|
|
16
|
-
| Req | Name | Description | L1 | L2 | L3 |
|
|
17
|
-
|-----|------|-------------|----|----|-----|
|
|
18
|
-
| 11.1.1 | Sequential Processing | Multi-step processes in correct order | ✓ | ✓ | ✓ |
|
|
19
|
-
| 11.1.2 | Business Limits | Business logic limits enforced | ✓ | ✓ | ✓ |
|
|
20
|
-
| 11.1.3 | Anti-Automation | Business-critical functions protected | ✓ | ✓ | ✓ |
|
|
21
|
-
| 11.1.4 | Unusual Activity | Detection of unusual activity | | ✓ | ✓ |
|
|
22
|
-
| 11.1.5 | Race Conditions | Race conditions prevented | ✓ | ✓ | ✓ |
|
|
23
|
-
|
|
24
|
-
## Mapping Guidance
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
FR-001 (Workflow) → 11.1.1
|
|
28
|
-
FR-002 (Limits) → 11.1.2
|
|
29
|
-
FR-003 (Rate Limiting) → 11.1.3
|
|
30
|
-
NFR-001 (Concurrency) → 11.1.5
|
|
31
|
-
NFR-002 (Monitoring) → 11.1.4
|
|
32
|
-
```
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# V12 - Files
|
|
2
|
-
|
|
3
|
-
**Area**: File Handling Verification
|
|
4
|
-
**Focus**: File upload, download, and storage security
|
|
5
|
-
|
|
6
|
-
## When to Apply
|
|
7
|
-
|
|
8
|
-
**V12 is PRIMARY for file handling.** Apply when your component:
|
|
9
|
-
- Accepts file uploads
|
|
10
|
-
- Serves file downloads
|
|
11
|
-
- Processes user-provided files
|
|
12
|
-
- Stores files on the filesystem
|
|
13
|
-
|
|
14
|
-
## Requirements
|
|
15
|
-
|
|
16
|
-
| Req | Name | Description | L1 | L2 | L3 |
|
|
17
|
-
|-----|------|-------------|----|----|-----|
|
|
18
|
-
| 12.1.1 | File Size Limits | Maximum file size enforced | ✓ | ✓ | ✓ |
|
|
19
|
-
| 12.1.2 | File Type Validation | File types validated (not just extension) | ✓ | ✓ | ✓ |
|
|
20
|
-
| 12.1.3 | Path Traversal | Path traversal prevented | ✓ | ✓ | ✓ |
|
|
21
|
-
| 12.2.1 | Antivirus Scan | Uploaded files scanned for malware | | ✓ | ✓ |
|
|
22
|
-
| 12.3.1 | Secure Storage | Files stored outside web root | ✓ | ✓ | ✓ |
|
|
23
|
-
| 12.3.2 | Filename Sanitization | User filenames sanitized | ✓ | ✓ | ✓ |
|
|
24
|
-
| 12.4.1 | Content-Disposition | Proper Content-Disposition headers | ✓ | ✓ | ✓ |
|
|
25
|
-
|
|
26
|
-
## Mapping Guidance
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
FR-001 (Upload) → 12.1.1, 12.1.2
|
|
30
|
-
FR-002 (Storage) → 12.3.1
|
|
31
|
-
FR-003 (Download) → 12.4.1
|
|
32
|
-
NFR-001 (Path Security) → 12.1.3
|
|
33
|
-
NFR-002 (Malware) → 12.2.1
|
|
34
|
-
```
|