Skip to content

Development & Engineering

Security and OWASP

Free

Secure coding standards based on OWASP Top 10 2025, with anti-patterns, framework fixes and LLM security.

Difficulty intermediate
Version v1.1

Purpose

Install the original Security and OWASP instruction file from github/awesome-copilot and use it in GitHub Copilot.

Procedure

--- name: copilot-security-owasp description: Secure coding standards based on OWASP Top 10 2025, with anti-patterns, framework fixes and LLM security. ---

Security and OWASP

Purpose

Install the original Security and OWASP instruction file from github/awesome-copilot and use it in GitHub Copilot.

Procedure

Source: https://github.com/github/awesome-copilot/blob/main/instructions/security-and-owasp.instructions.md Maintainer: GitHub (github/awesome-copilot). Skilling lists this instruction file; the original lives in that repository.

Install

mkdir -p .github/instructions
curl -fsSL https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/security-and-owasp.instructions.md -o .github/instructions/security-and-owasp.instructions.md

Run this in the root of your repository. Copilot applies the file to the paths in its applyTo line. Commit the file so the whole team gets it.

What it does

  • OWASP Top 10 2025
  • 55+ anti-patterns
  • AI and LLM security guidance

How to use it

Copilot applies it to every file.

Example requests

1. Use Security and OWASP

Request: Copilot applies it to every file. Expected: OWASP Top 10 2025.

Dependencies

GitHub Copilot in a repository, and curl.

Compatibility

This document follows the Agent Skills layout (a folder named copilot-security-owasp containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.

Example prompts

Use Security and OWASP

Copilot applies it to every file.

Expected: OWASP Top 10 2025.

Choose the agent

This skill is installed for one agent at a time. Pick the section you are using.

Related

  • Code Review

    Generic code review instructions for Copilot that you can tune for your project.

  • Playwright TypeScript

    How Copilot should write Playwright tests in TypeScript: locators, assertions and structure.

  • Node.js + Vitest

    Guidelines for Node.js and JavaScript code tested with Vitest.

Reviews

No reviews yet.

    Sign in to review.

    Report a problem

    Inaccurate steps, an unsafe instruction, or a licensing concern.

    Sign in to report.