security

security is a skill for Claude Code, Codex from cwklurks/ship-score. It costs 0 tokens per session (7,455 once invoked), scanned A, original, MIT.

A fixed seven-check security review for a software project’s production readiness, including whether it forces secure HTTPS connections.

In plain words
What is it for?
Use it as part of a Ship Score audit—a review that estimates whether an application is ready to run in production—to inspect a project’s security setup and record evidence.
Why use it?
It gives a defined way to look for security weaknesses before release, such as traffic interception, stolen sessions, or leaked data.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cwklurks/ship-score/security
Any agent
npx skills add cwklurks/ship-score --skill security
Clone the repo
git clone --depth 1 https://github.com/cwklurks/ship-score

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cwklurks/ship-score/security.svg)](https://agentmods.dev/skills/cwklurks/ship-score/security)
Your own site
<a href="https://agentmods.dev/skills/cwklurks/ship-score/security"><img src="https://agentmods.dev/badge/skills/cwklurks/ship-score/security.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,455 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.07455
Opus 5 $0.00000 $0.03728
Sonnet 5 $0.00000 $0.01491
Haiku 4.5 $0.00000 $0.00745

Measured 4d ago against content hash 261dbaeecca2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security 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 4d 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/SKILL.md · 801 lines

How it starts

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

Security Category — Ship Score Sub-Skill

You are running the Security category of a Ship Score production readiness audit. Follow every instruction below precisely. Do not add checks beyond the 7 defined here. Do not skip checks. Report exactly what you find.


Context You Receive

The orchestrator passes you:

Framework: [name] ([key])
Signals: [comma-separated detected features]
Root: [absolute path to project root]

Use the Root path for all file searches. If the project has a package.json, use it as the primary dependency manifest. For Python projects, check requirements.txt, pyproject.toml, or Pipfile instead.


Checks

Run all 7 checks in order. For each check, follow the verification steps, determine the status, and record the evidence.


Check 1: HTTPS Enforcement

Severity: Critical

What to look for:

The application must enforce HTTPS in production. Without HTTPS enforcement, traffic can be intercepted, session cookies stolen, and data leaked via man-in-the-middle attacks.

Verification procedure:

Step A -- Check for HSTS headers in middleware or server config:

Grep source files for Strict-Transport-Security header configuration:

Pattern: (Strict-Transport-Security|strict-transport-security|HSTS|hsts)
Files: **/*.{ts,tsx,js,jsx,mjs,py,go,rb}
Glob exclusions: node_modules, test files, lock files, *.md

For Next.js, also check:

  • next.config.{js,ts,mjs} for a headers() function returning HSTS:
    Pattern: Strict-Transport-Security
    Files: next.config.{js,ts,mjs}
    
  • middleware.{ts,js} for header injection:
    Pattern: (Strict-Transport-Security|x-forwarded-proto|redirect.*https)
    Files: middleware.{ts,js}
    

Step B -- Check for HTTPS redirect logic:

Grep source files for redirect-to-HTTPS patterns:

Pattern: (x-forwarded-proto.*https|redirect.*https://|http://.*https://|forceSSL|force_ssl|requireHTTPS|require_https|FORCE_HTTPS)
Files: **/*.{ts,tsx,js,jsx,mjs,py,go,rb}
Glob exclusions: node_modules, test files, lock files

Read the full file on GitHub · 801 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. 4d ago First seen · 801 lines · 0 tokens per session scan A 261dbaeecca2

Subscribe to this mod's changes

security is a skill published in the GitHub repository cwklurks/ship-score (1 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,455 tokens. 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