security-privacy

security-privacy is a skill for Claude Code, Codex from d4rkNinja/arcforge. It costs 81 tokens per session (2,421 once invoked), scanned A, original, MIT.

A guide for reviewing and changing security and privacy protections around secrets, encryption, sensitive data, identity-related boundaries, and abuse prevention.

In plain words
What is it for?
Use it when storing or rotating secrets, protecting data in transit or at rest, handling personal information, designing redaction or retention, and adding abuse defenses.
Why use it?
It makes developers identify the protected asset, responsible actors, and trust boundary before choosing controls. It also requires each important rule to be tied to code, a test, or a documented exception.

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/d4rkninja/arcforge/security-privacy
Any agent
npx skills add d4rkNinja/arcforge --skill security-privacy
Clone the repo
git clone --depth 1 https://github.com/d4rkNinja/arcforge

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-privacy

README.md
[![agentmods](https://agentmods.dev/badge/skills/d4rkninja/arcforge/security-privacy.svg)](https://agentmods.dev/skills/d4rkninja/arcforge/security-privacy)
Your own site
<a href="https://agentmods.dev/skills/d4rkninja/arcforge/security-privacy"><img src="https://agentmods.dev/badge/skills/d4rkninja/arcforge/security-privacy.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,421 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.00081 $0.02421
Opus 5 $0.00041 $0.01210
Sonnet 5 $0.00016 $0.00484
Haiku 4.5 $0.00008 $0.00242

Measured yesterday against content hash 7c2e17635df9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-privacy 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 yesterday.

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-privacy/SKILL.md · 149 lines

How it starts

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

Think Through Security & Privacy

Overview

Production guidance for protective controls. Each reference paper captures the failures that audits find late: secrets in config and logs, home-grown crypto, disabled certificate verification, PII without retention or deletion paths, and abuse protections that rate-limit the wrong dimension.

Core principle: Controls attach to data and actions, not to layers. Every secret, sensitive field, and privileged action has a lifecycle — generation, use, rotation, redaction, deletion — that must be enforced somewhere concrete.

Domain Law

NO SECURITY OR PRIVACY CHANGE WITHOUT:
1. the minimum required primary paper(s) for the control selected from the context table;
2. the asset, actor, and trust boundary named before choosing a control;
3. "Existing-codebase checks" run when changing existing protections;
4. every applicable MUST/NEVER mapped to an enforcement point, a test,
   or a documented risk-accepted exception.

When to Use

Use this skill when thinking through, reviewing, changing, or verifying:

  • secrets: storage, injection, rotation, scoping, and audit;
  • encryption at rest/in transit and key management;
  • TLS configuration, certificate rotation, and PKI assumptions;
  • crypto primitive selection: hashing, MACs, ciphers, nonce management;
  • password and token hashing parameters;
  • sensitive-data classification, minimization, retention, and deletion propagation;
  • log/trace/error redaction and export controls;
  • abuse protection: brute force, credential stuffing, enumeration, scraping, fraud;
  • feature flag safety and kill switches;
  • temporary and expiring data (sessions, tokens, uploads, exports);
  • randomness and token generation (IDs, secrets, nonces).

When Not to Use

  • Login/session/OAuth/permission flows: use auth-access.
  • API-surface attack classes (injection, object-level authorization, mass assignment): use api-contracts (062 pairs here).
  • Rate-limit mechanics: use resilience-flow-control (038).
  • Whole-system threat models and zero-trust architecture: use system-architecture-harness.
  • Untrusted code execution sandboxes for AI: use ai-agent-system-architecture.

Read the full file on GitHub · 149 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. yesterday Changed · +4 lines 7c2e17635df9
  2. 5d ago First seen · 145 lines · 81 tokens per session scan A f2f3490134be

Subscribe to this mod's changes

security-privacy is a skill published in the GitHub repository d4rkNinja/arcforge (16 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 2,421 once invoked, about $0.0004 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-30.