security-scan

security-scan is a skill for Codex from bex-co/bex-security. It costs 52 tokens per session (661 once invoked), scanned A, a copy of security-scan, Apache-2.0.

A standard one-pass security audit of a repository or selected folder, package, or submodule. It reviews the code for security problems and produces the repository's security report.

In plain words
What is it for?
Use it for a general security scan of an entire codebase or a chosen part of one. It is intended for a single independent audit rather than deep multi-pass investigation or verification of a particular finding.
Why use it?
It provides a broad first security review when there is no specific change or candidate finding to investigate. The defined scope keeps the audit focused and distinguishes it from reviews of pull requests, commits, branches, or working-tree diffs.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it for a general security scan of an entire codebase or a chosen part of one. It is intended for a single independent audit rather than deep multi-pass investigation or verification of a particular finding.

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

Made for: 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-scan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex-security/security-scan"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 661 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin 100% 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.00052 $0.00661
Opus 5.5 $0.00021 $0.00264
Sonnet 5.5 $0.00010 $0.00132
Haiku 4.5 $0.00005 $0.00066

Measured 7d ago against content hash 267f67780b1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-scan 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 7d 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.

Origin

This is a copy

100% identical to security-scan — 55 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.

plugins/codex-security/skills/security-scan/SKILL.md · 22 lines

How it starts

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

Security Scan

Find vulnerabilities an attacker could actually exploit. Start from code that accepts untrusted input or exercises authority. Follow it to the operation it controls. Check the real enforcement point, its callers, and the strongest evidence that the suspected attack is blocked. For an exposed credential, the relevant path is who can read it and what access it grants.

Use the core audit for the independent baseline, focused investigations, and validation. Give reviewers the authorized source and security context. Keep scan administration in the parent. Report findings with source lines and concrete impact. Record what you reviewed and what remains uncertain.

Run the audit

Before reading target source, bind the requested target and scope:

  • If the SDK supplied CODEX_SECURITY_SCAN_ID and CODEX_SECURITY_SCAN_DIR, use that registered scan. Follow its launch instructions, or the SDK handoff if the SDK provided no instructions.
  • For a scan without an SDK handoff, use the managed scan tools. With a supplied scan ID, call get_codex_security_scan_context using its handoff token when supplied. Without a scan ID, a confirmed Codex desktop host calls start_codex_security_prompt_only_scan with mode: "standard". Other hosts call start_codex_security_standard_scan. Pass the requested target, scope and exact user context. If deferred, look up just the named tool. Require a running Standard scan. Keep its target, scope, phase and token, follow the account access advisory only when directed at launch, and begin the source review. Use managed scan progress at the next phase change.

Keep the target read-only and review its current source offline. Preserve exact user context as analysis data. Only the parent may read an explicitly supplied URL, once, if the user explicitly authorized that read. Do not follow links. Keep an existing investigation allowance unchanged across workers and resumes. Only if the user requests a time limit in this conversation and none was supplied, render the time budget once before source review using the requested minutes and actual UTC start and deadline.

Read the full file on GitHub · 22 lines

Files

What ships with it

7 files 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. 7d ago Changed · -8 lines · -14 tokens per session 267f67780b1c
  2. 1mo ago Changed da6f375a0760
  3. 3mo ago First seen · 30 lines · 66 tokens per session scan A 5b8f5d7debec

Subscribe to this mod's changes

security-scan is a skill published in the GitHub repository bex-co/bex-security (53 stars, last pushed 2d ago), licensed Apache-2.0. It adds 52 tokens to every session and 661 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to security-scan, differing in 55 lines, and is treated as a copy.

Related

security-scan compared with skills from other repositories

security-scan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-scanbex-co/bex-securitySkill532d agoApache-2.0A52Codex
bugcrowd-reportingelementalsouls/Claude-BugHunterSkill28kyesterdayMITA171Claude Code
enterprise-vpn-attackelementalsouls/Claude-BugHunterSkill28kyesterdayMITA158Claude Code
hunt-atoelementalsouls/Claude-BugHunterSkill28kyesterdayMITA241Claude Code
cloud-iam-deepelementalsouls/Claude-BugHunterSkill28kyesterdayMITB238Claude Code
security-reviewcompozy/compozySkill2.9ktodayMITA61Claude Code
exa-searchcompozy/compozySkill2.9ktodayMITA60Claude Code, Codex