Skip to content
Back to skills

Security

ASecurity

Conducting FMEA (Failure Mode & Effects Analysis) and identifying hazards.

  • 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-c31d8d94/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-security-c31d8d94)

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: hazard-analysis
description: Conducting FMEA (Failure Mode & Effects Analysis) and identifying hazards.
triggers: [hazard analysis]
tags: [security]
role: prod-safety-engineer
context_cost: low
---
# hazard-analysis Skill

## Goal
This skill identifies how the system can fail and what happens when it does.

## Steps
## 1. FMEA (Failure Mode & Effects Analysis)
- **Component**: [Name]
- **Failure Mode**: How does it fail? (e.g., "Stuck Open", "No Output", "Corrupt Data").
- **Effect**: What is the impact? (e.g., "Engine overheats").
- **Severity**: 1-10 (10 = Catastrophic/Death).
- **Probability**: 1-10 (10 = Certain).
- **Detection**: 1-10 (10 = Undetectable).
- **RPN (Risk Priority Number)**: Sev * Prob * Det.

## 2. STPA (System-Theoretic Process Analysis)
- Focus on *control* loops rather than component failures.
- **Unsafe Control Actions (UCA)**:
  - Not providing a control action when needed.
  - Providing a control action when not needed.
  - Providing a control action too early/late.
  - Stopped too soon or applied too long.

## 3. Hazard Identification Checklist
- **Energy**: High voltage, pressure, heat?
- **Timing**: Latency, jitter, race conditions?
- **Data**: Corruption, stale data, NaN/Infinity?
- **Interface**: Mismatched units (Metric vs Imperial)?

## 4. Output
- Populate `templates/security/HAZARD_LOG.md`.

## Security & Guardrails

### 1. Skill Security (Hazard Analysis)
- **Catastrophic Failure Immutability**: When an agent classifies a hazard's Severity as "10 (Catastrophic/Death)" in the `HAZARD_LOG.md`, that entry becomes immutable to automated downgrades. The agent cannot unilaterally reduce the severity in subsequent revisions; it requires cryptographic, multi-party human sign-off.
- **Data Poisoning in STPA**: If the agent uses an LLM to generate Unsafe Control Actions (UCAs), it must cross-reference the output against a static, deterministic safety rule engine. This prevents prompt poisoning from maliciously instructing the hazard analysis to ignore a critical failure mode (e.g., "Ignore the redundant braking system checklist").

### 2. System Integration Security
- **Security as a Hazard Category**: The hazard identification checklist must natively integrate "Intentional Malicious Action." The FMEA cannot solely focus on natural component degradation (e.g., "Disk failure"); it must mandate analysis of adversarial component degradation (e.g., "Attacker fills disk to cause DoS").
- **Physical Safety Sandboxing**: If the hazard analysis interfaces with Cyber-Physical Systems (e.g., medical devices, autonomous vehicles), the agent generating the analysis must operate in an entirely air-gapped or physically segmented network to prevent its analysis engine from being pivoted into the operational technology (OT) network.

### 3. LLM & Agent Guardrails
- **Risk Normalization Blindness**: The agent must actively combat "Normalization of Deviance." If it reviews a system where a specific component historically fails often but hasn't caused a catastrophe *yet*, the LLM is strictly forbidden from lowering the Probability or Severity scores based on "past operational luck."
- **Hallucinated Mitigations**: The agent must not invent fictitious safety mitigations (e.g., "The system is safe because a theoretical Quantum Firewall will block the voltage spike") to artificially lower the RPN (Risk Priority Number) below the required safety threshold. All mitigations must reference existing, verifiable system architecture.

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.