Agent skill · Security

security-scan

Scan your OpenAI Codex configuration (.codex/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CODEX.md, settings.json, MCP servers, hooks, and agent definitions.

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill security-scan --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/security-scan/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Security Scan Skill Audit your OpenAI Codex configuration for security issues using [AgentShield](https://github.com/mehmet-turac/agentshield). ## When to Activate - Setting up a new OpenAI Codex project - After modifying `.codex/settings.json`, `CODEX.md`, or MCP configs - Before committing configuration changes - When onboarding to a new repository with existing OpenAI Codex configs - Periodic security hygiene checks ## What It Scans | File | Checks | |------|--------| | `CODEX.md` | Hardcoded secrets, auto-run instructions, prompt injection patterns | | `settings.json` | Overly permissive allow lists, missing deny lists, dangerous bypass flags | | `mcp.json` | Risky MCP servers, hardcoded env secrets, npx supply chain risks | | `hooks/` | Command injection via interpolation, data exfiltration, silent error suppression | | `agents/*.md` | Unrestricted tool access, prompt injection surface, missing model specs | ## Prerequisites AgentShield must be installed. Check and install if needed: ```bash # Check if installed npx ecc-agentshield --version # Install globally (recommended) npm install -g ecc-agentshield # Or run directly via npx (no install needed) npx ecc-agentshield scan

What's inside
Steps it walks through
  1. When to Activate
  2. What It Scans
  3. Prerequisites
  4. Usage
  5. Basic Scan
  6. Output Formats
  7. Auto-Fix
  8. Deep 4.6 Deep Analysis
  9. Initialize Secure Config
  10. GitHub Action
  11. Severity Levels
  12. Interpreting Results
  13. Critical Findings (fix immediately)
  14. High Findings (fix before production)
Commands it runs
Check if installed
npx ecc-agentshield --version
Install globally (recommended)
npm install -g ecc-agentshield
Or run directly via npx (no install needed)
npx ecc-agentshield scan .
Scan current project
npx ecc-agentshield scan
Scan a specific path
npx ecc-agentshield scan --path /path/to/.codex
More from everything-openai-codex
All skills →
About this skill
What does the security-scan skill do?

Scan your OpenAI Codex configuration (.codex/ directory) for security vulnerabilities, misconfigurations, and injection risks using AgentShield. Checks CODEX.md, settings.json, MCP servers, hooks, and agent definitions.

How do I install it?

Run `npx skills add mturac/everything-openai-codex --skill security-scan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going