Skip to main content
skill CX Codex GP ChatGPT official · OpenAI

define-security-policy — Codex skill: what it does, how to install

Helps author, review, and update SECURITY.md files so Codex Security knows project boundaries, invariants, and out-of-scope targets.

Install into Codex · Skills CLI (Vercel) All methods and platforms ↓
npx skills add openai/plugins --skill define-security-policy -a codex
Open on GitHub

What define-security-policy does

This skill writes and updates SECURITY.md files to guide the Codex Security scanner. It clarifies system boundaries, threat models, and required security properties for an entire repository or a single component. To discover active files, it executes launch_codex_security_mcp through a bundled Node runtime, filtering out Git metadata and ignoring policies larger than 1 MiB.

During review, the agent inspects source files, deployment notes, and tests as untrusted inputs. It asks at most three questions at once. It shows a complete diff before touching disk and never creates Git commits or branches without an explicit request. This skill is worth running when automated scanners flag irrelevant issues due to missing policy context.

What it helps with

  • document threat models and trusted boundaries in SECURITY.md
  • suppress scanner noise by recording accepted risks and exclusions
  • resolve inherited policy chains across root and nested components
  • verify existing security instructions against actual repository code

Example prompts for the agent

  • Draft a root SECURITY.md policy for Codex Security
  • Review existing security guidance against the code in backend/
  • Update our security invariants and exclude third-party test fixtures

How to install define-security-policy

1Skills CLI (Vercel)

npx skills add openai/plugins --skill define-security-policy -a codex

2Manually: put the files in place

.agents/skills/define-security-policy/SKILL.md

For all projects use ~/.agents/skills/

From the same set201

The whole set →
supabase official supabase Guides the agent through database configuration and strict RLS policies in Supabase. CX Codex GP ChatGPT 8installs remotion-render official Remotion Exports videos and static stills from Remotion projects using CLI commands. CX Codex GP ChatGPT 3installs figma-create-new-file official Figma Creates blank Figma, FigJam, or Slides files inside draft folders. It resolves planKey and editor types before invoking Figma MCP tools. CX Codex GP ChatGPT 6installs swiftui-performance-audit official OpenAI Pinpoints SwiftUI runtime issues like frame drops, unresponsive taps, and excessive view body computations. Works code-first and guides Instruments profiling. CX Codex GP ChatGPT 109installs swiftui-liquid-glass official OpenAI This skill helps build and review SwiftUI Liquid Glass interfaces for iOS 26+. Use it when adopting the API or checking fallbacks, interaction, and design fit. CX Codex GP ChatGPT 121installs swiftui-ui-patterns official OpenAI This skill helps build and refactor SwiftUI interfaces, from navigation and state to layouts and controls. Use it for new screens or changes to an existing project. CX Codex GP ChatGPT 114installs swiftui-view-refactor official OpenAI Refactors SwiftUI view files into clean, testable structures with dedicated subview types and proper Observation ownership. CX Codex GP ChatGPT 113installs ios-memgraph-leaks official OpenAI Captures and inspects iOS leaks from a simulator process or .memgraph. Useful for tracing retained objects and checking a fix with before-and-after evidence. CX Codex GP ChatGPT 1,054installs

Similar

Questions about define-security-policy

How to install define-security-policy in Codex?

Run npx skills add openai/plugins --skill define-security-policy in your terminal.

What does define-security-policy do?

It drafts or updates SECURITY.md guidance to tell Codex Security what assets matter, what invariants must hold, and which findings to ignore.

How does it handle nested security policies?

The skill evaluates policies from root to leaf directories. When guidance conflicts, the policy file closest to the reviewed code takes precedence.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor