Index of every page on this site: llms.txt
All skills
bacoco avatar

/bmad-security-review

@58378b1
by Baconnier Loicbacoco/bmad-skills67 stars
11
Run it yourself

Hardens designs and implementations with structured security reviews.

Use this Skill: https://skilld.dev/gh/bacoco/bmad-skills/bmad-security-review

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈23 tokens for metadata: the name and description. ≈759 when used: this file. ≈1.4k more on demand in 4 files.

Description uses 1.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈92 characters, or 1.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

BMAD Security Review Skill

When to Invoke

Activate this skill whenever the user:

  • Requests a security, privacy, or compliance review of a feature or system.
  • Mentions threat modeling, secure design, risk assessment, or penetration testing.
  • Asks for guidance on hardening infrastructure, APIs, data flows, or deployment pipelines.
  • Needs a remediation backlog prior to launch or certification.
  • Receives external audit findings that must be triaged and addressed.

Do not invoke when the user only needs implementation help with security stories—route those to bmad-development-execution once the remediation plan exists.

Mission

Protect the product by exposing security risks early, prioritizing fixes, and embedding mitigations into the delivery plan. Deliver artifacts that downstream skills and teams can execute without ambiguity.

Inputs Required

  • Architecture decisions, diagrams, or code references (docs/architecture.md, repositories, infrastructure manifests).
  • Current product requirements, especially data handling and auth flows.
  • Any existing penetration test reports, compliance requirements, or known incidents.
  • Deployment environment details (cloud provider, runtimes, integrations).

If critical context is missing, schedule discovery steps in WORKFLOW.md before producing findings.

Outputs

  • Threat model covering data flows, trust boundaries, STRIDE analysis, and mitigations using templates in assets/.
  • Security gap assessment summarizing findings by severity with clear owners and due dates.
  • Remediation backlog with prioritized user stories and acceptance criteria ready for bmad-story-planning.
  • Optional compliance checklists (SOC2, HIPAA, GDPR) when requested.

Process

  1. Confirm prerequisites are satisfied (architecture + test strategy). Request missing artifacts.
  2. Map system boundaries and data classifications. Document entry points and critical assets.
  3. Run threat modeling workshops: enumerate threats via STRIDE/LINDDUN and rate likelihood × impact.
  4. Review code, dependencies, and infrastructure for known vulnerabilities or misconfigurations.
  5. Summarize findings with severity, evidence, and references to assets or standards violated.
  6. Translate mitigations into actionable backlog items. Align with release timelines.
  7. Provide launch go/no-go recommendation and residual risk statement.

Quality Gates

  • No critical/high risks without documented mitigation and owner.
  • Threat model reviewed against latest architecture diagram.
  • Remediation backlog linked to acceptance criteria consumable by dev/test skills.
  • Compliance requirements traced to controls or follow-up activities.

Error Handling

  • If findings rely on missing context, pause and obtain evidence before finalizing reports.
  • Escalate systemic issues (e.g., absence of IAM, encryption gaps) to product leadership via orchestrator.
  • Document assumptions; flag when runtime verification (DAST/SAST) is required beyond conversational review.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo4 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill focuses on performing security reviews and threat modeling. While it is generally safe, it analyzes external project documentation and codebases, which creates a potential surface for indirect prompt injection where malicious instructions could be embedded in the files being reviewed.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer9mo

    5/5 files flagged

Signed by skilld at 58378b1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated last year
What it can do
Reads files Edits files
All 3 allowed tools
ReadWriteGrep
Other metadata
metadata
{
  "auto-invoke": true,
  "triggers": {
    "patterns": [
      "threat model",
      "security review",
      "penetration test",
      "secure this",
      "hardening plan",
      "security requirements",
      "compliance gap"
    ],
    "keywords": [
      "security",
      "threat-model",
      "vulnerability",
      "secure",
      "harden",
      "compliance",
      "privacy"
    ]
  },
  "capabilities": [
    "threat-modeling",
    "secure-design",
    "dependency-audit",
    "remediation-planning",
    "compliance-checks"
  ],
  "prerequisites": [
    "bmad-architecture-design",
    "bmad-test-strategy"
  ],
  "outputs": [
    "threat-model",
    "security-gap-assessment",
    "remediation-backlog"
  ]
}

README badge

README badge for bacoco/bmad-skills/bmad-security-review