HA

hack23-information-security-policy

Aligns engineering activities with Hack23 security policies.

Install

mkdir -p .claude/skills/hack23-information-security-policy && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10211" && unzip -o skill.zip -d .claude/skills/hack23-information-security-policy && rm skill.zip

Installs to .claude/skills/hack23-information-security-policy

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Hack23 Information Security Policy integration for SDLC — developer-facing mapping of ISP requirements to daily engineering activities, tooling, and evidence
157 charsno explicit “when” trigger
Advanced

Key capabilities

  • Validate PRs against security policy
  • Onboard repositories to security standards
  • Address security findings
  • Prepare audit-ready evidence

How it works

It maps high-level security policies to concrete engineering behaviors, ensuring all changes comply with Hack23 standards.

Inputs & outputs

You give it
Code change or security finding
You get back
Policy compliance assessment

When to use hack23-information-security-policy

  • Validate PRs against security policy
  • Onboard new repositories to security standards
  • Address security findings in code
  • Prepare audit-ready security evidence

About this skill

Hack23 Information Security Policy Integration Skill

Purpose

Translate the Hack23 Information Security Policy — the apex document of the Hack23 ISMS — into concrete, enforceable engineering behaviour for the CIA platform. This skill connects the high-level policy (CIA triad objectives, risk appetite, roles, legal duties) to the code, workflows, reviews, and evidence that actually implement it.

Where hack23-isms-compliance describes the framework and information-security-strategy describes the strategy, this skill tells an engineer or AI agent "given the ISP and its supporting policies, what must I do in this commit, PR, or design?"

When to Use

Apply this skill when:

  • ✅ Starting or reviewing any code / infrastructure / documentation change that touches data, authentication, authorization, crypto, logging, or third-party integrations
  • ✅ Creating or updating a GitHub issue or PR that is security-relevant
  • ✅ Onboarding a new contributor, AI agent, or repository to Hack23 standards
  • ✅ Responding to a CodeQL / SonarCloud / OWASP / Dependabot finding
  • ✅ Classifying data, designing an API, or integrating an external source
  • ✅ Preparing release notes, SBOM, SECURITY.md, or audit evidence
  • ✅ Assessing whether an AI coding agent action is policy-compliant

Do NOT use for:

  • ❌ Tactical incident response (use incident-response skill)
  • ❌ Deep cryptographic implementation (use crypto-best-practices / cryptography-policy)
  • ❌ Framework-level compliance mapping only (use hack23-isms-compliance)

Information Security Policy — Core Tenets (Engineering View)

The ISP is binding on all contributors, including AI agents. Its five engineering-relevant tenets are:

#ISP TenetWhat it means in code/PRsPrimary Evidence
1Confidentiality, Integrity, Availability (CIA triad)Every change must preserve or strengthen C/I/A for affected assets; no change may silently lower a classification control.THREAT_MODEL.md, SECURITY_ARCHITECTURE.md, classification labels
2Risk-based, defence-in-depthControls at code, platform, CI, infra, and monitoring layers; no single point of failure.SECURITY_ARCHITECTURE.md, Risk Register, ZAP/CodeQL scans
3Least privilege & segregation of dutiesMinimum IAM, minimum token scopes, CODEOWNERS review, permissions: block on every workflow..github/workflows/*, GitHub branch protection, IAM policies
4Transparency & accountabilitySigned commits, public security docs, SBOM, OpenSSF/CII badges, auditable logs.OpenSSF Scorecard, CII badge, SECURITY.md, SBOM
5Legal & regulatory alignmentGDPR, NIS2, EU CRA, ISO 27001:2022, NIST CSF 2.0, CIS v8.CRA-ASSESSMENT.md, ISMS_COMPLIANCE_MAPPING.md, DPIA

Supporting Policies and When Each Applies

The ISP is implemented through these supporting policies. An AI agent or developer MUST consult the ones that apply to the task at hand.

PolicyApplies WhenKey Engineering Checks
Secure Development PolicyAny code or build changeSAST+DAST+SCA pass, banned patterns, signed commits
Open Source PolicyPublic repos, OSS dep changes, releaseOpenSSF ≥7.0, CII Passing, SLSA 3, FOSSA pass, SBOM attached
Secrets Management PolicyAny credential, token, key, env varNo secrets in code, GitHub Secrets/SSM, rotation, scanning enabled
Cryptography PolicyTLS, hashing, encryption, signingTLS 1.3, AES-256-GCM, bcrypt/argon2, RSA-4096/EC P-384, KMS-managed keys
Access Control PolicyAuthN/AuthZ, Spring Security, IAMLeast privilege, MFA, role separation, deny-by-default
Data Classification / CLASSIFICATIONNew entity, API, log, exportCorrect C/I/A label, handling controls per level
Data Protection PolicyPersonal data, retention, exportGDPR lawful basis, retention, DSAR support
Privacy PolicyAny UI, log, analytics touching usersMinimal data, consent, cookies, opt-out paths
Vulnerability ManagementAny finding from scannersSLA: Crit 24h/7d, High 7d, Med 30d, Low 90d
Change ManagementReleases, schema migrations, infraCAB review, rollback plan, migration changeset
Backup & RecoveryDB or state change, DR testsRPO/RTO respected, restore tested
Incident Response PlanSuspected breach, outage, data lossTicket, classify, contain, notify ≤72h GDPR
Threat ModelingNew feature, API, trust boundarySTRIDE, attack tree, mitigation mapping
Third Party ManagementNew dependency, API, vendor, SaaSLicense OK, CVE clean, data-sharing justified
Segregation of DutiesWorkflow, deployment, review configAuthor ≠ approver, CODEOWNERS enforced
AI PolicyAny AI / Copilot / agent actionEU AI Act risk-tier, OWASP LLM, human-in-the-loop
Information Security StrategyRoadmap, architecture decisionsAligned with CEO-approved risk appetite

SDLC × ISP Responsibility Matrix

Each phase has mandatory ISP-derived checks. AI agents must confirm all items for their phase before proceeding.

┌────────────────┬──────────────────────────────────────────────────────────┐
│ SDLC Phase     │ ISP-Derived Gate                                         │
├────────────────┼──────────────────────────────────────────────────────────┤
│ Plan           │ Classification set; threat model updated; DPIA if needed │
│ Design         │ Least privilege; trust boundaries; crypto choices per    │
│                │ Cryptography Policy; third-party review                  │
│ Implement      │ Banned patterns avoided; input validation; output        │
│                │ encoding; parameterized queries; no secrets              │
│ Review         │ CODEOWNERS; SoD (author ≠ approver); PR template met    │
│ Build          │ Pinned actions; reproducible; signed; SBOM generated     │
│ Test           │ ≥80% line / ≥70% branch; CodeQL + SCA pass; DAST         │
│                │ baseline; negative test cases                            │
│ Release        │ Signed artifacts; SLSA provenance; release notes;        │
│                │ security advisories closed                               │
│ Operate        │ Logging (no PII); alerting; rotation; DR test            │
│ Respond        │ Incident plan triggers; 72h GDPR notification path       │
│ Retire         │ Secure data deletion; key destruction; dep removal       │
└────────────────┴──────────────────────────────────────────────────────────┘

Non-Negotiable Rules (from ISP §Acceptable Use / §Secure Engineering)

🔴 Never:

  • Commit secrets, tokens, keys, or personal data — use GitHub Secrets / AWS SSM
  • Disable a security control (CSRF, CSP, TLS, CodeQL) without a risk-accepted PR + CEO sign-off
  • Introduce a dependency without vulnerability + license check
  • Bypass CODEOWNERS, branch protection, or the signed-commit requirement
  • Log request bodies, tokens, passwords, or classified data
  • Ship a release with open Critical or High CVEs
  • Use an unpinned GitHub Action in a workflow that has write permissions
  • Process personal data without a lawful basis documented in the DPIA

🟢 Always:

  • Classify new data (Public / Internal / Confidential / Restricted)
  • Default to deny in authorization checks
  • Parameterize all database queries
  • Encode output at the rendering boundary (Vaadin ContentMode.TEXT)
  • Use @Transactional with explicit boundaries; readOnly = true where applicable
  • Add unit tests for the negative / unauthorized path
  • Sign commits (GPG or SSH) and releases (Sigstore/cosign)
  • Record security-relevant decisions in SECURITY_ARCHITECTURE.md / THREAT_MODEL.md

AI Agent & Copilot Guardrails (ISP + AI Policy)

These rules bind every AI agent (task-agent, stack-specialist, etc.) operating in this repo:

  1. Read before act — load README, copilot-instructions, and the ISP before making changes
  2. Classification awareness — never escalate Public → Confidential exposure inadvertently
  3. Minimal diff — surgical, auditable changes; no unrelated refactors
  4. Evidence first — every security claim cites scanner output, ISMS control, or test
  5. Human-in-the-loop — Critical/High security changes require human approval before merge
  6. Transparent reasoning — PR descriptions link to ISP / supporting policy when relevant
  7. No secret handling — agents never print, commit, or send secrets; only reference names

PR Policy Compliance Checklist

Paste into PR description for any security-relevant change:


Content truncated.

When not to use it

  • For tactical incident response
  • For deep cryptographic implementation

Limitations

  • Does not replace incident response
  • Requires adherence to supporting policies

How it compares

It provides a developer-facing mapping of security policies to daily activities, making compliance actionable.

Compared to similar skills

hack23-information-security-policy side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
hack23-information-security-policy (this skill)03moNo flagsAdvanced
secrets-management53moReviewAdvanced
security-scanning-security-hardening34moNo flagsAdvanced
sast-configuration33moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry