Arckit mod secure

From tractorjuice/arckit-codex · View interactive version

Arckit mod secure is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Generate a MOD Secure by Design assessment for UK Ministry of Defence projects using CAAT and continuous assurance

How to use this skill

Skill file

MOD Secure by Design Assessment

You are helping to conduct a Secure by Design (SbD) assessment for a UK Ministry of Defence (MOD) technology project, programme, or capability.

User Input

$ARGUMENTS

Context

Since August 2023, ALL Defence capabilities, technology infrastructure, and digital services MUST follow the Secure by Design (SbD) approach mandated in JSP 440 Leaflet 5C. This represents a fundamental shift from legacy RMADS (Risk Management and Accreditation Documentation Set) to continuous risk management throughout the capability lifecycle.

Key MOD Security References:

Critical Changes (Post-August 2023)

SbD is now mandatory:

Read the Template

Read the template (with user override support):

Tip: Users can customize templates with $arckit-customize mod-secure

Your Task

Generate a comprehensive Secure by Design assessment document using the continuous risk management approach by:

  1. Understanding the project context:
  1. Read Available Documents:

> Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently if missing):

  1. Assess against the 7 MOD Secure by Design Principles, using the names MOD publishes at https://www.digital.mod.uk/policy-rules-standards-and-guidance/secure-by-design. ISN 2023/09 sets out the requirements for the same seven principles; it names Principle 7 "Enable Through Life Management", which MOD now publishes as "Plan the through-life approach". Use MOD's current names as headings, and cite ISN 2023/09 for the requirements.

Principle 1: Understand and define context

Principle 2: Plan the security activities

Principle 3: Implement continuous risk management

Principle 4: Define security controls

Principle 5: Engage and manage the supply chain

Principle 6: Assure, verify and test

Principle 7: Plan the through-life approach

  1. Read external documents and policies:
  1. Assess using NIST Cybersecurity Framework (as mandated by SbD):

Identify:

Protect:

Detect:

Respond:

Recover:

  1. Assess Three Lines of Defence:

First Line: Delivery team owns security

Second Line: Assurance and oversight

Third Line: Independent audit

  1. For each domain:
  1. Determine overall security posture:
  1. Generate actionable recommendations:

CRITICAL - Auto-Populate Document Control Fields:

Before completing the document, populate ALL document control fields in the header:

Construct Document ID:

Populate Required Fields:

Auto-populated fields (populate these automatically):

User-provided fields (extract from project metadata or user input):

Calculated fields:

Pending fields (leave as [PENDING] until manually updated):

Populate Revision History:

| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-mod-secure` command | [PENDING] | [PENDING] |

Populate Generation Metadata Footer:

The footer should be populated with:

**Generated by**: ArcKit `$arckit-mod-secure` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the SECD-MOD per-type checks pass. Fix any failures before proceeding.

  1. Save the document: Write to projects/[project-folder]/ARC-{PROJECT_ID}-SECD-MOD-v{VERSION}.md

Assessment Guidelines

Status Indicators

Critical Security Issues (Deployment Blockers)

Mark as CRITICAL if:

Classification-Specific Requirements

OFFICIAL:

OFFICIAL-SENSITIVE:

SECRET:

TOP SECRET:

Project Phase Considerations

Discovery/Alpha:

Beta:

Live:

MOD-Specific Context

JSP 440 Information Assurance Maturity Model (IAMM)

Assess maturity across 8 domains (0-5 scale):

Target Level 3+ for operational systems.

Continuous Assurance Process (Replaced RMADS in August 2023)

SbD replaces point-in-time accreditation with continuous assurance:

  1. Register on CAAT (Cyber Activity and Assurance Tracker)
  1. Appoint Delivery Team Security Lead (DTSL)
  1. Complete CAAT self-assessment question sets
  1. Complete Business Impact Assessment (BIA)
  1. Implement security controls
  1. Conduct continuous security testing
  1. Maintain continuous risk management
  1. Supplier attestation (for systems delivered by suppliers)
  1. Security governance reviews

Common MOD Security Requirements

Cryptography:

Network Security:

Authentication:

Monitoring:

Example Output Structure

# MOD Secure by Design Assessment

**Project**: MOD Personnel Management System
**Classification**: OFFICIAL-SENSITIVE
**Overall Security Posture**: Adequate (with gaps to address)

## Domain 1: Security Classification
**Status**: ✅ Compliant
**Evidence**: System handles personnel records (OFFICIAL-SENSITIVE), classification confirmed by IAO...

## Domain 5: Technical Security Controls

### 5.1 Cryptography
**Status**: ⚠️ Partially Compliant
**Evidence**: AES-256 encryption at rest, TLS 1.3 in transit, but key rotation not automated...
**Gaps**:
- Automated key rotation required (HIGH PRIORITY)
- HSM not yet deployed (MEDIUM PRIORITY)

### 5.3 Network Security
**Status**: ❌ Non-Compliant
**Evidence**: Network segmentation incomplete, no IDS/IPS deployed...
**Gaps**:
- Deploy network segmentation (CRITICAL - deployment blocker)
- Implement IDS/IPS (HIGH PRIORITY)

## Critical Issues
1. Network segmentation incomplete (Domain 5) - BLOCKER for deployment
2. Penetration test not completed (Domain 5) - Required before Beta

## Recommendations
**Critical** (0-30 days):
- Complete network segmentation - Security Architect - 30 days
- Schedule penetration test - DTSL - 15 days

Important Notes

Related MOD Standards

Resources

Generate the MOD Secure by Design assessment now based on the project information provided.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.