auditing-code-for-vulnerabilities

auditing-code-for-vulnerabilities is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 67 tokens per session (3,042 once invoked), scanned A, a copy of auditing-code-for-vulnerabilities, Apache-2.0.

A source-code security review method for finding vulnerabilities, which are flaws attackers could exploit. It follows how untrusted data moves through a codebase and checks whether the code keeps its intended safety rules.

In plain words
What is it for?
Use it to review repositories, code changes, branches, pull requests, or a particular class of security bug, and to document audit coverage.
Why use it?
It helps distinguish real security bugs from scanner warnings and find flaws that simple pattern matching may miss.

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 to review repositories, code changes, branches, pull requests, or a particular class of security bug, and to document audit coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evilfreelancer/secs/auditing-code-for-vulnerabilities
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 EvilFreelancer/secs --skill auditing-code-for-vulnerabilities
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

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 auditing-code-for-vulnerabilities

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities/github.svg)](https://agentmods.dev/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities/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 auditing-code-for-vulnerabilities

Your own site · 80×15
<a href="https://agentmods.dev/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/auditing-code-for-vulnerabilities.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod 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.00067 $0.03042
Opus 5.5 $0.00027 $0.01217
Sonnet 5.5 $0.00013 $0.00608
Haiku 4.5 $0.00007 $0.00304

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

Security

Grade A, and why

auditing-code-for-vulnerabilities scanned grade A with 1 finding 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 1mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

rg -n 'os\.system|subprocess.*shell\s*=\s*True|child_process\.exec\(|execSync|Statement\.execute|\.raw\(|fmt\.Sprintf.*SELECT'
Origin

This is a copy

91% identical to auditing-code-for-vulnerabilities — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/auditing-code-for-vulnerabilities/SKILL.md · 270 lines

How it starts

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

Auditing Code for Vulnerabilities

Finding real bugs in source code is a different job from running a scanner. A scanner matches patterns; an auditor builds a model of what the code is supposed to guarantee and then hunts for the paths where that guarantee breaks. This skill is the methodology for the second job.

When to Use

  • Auditing a repository, service, or library for security defects
  • Reviewing a diff, branch, or pull request for introduced vulnerabilities
  • Hunting for a specific bug class across a large codebase
  • Validating whether a scanner finding or a reported vulnerability is real
  • Building an audit plan and coverage report for a client engagement

When NOT to Use

  • Black-box testing of a running app — use testing-web-applications or testing-apis
  • A PHP codebase specifically — this methodology applies directly; watch for type juggling, unserialize/phar POP chains, and php:// wrappers
  • Hunting a planted webshell or backdoor rather than a vulnerability — use hunting-web-backdoors
  • Binary-only targets — use analyzing-binaries
  • Dependency and build-pipeline risk — use auditing-supply-chain
  • Cryptographic construction review — use reviewing-cryptography
  • Writing up finished findings — use reporting-security-findings
  • Running a multi-agent discovery campaign across a whole target with builder/critic separation and iteration — use orchestrating-vulnerability-research, which dispatches this skill as the per-slice hunter

The Loop

Auditing is four passes, not one. Do not skip to pass 3.

1. Context      → what does this system protect, and from whom?
2. Attack surface → where does untrusted input enter, and what does it reach?
3. Hunt          → trace specific bug classes along those paths
4. Verify        → prove exploitability before you write a word

Pass 1: Build context before reading code

Do not open files at random. Spend the first block of effort answering:

Read the full file on GitHub · 270 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 270 lines · 67 tokens per session scan A fea4dd1a5db2

Subscribe to this mod's changes

auditing-code-for-vulnerabilities is a skill published in the GitHub repository EvilFreelancer/secs (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 67 tokens to every session and 3,042 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). It is 91% identical to auditing-code-for-vulnerabilities, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-ransomware-encryption-mechanisms

Analyzes encryption algorithms, key management, and file encryption routines used by ransomware families to assess decryption feasibility, identify implementation weaknesses, and support recovery efforts. Covers AES, RSA, ChaCha20, and hybrid encryption schemes. Activates for requests involving ransomware…

26zl/cybersec-toolkit · 79 tokens

analyzing-slack-space-and-file-system-artifacts

Examine file system slack space, MFT entries, USN journal, and alternate data streams to recover hidden data and reconstruct file activity on NTFS volumes.

26zl/cybersec-toolkit · 44 tokens

configuring-identity-aware-proxy-with-google-iap

Configuring Google Cloud Identity-Aware Proxy (IAP) to enforce per-request identity verification for Compute Engine, App Engine, Cloud Run, and GKE services using access levels, context-aware policies, and programmatic access with service accounts.

26zl/cybersec-toolkit · 60 tokens

configuring-network-segmentation-with-vlans

Designs and implements VLAN-based network segmentation on managed switches to isolate network zones, enforce access control between segments, and reduce the attack surface by limiting lateral movement paths in enterprise network environments.

26zl/cybersec-toolkit · 48 tokens

analyzing-email-headers-for-phishing-investigation

Parse and analyze email headers to trace the origin of phishing emails, verify sender authenticity, and identify spoofing through SPF, DKIM, and DMARC validation.

26zl/cybersec-toolkit · 44 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

26zl/cybersec-toolkit · 40 tokens