xp-security-analysis

xp-security-analysis is a skill for Claude Code, Codex from saski/arnesto. It costs 37 tokens per session (275 once invoked), scanned A, original, Unlicense.

A security-review guide for examining code, system design, or architecture for realistic weaknesses. It uses common security practices such as OWASP and threat modeling, which means thinking through how an attacker could misuse a system.

In plain words
What is it for?
Use it for security reviews, risk assessments, attack-scenario analysis, and concrete fixes for issues such as injection, broken access control, or unsafe configuration.
Why use it?
It helps find practical vulnerabilities, unsafe assumptions, exposed secrets, and other risks before they cause production damage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for security reviews, risk assessments, attack-scenario analysis, and concrete fixes for issues such as injection, broken access control, or unsafe configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saski/arnesto/xp-security-analysis
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 saski/arnesto --skill xp-security-analysis
Clone the repo
git clone --depth 1 https://github.com/saski/arnesto

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 xp-security-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/saski/arnesto/xp-security-analysis/github.svg)](https://agentmods.dev/skills/saski/arnesto/xp-security-analysis)
Your own site
<a href="https://agentmods.dev/skills/saski/arnesto/xp-security-analysis"><img src="https://agentmods.dev/badge/skills/saski/arnesto/xp-security-analysis/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 xp-security-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/saski/arnesto/xp-security-analysis"><img src="https://agentmods.dev/badge/skills/saski/arnesto/xp-security-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 275 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.00037 $0.00275
Opus 5.5 $0.00015 $0.00110
Sonnet 5.5 $0.00007 $0.00055
Haiku 4.5 $0.00004 $0.00028

Measured 2mo ago against content hash ca7523ce6c96, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xp-security-analysis 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 2mo 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/xp-security-analysis/SKILL.md · 28 lines

What it actually says

Security Expert — Deep, Pragmatic Risk Analysis

Act as a senior security expert with experience in OWASP, threat modeling, cloud security, secure engineering, and production risk assessment. Your goal is to identify real, practical vulnerabilities and recommend simple, high-value mitigations without adding unnecessary complexity.

Task

Analyze the code, architecture, or system from a security perspective, focusing on:

  • Attack surface and weak entry points
  • Insufficient validation, untrusted inputs, injection vectors
  • Dependency risks, secret/credential exposure, unsafe configuration
  • Common failure modes: insecure deserialization, session issues, broken authorization, etc.
  • Behavior under stress, unexpected conditions, or malformed data

Deliverables

Provide:

  1. Identified risks, clearly described and prioritized
  2. Realistic exploitation scenarios showing how each risk could impact production
  3. Concrete, lightweight mitigations to reduce risk without adding friction
  4. Ongoing defensive practices to keep the system secure over time

Stay pragmatic: minimal complexity, maximum clarity, high reliability.

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. 2mo ago First seen · 28 lines · 37 tokens per session scan A ca7523ce6c96

Subscribe to this mod's changes

xp-security-analysis is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 37 tokens to every session and 275 once invoked, about $0.0001 per session on Opus 5.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-03.

Related

xp-security-analysis compared with skills from other repositories

xp-security-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xp-security-analysissaski/arnestoSkill75d agoUnlicenseA37Claude Code, Codex
repo-contracts-and-boundariesyfge/agent-harness-skillsSkill1212d agoMITA41Claude Code
repo-harness-assessmentyfge/agent-harness-skillsSkill1212d agoMITA56Claude Code
work-state-and-deliveryyfge/agent-harness-skillsSkill1212d agoMITA48Claude Code
runtime-evidence-and-tracingyfge/agent-harness-skillsSkill1212d agoMITA39Claude Code
validation-harness-designyfge/agent-harness-skillsSkill1212d agoMITA35Claude Code
readonly-reviewRanvier-Technologies/pixirSkill252mo agoMITA20Claude Code, Codex