cybrking

Thr8 — Security skill for Claude Code

Security community

Automatically generate PASTA threat models from your repo using Claude AI.

How to install Thr8

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cybrking/thr8 and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Thr8 does

Automatically generate PASTA threat models from your repo using Claude AI.

Alternatives in Security

  • Security Threat Model — Generate repo-specific threat models identifying trust boundaries 14.6k ★
  • Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
  • Refresh Specs — Tier-2 spec refresh — dump models_explore (video/image/audio/3d), sync specs, cross-check vs the live CLI, aud 832 ★

README

thr8 — PASTA Threat Model Generator

[![GitHub Action](https://img.shields.io/badge/GitHub_Action-PASTA_Threat_Model-red?logo=github-actions&logoColor=white)](https://github.com/marketplace/actions/pasta-threat-model-generator)

A GitHub Action that automatically generates PASTA (Process for Attack Simulation and Threat Analysis) threat models by analyzing your repository's code, infrastructure, and dependencies. Collects source files and uses Claude for system discovery, data-flow inference and threat reasoning. Also includes a Claude Code plugin for reviewed security context and feature/diff reviews.

Features

  • Automatic codebase scanning — Detects languages, frameworks, databases, auth mechanisms, and security controls
  • Infrastructure analysis — Parses Terraform, Docker Compose, and Kubernetes configurations
  • API surface mapping — Discovers endpoints, authentication requirements, and sensitive data handling
  • PASTA threat modeling — Full 7-stage framework: business objectives, attack surfaces, kill chains, and risk analysis
  • Multiple output formats — Markdown (with Mermaid diagrams), JSON, HTML, and optional PDF
  • Automated remediation — Creates GitHub Issues for findings and AI-generated fix PRs for critical vulnerabilities
  • CI/CD integration — Fail builds on critical-risk findings, upload reports as artifacts

Claude Code workflow

thr8 maintains reviewed security context and applies it to proposed software changes. Start with these commands inside a target repository:

# Clone thr8 elsewhere, then launch Claude Code from the repository to review:
claude --plugin-dir /absolute/path/to/thr8/plugins/thr8
/thr8:threat-model
/thr8:review main
/thr8:review External collaborators can mention eligible thread participants

`/thr8:threat-model` drafts or updates `security/threat-model.md` with code citations, assets, boundaries, control scope, uncertainties and threat decisions. Human review establishes