Arckit secure

From tractorjuice/arckit-codex · View interactive version

Arckit secure is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. Generate a Secure by Design assessment for UK Government projects (civilian departments)

How to use this skill

Skill file

UK Government Secure by Design Assessment

You are helping to conduct a Secure by Design assessment for a UK Government technology project (civilian/non-MOD).

User Input

$ARGUMENTS

Context

UK Government departments must follow NCSC (National Cyber Security Centre) guidance and achieve appropriate security certifications before deploying systems. This assessment evaluates security controls using the NCSC Cyber Assessment Framework (CAF).

Key UK Government Security References:

Your Task

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.

Generate a comprehensive Secure by Design assessment document by:

  1. Loading the template (with user override support):

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

  1. Understanding the project context:
  1. Read existing artifacts from the project context:

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

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

  1. Read external documents and policies:
  1. Assess security using NCSC CAF (14 principles across 4 objectives):

Objective A: Managing Security Risk (4 principles)

Objective B: Protecting Against Cyber Attack (6 principles)

Objective C: Detecting Cyber Security Events (2 principles)

Objective D: Minimising the Impact of Incidents (2 principles)

  1. Assess Cyber Essentials compliance (5 controls):
  1. Assess UK GDPR compliance (if processing personal data):
  1. For each CAF principle and control:
  1. Calculate overall CAF score: X/14 principles achieved
  1. Assess UK Government Cyber Security Standard compliance:

9.1 GovAssure Status — For critical systems subject to GovAssure assurance:

9.2 Secure by Design Confidence Rating — Self-assessment against SbD high-confidence profile:

9.3 Cyber Security Standard Exception Register — Per CSS clauses 4.3/4.4:

9.4 Cyber Action Plan Alignment — Assess alignment with the £210m cross-government Cyber Action Plan (February 2026):

  1. Assess Government Cyber Security Profession alignment:
  1. Map GovS 007: Security alignment:
  1. Identify critical security issues:
  1. Generate actionable recommendations:
  1. Detect version: follow .arckit/references/version-detection.md for ARC-{PROJECT_ID}-SECD-v*.md in the project directory. For a Secure by Design assessment:
  1. Save the document:

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

Write to projects/[project-folder]/ARC-{PROJECT_ID}-SECD-v${VERSION}.md

CRITICAL - Auto-Populate Document Control Fields:

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

Step 1: Construct Document ID

Step 2: 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):

Step 3: Populate Revision History

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

Step 4: Populate Generation Metadata Footer

The footer should be populated with:

**Generated by**: ArcKit `$arckit-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]

Example Rendered Header and Revision History

## Document Control

<!-- DOC-CONTROL-HEADER -->
<!-- Resolved at command-execution time per _partials/RENDERING.md. -->

## Revision History

| Version | Date | Author | Changes | Approved By | Approval Date |
|---------|------|--------|---------|-------------|---------------|
| 1.0 | 2025-10-29 | ArcKit AI | Initial creation from `$arckit-secure` command | [PENDING] | [PENDING] |

Assessment Guidelines

Status Indicators

Critical Security Issues (Phase Blockers)

Mark as CRITICAL if:

Data Classification Requirements

PUBLIC:

OFFICIAL:

OFFICIAL-SENSITIVE:

Project Phase Considerations

Discovery/Alpha:

Beta:

Live:

Cyber Essentials Requirements

Basic Cyber Essentials: Self-assessment questionnaire

Cyber Essentials Plus: External technical verification

Required for:

UK Government Context

Senior Information Risk Owner (SIRO)

Data Protection Officer (DPO)

Required if:

Responsibilities:

Information Commissioner's Office (ICO)

Common UK Government Security Requirements

Cyber Essentials Controls:

Cloud Hosting:

Network Security:

Example Output Structure

# UK Government Secure by Design Assessment

**Project**: HMRC Tax Credits Modernization
**Department**: HMRC
**Data Classification**: OFFICIAL-SENSITIVE
**NCSC CAF Score**: 11/14 Achieved

## NCSC CAF Assessment

### Objective A: Managing Security Risk

#### A1: Governance
**Status**: ✅ Achieved
**Evidence**: SIRO appointed (Director of Digital Services), security policies approved, quarterly security reviews...

#### A2: Risk Management
**Status**: ⚠️ Partially Achieved
**Evidence**: Risk register exists, but threat modeling incomplete...
**Gaps**:
- Complete threat modeling for payment processing (HIGH - 30 days)
- Update risk register with emerging threats (MEDIUM - 60 days)

### Objective B: Protecting Against Cyber Attack

#### B3: Data Security
**Status**: ⚠️ Partially Achieved
**Evidence**: TLS 1.3 in transit, AES-256 at rest, but DPIA not completed...
**Gaps**:
- Complete DPIA before Beta (CRITICAL - blocker for Beta phase)
- Implement Data Loss Prevention (HIGH - 90 days)

## Cyber Essentials

**Status**: Certified Basic (expires 2024-06-30)
**Target**: Cyber Essentials Plus by Beta

**Gaps**:
- External vulnerability scan required for Plus certification

## UK GDPR Compliance

**Status**: ⚠️ Partially Compliant
**DPO**: Appointed ([Data Protection Officer Name])
**DPIA**: Not completed (REQUIRED before Beta)

**Critical Issues**:
1. DPIA not completed for tax credit processing (CRITICAL)
2. Data retention policy not documented (HIGH)

## Critical Issues
1. DPIA incomplete (CAF B3, UK GDPR) - Blocks Beta phase
2. Threat modeling incomplete (CAF A2) - Significant risk gap

## Recommendations
**Critical** (0-30 days):
- Complete DPIA - DPO - 15 days
- Complete threat model - Security Architect - 30 days

Important Notes

Related UK Government Standards

Resources

Generate the UK Government 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.