opsec-discipline

Featured

Use when about to take any outward or offensive action (request, payload, persistence, lateral movement, exfil, or feeding captured traffic to the model) — to decide detection footprint, cleanup, and secret redaction first

DevOps & Infrastructure 382 stars 66 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
86
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
99
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# OPSEC Discipline ## Overview Decide the detection footprint and cleanup **before** acting, not after. Every offensive technique in this repo pairs with the telemetry it generates and a detection signature — use that pairing to choose the quieter path and to know what you'll need to clean up. ## Before acting, answer three questions 1. **Detection** — what telemetry does this generate? Which Sigma/EDR rule would catch it? (Each domain skill's OPSEC & Detection table has this.) Pick the lower-noise variant when one exists. 2. **Cleanup** — what does this touch (files, registry, services, accounts, tickets)? How is it reverted? Stage the cleanup before you create the artifact. 3. **Secret hygiene** — any captured traffic / output that reaches the model or the report must be redacted at the boundary: `python skills/coding-mastery/scripts/_lib/redact_headers.py < exchange.txt` (or `redact_text()`), so Authorization/Cookie/API-key/JWT values never land in context or the report. ## Red Flags — STOP, decide OPSEC first - "I'll worry about cleanup after I'm in" (you won't; decide now) - "Just paste the raw request/response" (redact secrets at the boundary first) - "Loudest exploit is fine, it works" (pick the variant with the smaller footprint) - "Persistence now, document later" (persistence on un-authorized hosts is out — see scope-discipline) - "The token's only in a log" (a logged secret is a leaked secret — mask it) ## Rationalizations | Excuse | Reality ...

Details

Author
hypnguyen1209
Repository
hypnguyen1209/offensive-claude
Created
4 months ago
Last Updated
5 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

opsec-review

Red-teams documents, code, READMEs, social posts, commit messages, and paste content for inadvertent operational security leakage before external exposure. Use when user says "review this before I post", "OPSEC check", "is this safe to share", "audit this README", "pre-flight check", "what does this reveal", "check before I push", or when preparing any artifact for public release, GitHub push, social media, client delivery, or external API submission. Distinct from PII redaction — focuses on what an adversary can INFER from context, metadata, structure, and timing signals, not just explicit identifiers.

0 Updated 2 months ago
fevra-dev
DevOps & Infrastructure Featured

scope-discipline

Use when about to send a request to, scan, enumerate, exploit, or otherwise interact with any host, IP, URL, or asset — before the first packet reaches a target

382 Updated 5 days ago
hypnguyen1209
AI & Automation Listed

sota-detection-engineering

State-of-the-art detection engineering, SOC, threat hunting, and incident response (2026). Use when BUILDING detective controls or SOC capability — Sigma/YARA/Falco/Tetragon/Suricata rules, detection-as-code, MITRE ATT&CK coverage, SIEM detections, alert triage and SOAR, threat hunts, threat-intel, deception, IR playbooks, or adversary emulation — AND when AUDITING detection & IR posture (can we detect this? does this alert fire?). Owns DETECTIVE controls, SOC workflow, hunting, and IR (sota-observability owns the telemetry pipeline). Trigger keywords: detection engineering, detection-as-code, Sigma, YARA, YARA-X, Falco, Tetragon, Suricata, SIEM, KQL, SPL, EQL, ATT&CK, Pyramid of Pain, threat hunting, threat intel, TIP, STIX, TAXII, IOC, IOA, TTP, SOC, alert fatigue, tuning, SOAR, runbook, incident response, IR playbook, NIST 800-61, PICERL, forensics, chain of custody, purple team, honeypot, honeytoken, canary, OCSF, MTTD, false positive, Active Directory, Kerberoasting, DCSync, golden ticket, ADCS, RBCD.

23 Updated today
martinholovsky