Rules first. Then tools.
Our internal rules of engagement, written down before any tool ever ran, and changed only by the person who owns the lab.
By Jason Nevill · Last updated November 19, 2026
These are our own rules for testing our own infrastructure. Only systems we own are in scope, nothing active starts without a written scope, every target is checked against a signed list first, and a person approves the first active step and, separately, anything after it. AI may help with defense, but it never tests or attacks anything.
What may be tested?
Only infrastructure we own and control: the homelab, our own VPS, our own devices, networks, domains and subdomains, and targets we deliberately set up for practice. Third-party systems are never tested.
Scope is never widened just because a tool discovered a connection to something else. If a discovered asset looks like it belongs to someone else, testing of that asset stops and the discovery is reported.
Written down before anything active
Nothing beyond passive, non-invasive checks starts until all of this is settled.
Targets
The exact addresses, domains, applications, wireless networks and cloud accounts in scope, and what is excluded.
Window
When testing may happen, and which systems need special care.
Backups
What has to be backed up before testing starts.
Ownership check
Each target is matched against a signed scope manifest; anything not on it is refused automatically.
Emergency stop
How to stop everything at once, and who can call it.
Two approval gates
A human approves the first active step, and separately approves anything further.
What's allowed, and what never is?
| Area | Allowed (in scope) | Never allowed |
|---|---|---|
| Availability | Low-rate, rate-limited checks. | Denial of service, traffic flooding or stress testing. Nothing that disrupts a production service. |
| Data | Harmless proof tokens and redacted metadata. | Destroying or altering real data, or copying databases. |
| Targets | Hosts, domains and services named in the written scope. | Anything not ours, including the third-party services we rely on. |
| Active checks | A non-destructive check, run by a person after Gate 1. | Destructive payloads, ransomware-like behavior, or leaving persistence behind. |
| Simulated attacks | Approved, pinned single-technique tests against the disposable target, after a human approves the run. | Improvised techniques, real command-and-control frameworks, or any run against a production host. |
| AI | Triage, de-duplication, ATT&CK mapping, log analysis, detection and fix drafts (Defense Access). | Planning attacks, writing attack or exploit code, scanning, probing, launching any test, approving anything. |
| Risky techniques | A safer way to validate the same thing, proposed first. | Going ahead with something that could destabilize a system without explicit approval. |
What is always a human decision?
Only a human can approve spending money, public or social media posts, outbound messages to outside parties, creating or changing credentials and secrets, destructive data, storage or backup operations, exposing a port to the internet, and authorizing any security testing.
Purple-team exercises
The same rules apply, with a few extras because the exercise uses real, public attacker techniques, launched by a person against a disposable target.
Disposable target only
Techniques run against a purpose-built target that is snapshotted before every run and rolled back afterwards. Production hosts are never the target.
Stays inside its zone
The attack host and the target sit in an isolated lab segment. A technique that needs to reach beyond it is changed, not allowed to widen the scope.
Approved list, pinned versions
Only techniques on the written list are run, from public test libraries pinned to a specific commit. Nothing is improvised, and AI does not author attack code.
A person approves each run
A human approves the technique list, the window and every security change that follows. Automation prepares the run; it can’t approve it.
Announced, not hidden
The test window is posted to the chat channel first, and the resulting alerts are delivered to people as normal, because the human response is part of what is being tested.
Same stop button
The emergency stop below applies, and the attack host can be halted by a single command.
What each exercise looks like is on the Purple Team page.
Emergency stop
Something looks wrong
Anyone can call it
Kill switch
Tooling stopped, network dropped
Check and restore
From the pre-test backup if needed
Write it up
What happened and what changes
The two approval gates are explained on Methodology; purple-team rules on Purple Team; what has to be backed up first is on N+2 & Backup; and the defensive side is on Blue Team. Only the person who owns the lab may change this policy, and changes are versioned in git.
Frequently asked questions
- What are rules of engagement?
- The written rules for what may be tested, when, how and by whom, agreed before any tool runs.
- What may be tested?
- Only infrastructure we own and control. Third-party systems are never tested.
- What happens if a tool finds something that isn’t ours?
- Testing of that asset stops and the discovery is reported. Scope is never widened because a tool found a connection.
- What is never allowed?
- Denial of service or flooding, destroying or altering real data, leaving persistence behind, improvised techniques, and anything against a system that is not ours.
- What may AI do?
- Triage, de-duplication, ATT&CK mapping, log analysis, and drafting detections and fixes. It never plans attacks, writes attack or exploit code, scans, probes, launches any test or approves anything.
- Which actions always need a human?
- The decisions listed in the "What is always a human decision?" section above.
- Who can stop a test?
- Anyone. The emergency stop drops the tooling and the test laptop’s network.
Glossary
- Rules of engagement:
- The written rules for what may be tested and how.
- Scope:
- The exact list of what is in bounds.
- Signed scope manifest:
- The signed file the test laptop trusts as its list of targets.
- Fail-closed:
- When a check cannot confirm something is allowed, it refuses.
- Emergency stop:
- A control that stops all testing at once.
- Disposable target:
- A purpose-built machine that is snapshotted before every run and rolled back after.
Who built this: Jason Nevill.