security-audit

security-audit is a skill for Claude Code, Codex from Nordic-AI/production-readiness-skills. It costs 112 tokens per session (3,810 once invoked), scanned A, original, Apache-2.0.

A review of an application's defenses against common attacks. It covers areas such as login, permissions, secrets, input handling, encryption, sessions, cross-origin requests, browser security settings, and injection flaws.

In plain words
What is it for?
Use it to audit authentication and authorization, secret handling, input validation, cryptography, session management, CORS, CSP, security headers, and common injection risks.
Why use it?
It identifies weaknesses that could let an attacker access data, impersonate users, or run unwanted commands. Findings include their severity and steps to fix them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit authentication and authorization, secret handling, input validation, cryptography, session management, CORS, CSP, security headers, and common injection risks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nordic-ai/production-readiness-skills/security-audit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Nordic-AI/production-readiness-skills --skill security-audit
Clone the repo
git clone --depth 1 https://github.com/Nordic-AI/production-readiness-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/nordic-ai/production-readiness-skills/security-audit/github.svg)](https://agentmods.dev/skills/nordic-ai/production-readiness-skills/security-audit)
Your own site
<a href="https://agentmods.dev/skills/nordic-ai/production-readiness-skills/security-audit"><img src="https://agentmods.dev/badge/skills/nordic-ai/production-readiness-skills/security-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/nordic-ai/production-readiness-skills/security-audit"><img src="https://agentmods.dev/badge/skills/nordic-ai/production-readiness-skills/security-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.03810
Opus 5 $0.00056 $0.01905
Sonnet 5 $0.00022 $0.00762
Haiku 4.5 $0.00011 $0.00381

Measured 12d ago against content hash 2ae93313cd1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

security-audit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/security-audit/SKILL.md · 323 lines

How it starts

The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Audit

You are a defensive security reviewer. Work from threat models outward: who is the attacker, what are they trying to reach, what's stopping them. Your job is to find security gaps and, in edit mode, remediate them.

This skill follows the library-wide rules in docs/CONVENTIONS.md — mode handling, severity, output schema, remediation discipline, GitNexus usage, universal do-nots. This file documents what's specific to the security dimension.

Finding ID prefix

SEC — see CONVENTIONS.md §4.

Inputs

From orchestrator: scope_tier, jurisdiction, data_sensitivity, stack_summary, gitnexus_indexed. When invoked directly, gather via scoping questions.

Review surface

Walk through these categories in order. For each, use the listed tools and heuristics, and produce findings as you go.

1. Authentication

  • Identify every auth path. If GitNexus is indexed, call mcp__gitnexus__route_map to enumerate HTTP routes and mcp__gitnexus__query / cypher to find middleware wiring. Otherwise grep for common patterns: login, signIn, authenticate, jwt, session, @auth, requireAuth, passport, Authorize, IsAuthenticated.
  • Check for these red flags:
    • Password storage without a modern KDF (bcrypt/argon2/scrypt). Plaintext, MD5, SHA1, or unsalted SHA2 → critical.
    • JWT verification disabled, none algorithm accepted, signing key hardcoded, or verify=false.
    • Session tokens that are predictable, reused, or never rotated on privilege change.
    • Magic-link / OTP tokens without TTL or with TTL > 15 min.
    • MFA absent for admin-tier accounts at team / scalable tier.
    • Username enumeration via distinct error messages for "user not found" vs "bad password".
    • Timing-unsafe comparison of auth tokens (use constant-time compare).
    • Password reset flows that return a valid session instead of requiring re-auth.

2. Authorization

  • Map the privilege model — what roles/scopes exist? Where are access decisions made?
  • Check for:
    • Endpoints without any authorization check (anonymous access where it shouldn't be).
    • IDOR: endpoints that accept an identifier but don't verify the caller owns / is entitled to it. For each such route, verify ownership check exists. Use mcp__gitnexus__api_impact to trace handler → data-access.
    • Privilege escalation via mass-assignment (e.g. user.update(req.body) including a role field).
    • Shared service accounts with over-broad permissions.
    • Missing authorization on background jobs / message consumers (not just HTTP).
    • Path traversal: endpoints that accept file paths without canonicalization + allowlist.

Read the full file on GitHub · 323 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 323 lines · 112 tokens per session scan A 2ae93313cd1d

Subscribe to this mod's changes

security-audit is a skill published in the GitHub repository Nordic-AI/production-readiness-skills (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 112 tokens to every session and 3,810 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

fedramp

Expert guidance for FedRAMP certification and compliance under CR26 (FedRAMP Consolidated Rules for 2026). Use this skill whenever a user asks about FedRAMP authorization, ATO (Authority to Operate), cloud security for federal government, NIST SP 800-53 controls, CSP compliance, or any of the core FedRAMP document…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 236 tokens

gdpr-compliance

Expert GDPR compliance assistant covering all four core workflows: (1) auditing code and systems for GDPR violations, (2) drafting GDPR-compliant documents such as privacy policies, Data Processing Agreements (DPAs), and consent notices, (3) answering GDPR compliance questions with authoritative article citations, and…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 176 tokens

iso42001

Expert ISO 42001 AI Management System (AIMS) compliance advisor. Use this skill whenever a user asks about ISO/IEC 42001:2023, AI governance, AI management systems, AI risk assessment, AI system impact assessment, Annex A controls for AI, Statement of Applicability for AI systems, AI policy, responsible AI, AI…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 173 tokens

eu-cra

Expert EU Cyber Resilience Act (CRA) advisor for Regulation (EU) 2024/2847 — mandatory cybersecurity and vulnerability handling requirements for all products with digital elements (PDEs) sold in the EU. Use this skill for gap analysis, product classification (Default / Class I / Class II), conformity assessment route…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 133 tokens

nist-800-53

NIST SP 800-53 Rev 5 compliance advisor — all 20 control families (AC, AT, AU, CA, CM, CP, IA, IR, MA, MP, PE, PL, PM, PS, PT, RA, SA, SC, SI, SR), Low/Moderate/High baseline selection, FIPS 199/200 system categorization, control tailoring and overlays, privacy controls (PT family), supply chain risk management (SR…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 177 tokens

soc2

Expert SOC 2 compliance assistant covering all five Trust Services Criteria (Security/CC, Availability/A, Confidentiality/C, Processing Integrity/PI, Privacy/P). Use this skill whenever a user mentions SOC 2, Trust Services Criteria, SOC 2 Type 1 or Type 2, audit readiness, compliance gaps, control documentation…

Sushegaad/Claude-Skills-Governance-Risk-and-Compliance · 159 tokens