afrexai-cybersecurity-engine
БесплатноБез исполняемых скриптовНе проверенComplete cybersecurity assessment, threat modeling, and hardening system. Use when conducting security audits, threat modeling, penetration testing, incident…
от modbender★ 21 звезда на GitHubОб этом скилле
Cybersecurity Engine
Complete methodology for security assessment, threat modeling, vulnerability management, incident response, and security program design. No tools required — pure agent knowledge that works with any codebase, infrastructure, or organization.
Phase 1: Security Posture Assessment
Quick Health Check (5 minutes)
Run through these three tiers:
Tier 1 — Critical (fix today):
- Default credentials in production
- Secrets in source code or environment files committed to git
- No authentication on admin endpoints
- SQL injection in user-facing forms
- Unencrypted sensitive data at rest
- Public S3 buckets or cloud storage
- No HTTPS enforcement
- Root/admin running application processes
Tier 2 — High (fix this week):
- Dependencies with known CVEs (CVSS ≥ 7.0)
- No rate limiting on authentication endpoints
- Missing CSRF protection on state-changing operations
- Verbose error messages leaking stack traces
- No input validation on API endpoints
- Weak password policy (< 12 chars, no complexity)
- Session tokens in URL parameters
- No logging of authentication events
Tier 3 — Medium (fix this sprint):
- Missing security headers (CSP, HSTS, X-Frame-Options)
- No automated dependency scanning in CI
- Overprivileged service accounts
- No secret rotation policy
- Missing account lockout after failed attempts
- No security.txt or responsible disclosure policy
- Cookies without Secure/HttpOnly/SameSite flags
Score: Count failures. 0-2 = solid. 3-5 = needs work. 6+ = stop shipping features, fix security.
Full Assessment Brief
assessment:
name: "[Project/Org Name] Security Assessment"
date: "YYYY-MM-DD"
assessor: "[Agent/Person]"
scope:
applications:
- name: "[App Name]"
type: "web|api|mobile|desktop|iot"
tech_stack: "[languages, frameworks, DBs]"
hosting: "cloud|on-prem|hybrid"
cloud_provider: "aws|gcp|azure|other"
internet_facing: true|false
handles_pii: true|false
handles_payments: true|false
handles_phi: true|false # health data
infrastructure:
- servers: "[count, OS types]"
containers: true|false
orchestration: "k8s|ecs|nomad|none"
cdn: "[provider or none]"
dns: "[provider]"
third_parties:
- name: "[service]"
data_shared: "[what data]"
criticality: "high|medium|low"
compliance_requirements:
- "SOC 2|ISO 27001|GDPR|HIPAA|PCI DSS|SOX|none"
previous_incidents:
- date: "YYYY-MM-DD"
type: "[breach|vuln|misconfiguration]"
severity: "critical|high|medium|low"
resolution: "[what was done]"
risk_tolerance: "conservative|moderate|aggressive"
Phase 2: Threat Modeling (STRIDE+)
Step 1 — Decompose the System
For each application, draw the data flow:
[User] → [CDN/WAF] → [Load Balancer] → [Web Server] → [App Server] → [Database]
↘ [Cache]
↘ [Message Queue] → [Worker]
↘ [Third-party API]
↘ [Object Storage]
Identify trust boundaries — where privilege level changes:
- Internet → DMZ (public-facing services)
- DMZ → Internal network (app servers, DBs)
- App → Database (credential boundary)
- User → Admin (role boundary)
- Service → Service (API key boundary)
- Your infra → Third-party (trust boundary)
Step 2 — STRIDE Analysis Per Component
For EACH component crossing a trust boundary:
| Threat | Question | Example Attack |
|---|---|---|
| Spoofing | Can an attacker pretend to be someone else? | Stolen JWT, session hijacking, credential stuffing |
| Tampering | Can data be modified in transit or at rest? | Man-in-the-middle, SQL injection, parameter manipulation |
| Repudiation | Can someone deny they did something? | Missing audit logs, unsigned transactions |
| Information Disclosure | Can sensitive data leak? | Error messages, API over-fetching, side channels |
| Denial of Service | Can the service be overwhelmed? | DDoS, resource exhaustion, regex DoS |
| Elevation of Privilege | Can someone gain unauthorized access? | IDOR, broken access control, privilege escalation |
Step 3 — Threat Register
threats:
- id: "T-001"
component: "[affected component]"
category: "S|T|R|I|D|E"
description: "[specific attack scenario]"
attacker_profile: "external-unauthenticated|external-authenticated|internal|insider"
likelihood: 1-5 # 1=rare, 5=almost certain
impact: 1-5 # 1=negligible, 5=catastrophic
risk_score: 0 # likelihood × impact
existing_co
Установить afrexai-cybersecurity-engine в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл afrexai-cybersecurity-engine?
Complete cybersecurity assessment, threat modeling, and hardening system. Use when conducting security audits, threat modeling, penetration testing, incident response, or building security programs from scratch. Works with any stack — zero external dependencies.
Как установить скилл afrexai-cybersecurity-engine?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл afrexai-cybersecurity-engine запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic