deep-security-scan

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

A guide for running repeated, repository-wide or scoped-path security reviews with Codex Security. It combines multiple independent standard scans to reduce the chance that a review misses a vulnerability.

In plain words
What is it for?
Use it when requesting a deep, multi-pass, or variance-reducing security scan of an entire repository or a specified path.
Why use it?
It is intended for exhaustive reviews where one pass may not provide enough coverage. The separate scans are aggregated into a canonical report.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when requesting a deep, multi-pass, or variance-reducing security scan of an entire repository or a specified path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bex-co/bex-security/deep-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 deep-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 deep-security-scan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bex-co/bex-security/deep-security-scan"><img src="https://agentmods.dev/badge/skills/bex-co/bex-security/deep-security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 662 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 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.00050 $0.00662
Opus 5.5 $0.00020 $0.00265
Sonnet 5.5 $0.00010 $0.00132
Haiku 4.5 $0.00005 $0.00066

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

Security

Grade A, and why

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

91% identical to deep-security-scan — 57 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/deep-security-scan/SKILL.md · 15 lines

What it actually says

Deep Security Scan

The host runs Standard audits and merges their findings. Workers in the same scan can exchange investigation leads and verify each other’s evidence. Later passes receive the titles and locations already reported. The host stops when consecutive audits add nothing new or the configured scan or time limit is reached. Its final report includes every accepted audit.

  1. Resolve the authorized target and scope. For a scoped directory use that directory as targetPath and scope: ".". For a continuation, call get_codex_security_scan_context with its scanId and supplied handoffClaimToken. Use its saved identity and scope. If its mode is Standard or diff, continue with the corresponding scan skill. Follow ../../references/scan-prologue.md for source access and context updates.
  2. For a new target, call inspect_codex_security_setup({ targetPath, scope: ".", mode: "deep", projectConfigPath? }). Show the effective settings and their sources. max_discovery_runs caps the total number of Standard scans, including when several run together. Pass a project file only when the user selected it. Existing scans use their saved configuration.
  3. For a newly launched native scan with a supplied scan ID, inspect otherRunningDeepScans in the result of get_codex_security_scan_context once. Target-based setup previews have no scan ID. If another Deep scan is active, show its target, phase and human-friendly start time. Explain the additional CPU, memory and token use. Offer Cancel (Recommended) and Continue using request_user_input, then request_codex_security_user_input or plain chat if unavailable. Wait for an explicit choice. A dismissed dialog is not a cancellation. Cancel only the new scan if requested.
  4. Follow ../../references/access-advisory.md, then call start_codex_security_deep_scan({ scanId, handoffClaimToken? }) for an existing scan or start_codex_security_deep_scan({ targetPath, scope: ".", userContext?, projectConfigPath? }) for a new target. Reuse the project file selected at setup. Await the tool. If the tool runner returns a running cell ID, wait on that cell until it returns the scan result. If the connection closes, rejoin with the same arguments. Report a terminal failure with its saved results. For a policy refusal, identify the worker from its saved error when available. On explicit cancellation call cancel_codex_security_scan({ scanId }) from the owning thread.
  5. For an SDK-owned scan, return the host's scan ID and manifest path so the SDK can finalize it. When the tool returns completion, link its generated report.md and canonical artifacts. Use completion.scan.usage and any separate cost estimate to report usage per ../../references/final-report.md. Distinguish a completed audit with zero findings from a deadline reached before any audit completed.
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. 7d ago Changed · -66 lines · -37 tokens per session 1d8328232b22
  2. 1mo ago Changed e3e758d1a6b9
  3. 2mo ago Changed · +4 lines 558be794580f
  4. 2mo ago Changed · +2 lines 9f6dd957c289
  5. 3mo ago First seen · 75 lines · 87 tokens per session scan A 907b14ab5d79

Subscribe to this mod's changes

deep-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 50 tokens to every session and 662 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to deep-security-scan, differing in 57 lines, and is treated as a copy.

Related

deep-security-scan compared with skills from other repositories

deep-security-scan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deep-security-scanbex-co/bex-securitySkill532d agoApache-2.0A50Codex
bugcrowd-reportingelementalsouls/Claude-BugHunterSkill28kyesterdayMITA171Claude Code
enterprise-vpn-attackelementalsouls/Claude-BugHunterSkill28kyesterdayMITA158Claude Code
hunt-api-misconfigelementalsouls/Claude-BugHunterSkill28kyesterdayMITA207Claude Code
hunt-atoelementalsouls/Claude-BugHunterSkill28kyesterdayMITA241Claude Code
cloud-iam-deepelementalsouls/Claude-BugHunterSkill28kyesterdayMITB238Claude Code
security-reviewcompozy/compozySkill2.9ktodayMITA61Claude Code