Agent skill

Secure Development Policy

by Hack23 in Hack23/cia

Hack23 secure development policy enforcement, SAST/DAST integration, dependency scanning, and code signing practices

Apache-2.0Auto-check passedSecurity

Install Secure Development Policy

skills CLI
$ npx skills add Hack23/cia --skill secure-development-policy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hack23/cia secure-development-policy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/secure-development-policy .claude/skills/secure-development-policy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
secure-development-policy
GitHub stars
239
Token cost
~1.7k tokens
SKILL.md length
411 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

Hack23 secure development policy enforcement, SAST/DAST integration, dependency scanning, and code signing practices

  • Works in 5 steps: Static Application Security Testing (SAST) → Dynamic Application Security Testing… → Dependency Scanning → …
  • Tasks that involve Static analysis and SAST
  • SKILL.md covers Purpose, When to Use This Skill, Policy Requirements and Policy Compliance Verification, plus 2 more sections
  • Calls git; reaches staging.cia.hack23.com; needs API_KEY

What it does

Secure Development Policy is an agent skill from Hack23/cia. Hack23 secure development policy enforcement, SAST/DAST integration, dependency scanning, and code signing practices

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Static analysis and SAST and App store release. The repository describes itself as: Citizen Intelligence Agency. Open-source intelligence platform analyzing Swedish political activities using AI and data visualization. Tracks politicians, government… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Static analysis and SAST
  • Tasks that involve App store release

Example prompts

  • “/secure-development-policy”

Requirements

  • Docker
  • A credential in API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Static Application Security Testing (SAST)
  2. Dynamic Application Security Testing (DAST)
  3. Dependency Scanning
  4. Code Signing and Integrity
  5. Secure Coding Standards

What it can do on your machine

Read from SKILL.md and the folder at commit 6a9797b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • staging.cia.hack23.com

    Also links to:

    • github.com
    • owasp.org
    • cisecurity.org
    • csrc.nist.gov

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Secure Development Policy loads about 1.7k tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 411 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hack23/cia at commit 6a9797b, republished under its Apache-2.0 licence (© Hack23). 411 words, ~1,673 tokens.

Download SKILL.mdSave it as .claude/skills/secure-development-policy/SKILL.md (or your agent's skills folder).
name
secure-development-policy
description
Hack23 secure development policy enforcement, SAST/DAST integration, dependency scanning, and code signing practices
license
Apache-2.0

Secure Development Policy Skill

Purpose

This skill enforces the Hack23 Secure Development Policy across the CIA platform. It provides actionable guidance for SAST/DAST integration, dependency scanning, code signing, and policy compliance verification in daily development workflows.

When to Use This Skill

Apply this skill when:

  • ✅ Reviewing PRs for policy compliance
  • ✅ Configuring CI/CD security scanning pipelines
  • ✅ Adding or updating dependencies
  • ✅ Setting up new development environments
  • ✅ Investigating security scan findings
  • ✅ Preparing code for release
  • ✅ Auditing existing code against policy requirements

Do NOT use for:

  • ❌ High-level SDLC planning (use secure-development-lifecycle)
  • ❌ Runtime security monitoring (use incident-response)
  • ❌ Architecture-level security design (use security-architecture-validation)

Policy Requirements

1. Static Application Security Testing (SAST)

Required Tools:

ToolPurposeCI IntegrationBlocking?
CodeQLSemantic code analysisGitHub ActionsYes — zero critical/high
SonarCloudCode quality + securityGitHub ActionsYes — quality gate
SpotBugsJava bug detectionMaven pluginAdvisory

CodeQL Configuration:

yaml
# .github/workflows/codeql.yml
- uses: github/codeql-action/analyze@v3
  with:
    languages: java
    queries: +security-extended

SonarCloud Quality Gate:

# Required passing conditions
- No new critical issues
- No new high security hotspots
- Coverage ≥ 80% on new code
- Duplication < 3% on new code

Developer Actions:

□ Run CodeQL locally before pushing: codeql database create --language=java
□ Check SonarCloud dashboard after PR creation
□ Address all critical/high findings before merge
□ Document false positives with justification
2. Dynamic Application Security Testing (DAST)

Required Scanning:

Scan TypeToolFrequencyScope
BaselineOWASP ZAPEvery releaseFull application
API ScanOWASP ZAPEvery releaseREST endpoints
AuthenticatedOWASP ZAPQuarterlyAdmin workflows

ZAP Integration:

yaml
# GitHub Actions ZAP scan
- name: ZAP Scan
  uses: zaproxy/action-baseline@v0.14.0
  with:
    target: 'https://staging.cia.hack23.com'
    rules_file_name: '.zap/rules.tsv'

Handling DAST Findings:

  1. Critical/High — Block release, fix immediately
  2. Medium — Fix within current sprint
  3. Low/Informational — Track in backlog, fix within 30 days
3. Dependency Scanning

Required Checks:

ToolPurposeTriggerBlocking?
OWASP Dependency CheckKnown CVE detectionPR + weeklyYes — critical/high
DependabotAutomated updatesContinuousAdvisory
GitHub Advisory DBVulnerability alertsContinuousYes — critical
License CheckLicense compliancePRYes — incompatible

Maven Configuration:

xml
<plugin>
    <groupId>org.owasp</groupId>
    <artifactId>dependency-check-maven</artifactId>
    <configuration>
        <failBuildOnCVSS>7</failBuildOnCVSS>
        <suppressionFile>dependency-check-suppression.xml</suppressionFile>
    </configuration>
</plugin>

Adding New Dependencies — Mandatory Checklist:

□ Check GitHub Advisory DB for known vulnerabilities
□ Verify license compatibility (Apache 2.0 preferred)
□ Run: mvn dependency-check:check
□ Review transitive dependencies
□ Document justification in PR description
□ Verify no critical/high CVEs
□ Update SBOM if maintained
Show full SKILL.md (161 more words)Show less
4. Code Signing and Integrity

Commit Signing:

bash
# All commits should be signed
git config --global commit.gpgsign true
git config --global user.signingkey <GPG-KEY-ID>

Artifact Integrity:

  • Maven builds produce checksums for all artifacts
  • Release artifacts are signed
  • Docker images use content trust
  • CloudFormation templates are versioned and checksummed
5. Secure Coding Standards

Mandatory Practices:

PracticeEnforcementTool
Input validationAll user inputsSpring Validation + custom
Output encodingAll rendered dataVaadin built-in + manual
Parameterized queriesAll database accessJPA/Hibernate
Error handlingNo info leakageCustom exception handlers
LoggingNo sensitive dataSLF4J + Logback
AuthenticationSpring SecurityFramework default
CSRF protectionAll state changesSpring Security

Banned Patterns:

java
// BANNED: String concatenation in queries
entityManager.createQuery("SELECT p FROM Person p WHERE p.id = " + id);

// BANNED: Logging sensitive data
log.info("User login: " + username + " password: " + password);

// BANNED: Disabling CSRF
http.csrf().disable(); // Only if explicitly justified and documented

// BANNED: Hardcoded credentials
private static final String API_KEY = "sk-1234567890";

Policy Compliance Verification

PR Review Checklist
□ CodeQL scan passes (zero critical/high alerts)
□ SonarCloud quality gate passes
□ OWASP Dependency Check passes (CVSS < 7)
□ No banned code patterns detected
□ Input validation present for all user inputs
□ Output encoding verified for rendered data
□ No secrets or credentials in code
□ Commit is signed (GPG or SSH)
□ Test coverage meets thresholds (80% line, 70% branch)
□ Security-relevant changes documented
Quarterly Audit Checklist
□ All dependencies updated to latest stable
□ No open critical/high Dependabot alerts
□ DAST scan completed and findings addressed
□ Security documentation current
□ ISMS controls verified
□ Threat model reviewed and updated
□ Access controls reviewed

ISMS Alignment

Policy AreaISO 27001NIST CSFCIS Controls
SASTA.8.28, A.8.29PR.IP-12CIS 16.4
DASTA.8.29, A.8.33DE.CM-8CIS 16.6
Dependency ScanA.8.19, A.8.28ID.SC-2CIS 16.7
Code SigningA.8.24, A.8.26PR.DS-6CIS 2.7
Secure CodingA.8.25, A.8.28PR.IP-12CIS 16.1

References

© Hack23, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/secure-development-policy of Hack23/cia.

Open the folder on GitHubat commit 6a9797b

Compare with similar skills

Secure Development Policy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Secure Development Policy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Secure Development Policy this skillHack23/cia239—~1.7kAutomated safety check: PassApache-2.0
Android Static AnalyzerLeoYeAI/openclaw-master-skills2.2k—~2.7kAutomated safety check: PassMIT
Pki Designvinayaklatthe/microsoft-security-skills175—~2.1kAutomated safety check: PassMIT
Semgrepvigolium/piolium1381 repos~2.4kAutomated safety check: NotesMIT
C To AstNarwhal-Lab/MagicSkills316—~1.1kAutomated safety check: PassMIT
Semgrep Security Scantrailofbits/skills7.4k—~3.7kAutomated safety check: NotesCC-BY-SA-4.0

Similar skills

  • Android Static Analyzer

    LeoYeAI/openclaw-master-skills

    分析 Android 项目源码,用 LLM 从多维度生成 AI 自动化测试所需的先验知识文档,打包上报测试平台。核心价值:让 AI 测试 Agent 在运行前就知道「测什么、怎么断言、有哪些陷阱」。触发词:「分析我的 Android 项目」「生成测试画像」「理解这个 App 的业务」「提取测试先验知识」「帮我分析 Android 源码」

    2.2k GitHub stars~2.7k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • Pki Design

    vinayaklatthe/microsoft-security-skills

    Guidance for designing public key infrastructure (PKI) and certificate management on Azure and hybrid environments.

    175 GitHub stars~2.1k tokensUpdated 3 mo ago
    SecurityAuto-check passed
  • Semgrep

    vigolium/piolium

    Run Semgrep static analysis scan on a codebase using parallel subagents.

    138 GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check: notes
  • C To Ast

    Narwhal-Lab/MagicSkills

    Parse C source code into an Abstract Syntax Tree (AST). An agent skill from Narwhal-Lab/MagicSkills.

    316 GitHub stars~1.1k tokensUpdated 6 mo ago
    SecurityAuto-check passed
  • Semgrep Security Scan

    trailofbits/skills

    Official

    Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.

    7.4k GitHub stars~3.7k tokensUpdated 5 days ago
    SecurityAuto-check: notes
  • LLM Sast Scanner

    SunWeb3Sec/llm-sast-scanner

    General-purpose Static Application Security Testing (SAST) skill for code vulnerability analysis.

    286 GitHub stars~6.2k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from Hack23/cia

All 78 skills in this repo
  • WCAG 2.1 AA compliance, ARIA attributes, keyboard navigation, screen reader optimization for accessible political data platforms

    239 GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Advanced chart types, D3.js/Vaadin Charts patterns, political data visualization, time series analysis

    239 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • AI Governance

    Hack23/cia

    AI governance, EU AI Act compliance, OWASP LLM security, responsible AI practices for GitHub Copilot agents

    239 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • API Integration

    Hack23/cia

    External API integration patterns, retry logic, circuit breakers, caching, rate limiting for government data APIs

    239 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • AWS CloudWatch metrics, alarms, dashboards, log insights, and application monitoring for the CIA platform

    239 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • AWS security best practices, VPC security, IAM, KMS, CloudTrail, GuardDuty for CIA platform deployment

    239 GitHub stars~2.3k tokensUpdated today
    Auto-check passed

Categories

Questions about Secure Development Policy

What does Secure Development Policy do?

Hack23 secure development policy enforcement, SAST/DAST integration, dependency scanning, and code signing practices. Secure Development Policy is an agent skill from Hack23/cia.

When should I use Secure Development Policy?

Secure Development Policy fits situations like: tasks that involve Static analysis and SAST; tasks that involve App store release.

How do I install Secure Development Policy in Claude Code?

Run `npx skills add Hack23/cia --skill secure-development-policy -a claude-code`. Or copy the skill folder (.github/skills/secure-development-policy in Hack23/cia) into .claude/skills/secure-development-policy in your project. Claude Code loads it when a task matches its description.

How do I install Secure Development Policy in Codex?

Run `npx skills add Hack23/cia --skill secure-development-policy -a codex`. Or copy the skill folder (.github/skills/secure-development-policy in Hack23/cia) into .agents/skills/secure-development-policy in your project. Codex loads it when a task matches its description.

Can I use Secure Development Policy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hack23/cia --skill secure-development-policy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/secure-development-policy, .gemini/skills/secure-development-policy, .github/skills/secure-development-policy and .opencode/skills/secure-development-policy in your project.

What does Secure Development Policy need to run?

Going by SKILL.md and its folder, Secure Development Policy needs the command-line tools its instructions call (git) and credentials named API_KEY. Our summary lists: Docker; A credential in API_KEY.

Does Secure Development Policy access the network?

SKILL.md names 5 domains. In commands or code: staging.cia.hack23.com; the agent is likely to contact it when it follows the instructions. As links in the text: github.com, owasp.org, cisecurity.org and csrc.nist.gov. This is read from the text; nothing was executed.

Is Secure Development Policy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Secure Development Policy use?

Secure Development Policy is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Secure Development Policy use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Secure Development Policy?

Skills that share tags, products or a category with Secure Development Policy: Android Static Analyzer (LeoYeAI/openclaw-master-skills, 2.2k stars), Pki Design (vinayaklatthe/microsoft-security-skills, 175 stars), Semgrep (vigolium/piolium, 138 stars) and C To Ast (Narwhal-Lab/MagicSkills, 316 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Secure Development Policy?

Hack23 (a GitHub organization) maintains it in Hack23/cia, which has 239 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.

Source: Hack23/cia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.