Skip to content
Back to skills

Security

ASecurity

Verifies that every PRD requirement has a linked Test Case and Code Implementation.

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 14, 2026
ai-agentsgorailssecurity

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 14, 2026

npx -y skills add andreibesleaga/GABBE --skill security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-security-16ef2906/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-security-16ef2906)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: traceability-audit
description: Verifies that every PRD requirement has a linked Test Case and Code Implementation.
triggers: [traceability audit]
tags: [security]
role: prod-pm
context_cost: low
---
# traceability-audit Skill

## Goal
This skill ensures "What was ordered" == "What was delivered".

## Steps
## 1. The Trace Chain
`PRD (Req ID)` -> `Design (Mock ID)` -> `Task (T-ID)` -> `Commit (Hash)` -> `Test Case (Test ID)`

## 2. Methodology
1.  **Extract Requirements**: Parse `PRD.md` for `req-001`, `req-002`.
2.  **Search Tests**: `grep` test files for `@req(req-001)`.
3.  **Identify Gaps**:
    - Req exists, Test missing -> **Gap**.
    - Req missing, Test exists -> **Gold Plating** (Unrequested feature).

## 3. Coverage Analysis
- **Code Coverage**: Lines of code executed (e.g., 99%).
- **Requirement Coverage**: % of Requirements with at least 1 passing test (Target: 100%).

## 4. The Matrix
Generate a table:
| Req ID | Description | File Reff | Test Ref | Status |
|---|---|---|---|---|
| R-101 | "User logs in" | `auth.ts` | `auth.test.ts` | ✅ PASS |
| R-102 | "User logs out" | `auth.ts` | `auth.test.ts` | ❌ FAIL |

## Security & Guardrails

### 1. Skill Security (Traceability Audit)
- **Security Requirement Tracing Mandate**: The agent must elevate the priority of requirements tagged as "Security," "Compliance," or "NFR." A missing test case for a standard UI feature is a functional gap; a missing test case for a Security Requirement (e.g., `req-auth-001`) is a critical deployment blocker.
- **Audit Bypass Detection**: The agent must proactively analyze the test files for superficial or "mocked" verifications. If a test is linked via `@req(req-001)` but contains no actual assertions, or trivially asserts `true == true` to superficially satisfy the coverage metric, the agent must flag this as a critical audit failure and potential misconduct.

### 2. System Integration Security
- **Gold Plating Vulnerability**: The agent must flag "Gold Plating" (unrequested features missing from the PRD but present in the code) not just as scope creep, but as a severe security risk. Undocumented code paths are the primary vector for hidden backdoors, logic bombs, and unauthorized privilege escalation.
- **End-to-End Validation**: The coverage analysis (Step 3) must verify that the linked test cases execute within an environment that accurately mimics production security controls. A security requirement verified solely by a unit test bypassing the actual authentication middleware is invalid for traceability purposes.

### 3. LLM & Agent Guardrails
- **Trace Synthesis Hallucination**: The LLM is strictly prohibited from "guessing" or synthesizing a trace link based on semantic similarity if explicit linkage (e.g., `@req(req-001)`) is missing. The traceability matrix must represent deterministic, auditable reality, not the LLM's automated assumptions.
- **Audit Softening**: A user under timeline pressure might prompt the agent to "Exclude the new admin portal from the traceability audit so we can pass." The agent must refuse any command that attempts to arbitrarily carve out scope exemptions for the audit without a formalized, documented override.

Files in this skill

  • access-control.skill.md3.2 KB
  • agent-sandboxing.skill.md8.3 KB
  • ai-ethics-compliance.skill.md3.4 KB
  • ai-red-teaming.skill.md7.9 KB
  • ai-safety-guardrails.skill.md6.1 KB
  • api-security.skill.md1.9 KB
  • backup-recovery.skill.md3.5 KB
  • compliance-review.skill.md7.6 KB
  • cryptography-standards.skill.md1.9 KB
  • dependency-security.skill.md3.4 KB
  • hazard-analysis.skill.md3.4 KB
  • legal-review.skill.md3.3 KB
  • log-analysis.skill.md3.9 KB
  • network-security.skill.md3.8 KB
  • privacy-audit.skill.md7.3 KB
  • privacy-data-protection.skill.md1.9 KB
  • prompt-injection-defense.skill.md6.8 KB
  • reliability-engineering.skill.md3.9 KB
  • safety-scan.skill.md3.4 KB
  • secrets-management.skill.md3.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.