Install
$ agentstack add skill-arttapon1-defensive-soc-skills-soar-playbook-builder ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
SOAR Playbook Builder
Turn a detection into an automated, auditable response: enrich the indicator, decide with explicit logic, act through device APIs, and always leave a rollback path. Playbooks are authored vendor-neutral, then bound to concrete integrations.
> Safety first — automation that blocks production traffic can cause outages. > Every generated playbook defaults to dry-run, requires an approval gate for > any destructive/blocking action on production, scopes blocks with a TTL/expiry, > and ships with a rollback step. Only operate against infrastructure you are > authorized to control.
Activation triggers
- The user wants to auto-enrich alerts with threat intel.
- The user wants to auto-block/contain IOCs on firewall / WAF / IPS / DLP / EDR.
- The user wants to orchestrate a multi-step response with decision logic.
Design principles
- Enrich before you act. Never block on a raw indicator. Gather reputation from multiple sources and require a confidence threshold.
- Human-in-the-loop for blast radius. Auto-act on low-risk, reversible steps; gate anything that can break production behind an approval.
- Everything is reversible & time-boxed. Blocks carry a TTL and an explicit rollback action. Log every action with who/what/when/why.
- Idempotent & rate-aware. Re-running must not double-apply. Respect API rate limits and back off.
- Fail safe, not open. On integration error, alert a human — do not silently drop the response.
Workflow
- Define the trigger. What detection/alert starts this playbook? (Handoff from
siem-detection-engineer.) Capture the indicator(s) and context.
- Enrichment stage. Choose intel sources from
resources/integration-catalog.md. Usescripts/enrich_ioc.pyas the reference client (VirusTotal, AbuseIPDB, OTX, Group-IB placeholders). Compute an aggregate risk score and confidence.
- Decision logic. Write explicit conditions: e.g.
if malicious_votes >= N and confidence == high -> block; elif suspicious -> tag + escalate; else -> close as FP. No implicit "always block."
- Response actions. Map each action to a device integration in
resources/integration-catalog.md. Usescripts/respond_block.pyas the reference client for firewall/WAF blocking with dry-run, TTL, and rollback. Sequence: contain → notify → ticket.
- Guardrails. Add: allowlist of never-block assets (corp ranges, partners, monitoring), max-actions-per-run circuit breaker, approval gate for production, and full audit logging.
- Emit the playbook. Fill
templates/playbook-template.yml— a vendor-neutral spec with trigger, enrichment, decision, actions, guardrails, rollback. Optionally note how it maps to a specific platform (Cortex XSOAR, Splunk SOAR, Tines, Shuffle, native SIEM automation).
- Test plan. Provide a dry-run walkthrough with a sample alert, expected decision, and the exact API calls that would fire (without firing them).
Output format
- Playbook YAML (vendor-neutral) per the template.
- A decision table (condition → action).
- Integration binding notes (which API, which credential, which endpoint).
- A dry-run test walkthrough.
- Guardrail & rollback summary.
Handoffs
- Triggered by detections from
siem-detection-engineer. - Blocked/contained IOCs and actions taken → feed back into
ir-report-builderfor the incident record.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: arttapon1
- Source: arttapon1/defensive-soc-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.