security-best-practices
- Use it when:
- You explicitly ask for secure-by-default code, a security review or a security report on a Python, JavaScript/TypeScript or Go project.
- It does:
- Identifies every language and framework in scope, frontend and backend, and reads the skill's matching security guides before it writes or reviews.
- Three modes:
- Writes secure code from then on, flags only high-impact issues while you work, or audits the whole codebase when you ask.
- You get:
- security_best_practices_report.md: an executive summary, numbered findings by severity with line numbers, then fixes one finding at a time once you agree.
- Careful with:
- TLS: it doesn't report missing TLS as a flaw, sets secure cookies only for apps served over TLS, and avoids recommending HSTS, which it calls dangerous.
TL;DR
A security skill from OpenAI's catalog of Codex skills. It first works out every language and framework the project uses, then reads the guides in its references folder that match, named by language, framework and stack, plus a general guide for the language; for a web app it checks both frontend and backend. With no matching guide it falls back on well-known practices and, in a report, says that concrete guidance wasn't available. From there it either writes secure-by-default code, quietly watches for major vulnerabilities while working on your code, or produces a full report: an executive summary, findings grouped by severity with numeric IDs, line numbers and a one-sentence impact for critical ones, saved to security_best_practices_report.md unless you choose another place. Fixes come one finding at a time, after you agree, each with a short comment on the practice behind it, a check for regressions, and your usual tests and commit flow, without bundling unrelated findings into one commit. It follows project documentation that overrides a practice rather than fighting you. It doesn't trigger for general code review. The openai/skills repository is marked deprecated; its README points to openai/plugins for current Codex skills.
Summarizes the skill at 49f948f.
npx skills add https://github.com/openai/skills --skill security-best-practices skills.sh pageSource on GitHubAll skills from openai/skills
- Total Downloads
- 12,100 on skills.sh, Nov 9, 2026
- Repo stars
- 28,602 openai/skills
- First seen
- Feb 2, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 508 |
| Sep 28 | 435 |
| Oct 5 | 497 |
| Oct 12 | 401 |
| Oct 19 | 498 |
| Oct 26 | 475 |
| Nov 2 | 456 |
| Nov 9 | 426 |
| Category |
Compliance, guardrails, skill vetting and browser fingerprinting. Find root causes, review code and test what you built. Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills. |
|---|---|
| Type |
A multi-step process the agent follows: interview, debug, run a TDD loop, review. |
| Effect |
Its own steps create or change files, git state or local tools. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
A verified publisher on skills.sh, or the company or maintainer behind the product the skill operates. |
| Topics | |
| Stack |
SKILL.md
No copy of its SKILL.md yet.