A Codex skill for reviewing other Codex skills and skill-like folders from a security research perspective.
It helps an agent answer questions such as:
- Does this skill contain suspicious code or prompt instructions?
- Could it leak credentials or workspace files?
- Does it execute shell commands, install dependencies, or contact the network?
- Are there risky parser patterns such as unsafe archive extraction or deserialization?
- What evidence supports the final security verdict?
SKILL.md- the main Codex skill workflow.scripts/static_skill_audit.py- a read-only static triage scanner.references/risk-taxonomy.md- severity guidance for security findings.references/report-template.md- a structured audit report template.agents/openai.yaml- UI metadata for Codex skill discovery.
Run the static scanner against a skill directory:
python scripts/static_skill_audit.py "C:\Users\you\.codex\skills\some-skill" --format markdownFor machine-readable output:
python scripts/static_skill_audit.py "C:\Users\you\.codex\skills\some-skill" --format jsonThe scanner reports suspicious patterns with file and line evidence, hashes files for reproducibility, and avoids executing target code.
- Inspect metadata and directory structure first.
- Run
static_skill_audit.pyfor triage. - Manually review each finding for reachability and intent.
- Classify severity using
references/risk-taxonomy.md. - Write the final report using
references/report-template.md.
This project is designed for defensive review. It defaults to static analysis and treats target skill content as untrusted.
It does not:
- execute target skill scripts,
- install target skill dependencies,
- upload files,
- delete or quarantine files,
- prove that a skill is malware-free.
Static analysis can find common risk indicators, but it cannot prove the absence of malicious behavior. Use antivirus, sandboxing, and manual code review when stronger assurance is required.
Place this folder under your Codex skills directory, for example:
C:\Users\you\.codex\skills\audit-skill-security
Then ask Codex to use $audit-skill-security when reviewing a skill folder.
No license has been specified yet. Add one before distributing or accepting external contributions.