3-security-spec

Create a failing test reproducing the top backlog security vulnerability.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/opsMachine/OM-Agency --skill 3-security-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 3-security-spec
Source: https://github.com/opsMachine/OM-Agency/tree/main/skills/3-security-spec
Command: npx skills add https://github.com/opsMachine/OM-Agency --skill 3-security-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Phase 3 of the security audit pipeline provides a controlled red-phase by writing a failing test that reproduces the top vulnerability, ensuring the issue is observed before fixes.

Core Features & Use Cases

  • Red-phase test creation: Create a deterministic failing test that reproduces the top backlog vulnerability.
  • Documentation of repro path: Record the test path and expected failure to guide Phase 4 fixes.
  • Audit pipeline alignment: Fits within the four-phase security workflow to validate vulnerability repro before remediation.

Quick Start

Create a new test file (e.g., tests/security/exploit_repro.test.ts) that reproduces the top backlog vulnerability and run the test suite to observe the expected failure.

Frequently Asked Questions about 3-security-spec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a failing test to reproduce a security vulnerability?

A vulnerability reproduction test is a deterministic failing test created in a new file to trigger the top backlog security issue. It validates the vulnerability exists in a controlled red-phase before applying any production code fixes.

What is a red-phase test in TDD security audits?

A red-phase test in security audits is a failing test that deterministically reproduces a known vulnerability. It provides a controlled observation point to confirm the security issue exists before moving into the remediation phase.

How do I document a vulnerability reproduction path for later remediation?

Document the vulnerability reproduction path by recording the new test file location and the expected failure output. This documentation guides the subsequent remediation phase by proving the issue is reproducible.

Does writing a vulnerability reproduction test require modifying production code?

No, writing a vulnerability reproduction test does not require modifying production code. You create a new dedicated test file to safely trigger and observe the security failure without altering the existing application logic.

When do I need to create a failing test for a security backlog item?

You need to create a failing test during the third phase of a security audit pipeline. This step validates the reproducibility of the top backlog vulnerability, ensuring the issue is observed before you proceed to remediation.