security-best-practices

Installation
Summary

Language and framework-specific security reviews with actionable vulnerability detection and fix guidance.

  • Supports Python, JavaScript/TypeScript, and Go with framework-specific best practices loaded from a references directory
  • Operates in three modes: secure-by-default code generation, passive vulnerability detection during development, and full security audit reports with severity prioritization
  • Generates detailed markdown reports with line-number references, impact statements, and numeric IDs for easy tracking and remediation
  • Provides fix recommendations that account for existing project functionality and follow the project's normal change and testing workflows
SKILL.md

Security Best Practices

Overview

This skill provides a description of how to identify the language and frameworks used by the current context, and then to load information from this skill's references directory about the security best practices for this language and or frameworks.

This information, if present, can be used to write new secure by default code, or to passively detect major issues within existing code, or (if requested by the user) provide a vulnerability report and suggest fixes.

Workflow

The initial step for this skill is to identify ALL languages and ALL frameworks which you are being asked to use or already exist in the scope of the project you are working in. Focus on the primary core frameworks. Often you will want to identify both frontend and backend languages and frameworks.

Then check this skill's references directory to see if there are any relevant documentation for the language and or frameworks. Make sure you read ALL reference files which relate to the specific framework or language. The format of the filenames is <language>-<framework>-<stack>-security.md. You should also check if there is a <language>-general-<stack>-security.md which is agnostic to the framework you may be using.

If working on a web application which includes a frontend and a backend, make sure you have checked for reference documents for BOTH the frontend and backend!

If you are asked to make a web app which will include both a frontend and backend, but the frontend framework is not specified, also check out javascript-general-web-frontend-security.md. It is important that you understand how to secure both the frontend and backend.

If no relevant information is available in the skill's references directory, think a little bit about what you know about the language, the framework, and all well known security best practices for it. If you are unsure you can try to search online for documentation on security best practices.

Related skills

More from openai/skills

Installs
2.5K
Repository
openai/skills
GitHub Stars
19.0K
First Seen
Feb 2, 2026