security-and-hardening

security-and-hardening is a skill for Claude Code, Codex from Plazmodium/odin-workflow. It costs 23 tokens per session (317 once invoked), scanned A, original, MIT.

A security review guide for code that handles trust boundaries, user input, authentication, secrets, dependencies, files, networks, or sensitive services.

In plain words
What is it for?
Use it to review production-facing changes, validate inputs and permissions, protect secrets, reduce dependency risk, and test important security failures.
Why use it?
It helps identify common weaknesses such as injection, cross-site scripting, unauthorized access, exposed secrets, and unsafe file or network access.

Skill for Claude CodeCodex

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

Good fit Use it to review production-facing changes, validate inputs and permissions, protect secrets, reduce dependency risk, and test important security failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plazmodium/odin-workflow/security-and-hardening
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 Plazmodium/odin-workflow --skill security-and-hardening
Clone the repo
git clone --depth 1 https://github.com/Plazmodium/odin-workflow

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-and-hardening

README.md
[![agentmods](https://agentmods.dev/badge/skills/plazmodium/odin-workflow/security-and-hardening/github.svg)](https://agentmods.dev/skills/plazmodium/odin-workflow/security-and-hardening)
Your own site
<a href="https://agentmods.dev/skills/plazmodium/odin-workflow/security-and-hardening"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/security-and-hardening/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-and-hardening

Your own site · 80×15
<a href="https://agentmods.dev/skills/plazmodium/odin-workflow/security-and-hardening"><img src="https://agentmods.dev/badge/skills/plazmodium/odin-workflow/security-and-hardening.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 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.00023 $0.00317
Opus 5 $0.00012 $0.00159
Sonnet 5 $0.00005 $0.00063
Haiku 4.5 $0.00002 $0.00032

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

Security

Grade A, and why

security-and-hardening 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 8d 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.

agents/skills/workflow/security-and-hardening/SKILL.md · 43 lines

What it actually says

security-and-hardening

When To Use

  • Handling user input, authentication, authorization, secrets, storage, payments, external services, or file/network access.
  • Reviewing changes that cross a trust boundary.
  • Preparing production-facing code.

Workflow

  1. Identify assets, actors, trust boundaries, and data flow.
  2. Validate and normalize input at boundaries.
  3. Check authentication and authorization separately.
  4. Ensure secrets are not logged, committed, exposed to clients, or embedded in code.
  5. Check injection, XSS, CSRF, SSRF, path traversal, insecure deserialization, and dependency risk when relevant.
  6. Prefer deny-by-default and least privilege.
  7. Add tests or checks for critical failure paths.

Anti-Rationalization

Excuse Rebuttal
"Only trusted users call this." Trust boundaries change and credentials leak.
"Validation happens elsewhere." Boundary code should verify the assumption or make it explicit.
"This secret is just for local testing." Secrets in code tend to spread. Do not commit them.

Verification

  • Trust boundaries and sensitive data are identified.
  • Critical inputs and permissions are checked.
  • Security-relevant behavior has tests or documented manual checks.

Exit Criteria

  • The change does not introduce an avoidable security regression.
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. 8d ago First seen · 43 lines · 23 tokens per session scan A d9aab8d10a4a

Subscribe to this mod's changes

security-and-hardening is a skill published in the GitHub repository Plazmodium/odin-workflow (0 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 317 once invoked, about $0.0001 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-09-01.

Related

Other skills, from other repositories

b123d-modeling

Use this skill when asked to model, build, or modify a 3D part or assembly with build123d — from a text description, a technical drawing (image or PDF), dimensions in a spec, or an existing STEP/STL file.

pzfreo/build123d-mcp · 0 tokens

b123d-edit

Use this skill when the task is to change an existing build123d model or script: "make this bracket 5 mm taller", "move the holes inward", "add a counterbore", "remove this rib", "make it fit this mating part", or "repair the code so the intended edit remains parametric".

pzfreo/build123d-mcp · 0 tokens

new-gh-issue-orchestration

Orchestrates a GitHub-issue-driven delivery workflow from issue intake to PR creation using reviewer-first then worker execution. Invoked when the user provides a GitHub issue link/number and asks to start end-to-end delivery.

soulcodex/agentic · 54 tokens

hmem-release

Pre-publish checklist for hmem: skills synced, version bumped, tests green, nothing forgotten. Use before npm publish or when the user says 'release', 'publish', 'push a release', or 'neue Version'.

Bumblebiber/hmem · 50 tokens

mlflow-traces

Use when working with MLflow traces: debugging via MCP tools, analyzing performance, logging feedback, writing custom scorers/evaluations, or cleaning up trace data.

Galbaz1/video-research-mcp · 37 tokens

video-explainer

Teaches Claude how to use the 15 video explainer tools to create explainer videos from research content. Activates when working with video synthesis, explainer creation, or the video-explainer MCP server.

Galbaz1/video-research-mcp · 48 tokens