eresus-pr-security-review

eresus-pr-security-review is a skill for Claude Code, Codex from EresusSecurity/appsec-skills. It costs 90 tokens per session (871 once invoked), scanned A, original, Apache-2.0.

A security review of a pull request or code diff, meaning the changes made between two versions of a codebase. It focuses on vulnerabilities, regressions, and missing security tests introduced by those changes.

In plain words
What is it for?
Use it to inspect changed endpoints, authorization checks, input handling, file or command execution, configuration changes, and related security tests.
Why use it?
It limits the review to the newly changed attack surface, making it easier to spot security risks that a normal code review may miss.

Skill for Claude CodeCodex

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

Good fit Use it to inspect changed endpoints, authorization checks, input handling, file or command execution, configuration changes, and related security tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eresussecurity/appsec-skills/eresus-pr-security-review
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 EresusSecurity/appsec-skills --skill eresus-pr-security-review
Clone the repo
git clone --depth 1 https://github.com/EresusSecurity/appsec-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 eresus-pr-security-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/eresussecurity/appsec-skills/eresus-pr-security-review/github.svg)](https://agentmods.dev/skills/eresussecurity/appsec-skills/eresus-pr-security-review)
Your own site
<a href="https://agentmods.dev/skills/eresussecurity/appsec-skills/eresus-pr-security-review"><img src="https://agentmods.dev/badge/skills/eresussecurity/appsec-skills/eresus-pr-security-review/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 eresus-pr-security-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/eresussecurity/appsec-skills/eresus-pr-security-review"><img src="https://agentmods.dev/badge/skills/eresussecurity/appsec-skills/eresus-pr-security-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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.00090 $0.00871
Opus 5 $0.00045 $0.00436
Sonnet 5 $0.00018 $0.00174
Haiku 4.5 $0.00009 $0.00087

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

Security

Grade A, and why

eresus-pr-security-review 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 11d 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/eresus-pr-security-review/SKILL.md · 130 lines

How it starts

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

Security PR Review

Purpose

Review changed code with a security-review mindset: prioritize introduced bugs, exploitable regressions, and missing coverage in the modified attack surface. Focus on what the diff changes, not on writing a general audit of the whole repository.

Scope Rules

  • Prioritize vulnerabilities introduced or exposed by the diff.
  • Inspect surrounding code when needed to confirm reachability, auth context, or sanitizer behavior.
  • Mention pre-existing issues only when the change makes them reachable, worse, or security-relevant now.
  • Findings come first; summary is secondary.

Workflow

Step 1: Read the Diff as an Attack Surface Change

Identify:

  • newly added endpoints, handlers, controllers, jobs, or CLI paths
  • changed authorization checks or middleware wiring
  • new deserialization, template rendering, file, network, or command execution paths
  • config changes that weaken defaults or widen trust boundaries

Step 2: Map New Sources, Sinks, and Guards

For changed code, locate:

  • attacker-controlled inputs
  • dangerous sinks
  • sanitization, validation, auth, and feature-flag guards

Do not stop at the edited hunk if the actual sink or protection lives nearby.

Step 3: Trace Security-Sensitive Data Flow

Apply lightweight taint reasoning through:

  • helper calls
  • serializers and DTOs
  • middleware layers
  • ORM/query helpers
  • template/view rendering
  • background job enqueue/dequeue boundaries

Step 4: Review Diff-Specific Risk Patterns

Pay extra attention to:

  • string-built queries, filters, or shell commands
  • unsafe deserialization, polymorphic typing, object revival, or parser feature flags
  • auth checks moved later in the flow
  • newly trusted headers, cookies, or client-supplied role fields
  • open redirects added through next, returnTo, or redirect_url
  • debug logging of secrets, tokens, or PII
  • upload handling, archive extraction, or path joins
  • new outbound HTTP fetches or webhook callbacks
  • security settings changed from strict to permissive

Read the full file on GitHub · 130 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. 11d ago First seen · 130 lines · 90 tokens per session scan A b992b9760487

Subscribe to this mod's changes

eresus-pr-security-review is a skill published in the GitHub repository EresusSecurity/appsec-skills (7 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 90 tokens to every session and 871 once invoked, about $0.0005 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

auditor-quiz

Quiz an auditor on a codebase's mechanics and vulnerabilities, drawn from its own code and docs. Use to test understanding before or during a review.

forefy/.context · 35 tokens

sast-businesslogic

Detect business logic vulnerabilities in a codebase using a three-phase approach: threat modeling (domain analysis and attack scenarios), batched verify (check exploitable gaps in parallel subagents, 3 scenarios each), and merge (consolidate batch results). Covers price manipulation, workflow bypass, limit violations…

utkusen/sast-skills · 110 tokens

secure-code-review

Performs a structured security code review against OWASP ASVS 4.0.3 verification requirements and CWE Top 25. Auto-invoked on pull request reviews, when code touching authentication, authorization, cryptography, or input handling is shared. Produces findings mapped to ASVS controls and CWE identifiers with severity…

UnitOneAI/SecuritySkills · 74 tokens

architecture-reviewer

Reviews application architecture for scalability, coupling, separation-of-concerns, and maintainability issues. Use for system-level review, not individual file/function-level code review.

codebygarv/Ai-skills · 37 tokens

dependency-auditor

Reviews package dependencies for unnecessary packages, outdated or risky patterns, duplication, and licensing/maintenance risk. Use when a dependency manifest has grown unchecked or before adding a new dependency.

codebygarv/Ai-skills · 40 tokens

security-auditor

Analyzes code and implementations for common security weaknesses and unsafe practices - injection, auth flaws, secrets handling, unsafe deserialization, and access control. Use before shipping anything handling user input, auth, or sensitive data.

codebygarv/Ai-skills · 48 tokens