Reference docMembers

Frontend JavaScript/TypeScript Web Security Spec (Vanilla Browser JS/TS, Modern Browsers)

Frontend JavaScript/TypeScript Web Security Spec (Vanilla Browser JS/TS, Modern Browsers) is a reference document for Codex, from the OpenAI Codex skills collection by openai. The full text is about 5,399 words in 14 sections, with 20 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Frontend and IT and security who use Codex.

What it covers

  • 0 Safety, boundaries, and anti-abuse constraints MUST FOLLOW
  • 1 Operating modes
  • 1.1 Generation mode default
  • 1.2 Passive review mode always on while editing
  • 1.3 Active audit mode explicit scan request
  • 2 Definitions and review guidance
  • 2.2 Dangerous sink DOM XSS / code execution sink
  • 2.3 Required audit finding format
  • 3.2 Third-party scripts baseline SHOULD
  • 3.3 Cross-window communication baseline SHOULD

The full text is in the members library

Book a call and we will give you access to the full Codex library: every entry in full, search by meaning, copy and download.

Source: https://github.com/openai/skills/blob/main/skills/.curated/security-best-practices/references/javascript-general-web-frontend-security.md

Author: openai, OpenAI Codex skills. License: Apache-2.0.

Related entries