engagement-setup
Skill2 starsChanged 15 days agoMITView on GitHub
Write and check the scope file for a Mythos engagement. Use before a run against a new target, when importing a bug-bounty program's rules, and to look up what the scope file actually controls.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- anotb/management-consulting-plugintheir own version, first seen Nov 1, 2026
- dotlabshq/cruxtheir own version, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- anotb/management-consulting-plugin★ 67same name
- dotlabshq/crux★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- account-takeoverSkill
- ai-appSkill
- api-protocolsSkill
- auth-sessionSkill
- business-logicSkill
- cache-poisoningSkill
- client-sideSkill
- cloud-exposureSkill
- continuousSkill
- cve-deep-diveSkill
- deep-serverSkill
- desyncSkill
- exploitSkill
- oauth-auditSkill
- race-conditionsSkill
- reconSkill
- reportSkill
- research-ingestSkill
- source-reviewSkill
- sso-federationSkill
- stored-xss-oastSkill
- supply-chain-inventorySkill
- supply-chainSkill
- takeoverSkill
- tenant-isolationSkill
- toolboxSkill
- trafficSkill
- web-scanSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
Check the file resolves: before the run. Both guards read MYTHOS_SCOPE, and the CLI sets it to this run's file for every guard call and …
- Very specific: line 116
If the user pastes a program's scope page, extract in-scope and out-of-scope assets, the rate limit, and any forbidden techniques into …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Engagement setup
Scope is the authorization boundary, and it is settled before any traffic
reaches the target. mythos -t <url> generates the narrowest file it can, that
host and that port and nothing else, in engagements/<host>[-<port>]-<date>/.
For a real program that is not enough: write the file by hand and pass it with
--scope <file>. Nothing in a run widens it, and no agent may edit it.
Triage never selects this skill: scope is settled by a human before any traffic
reaches the target, and no agent may edit it. It drives no script, and its
entry in skills/registry.yaml carries no triggers for that reason.
Steps
- Identify the target and the authorization: which program or client this is, and that testing it is permitted. Without that, there is no engagement. This is a decision made before the run, not a question asked during one.
- The workspace is
engagements/<target-host>-<YYYYMMDD>/. The CLI creates it, the driver addsfindings/andverdicts/, and everything about the engagement stays inside it (it is git-ignored). Write
scope.yamlin the engagement dir, from this template, edited to match the program exactly:target: https://target.example in_scope: - target.example # only hosts/CIDRs the program lists; *.example.com for wildcards out_of_scope: [] # every excluded host the program names ports: [80, 443] # the ports the program authorizes rules: rate_limit_rps: 5 allow_active: true # false only if the program forbids active scanning allow_exploit: true # false only if the program forbids PoC exploitation allow_publish: false # never publish a package to a public registry allow_claim_resources: false # never claim a dangling subdomain or bucket allow_secret_verification: false # never use a credential you found source: "" # optional: path to a source tree the program authorized you to read identities: [] # optional: two accounts for BOLA/IDOR testing notes: "" # paste the program's testing rules verbatimField rules:
in_scope: only the hosts/CIDRs the program lists. Use*.example.comfor wildcard programs. An empty list authorizes nothing, and the guard treats it that way rather than as "allow everything".out_of_scope: every excluded host the program names.ports: the ports the program authorizes. A request to another port on an in-scope host is reported as out of scope. Keep this key at the top level: the guard also accepts it underrules, the CLI does not.rules.rate_limit_rps: the program's rate limit, enforced byhooks/budget-guard.py. Single-shot calls are paced by sleeping, and a batch tool invoked without its own pacing flag is refused with the flag to add. There is no request ceiling: a volume cap only ever stops the run before the finding. If a program states a request limit, put it innotesand watch it yourself.rules.allow_activeandrules.allow_exploit: both default to true, because this is a pentesting suite and exploitation is the work. Set either to false only when the program's text forbids it. An explicitallow_exploit: falsemakes the guard repeat the rule back once when exploitation tooling runs; honoring it is your judgement, not a block.rules.allow_publish,rules.allow_claim_resources,rules.allow_secret_verification: keep all three false unless the program's text explicitly authorizes that action. They cover publishing a package to a public registry (dependency-confusion testing), claiming a dangling subdomain or bucket, and using a credential you discovered. Each of those affects a third party, not just the target.source: a local path, only when the program or client gave you the code. Having the source does not widen the scope: the live target is still bounded byin_scope, and reading a repository you were not given is out of scope. Leave it empty for a black-box engagement.notes: paste the program's testing rules (e.g. "no DoS, no automated testing of the login form, no social engineering"). They reach every agent in the run through the system prompt.
Check the file resolves before the run. Both guards read
MYTHOS_SCOPE, and the CLI sets it to this run's file for every guard call and every tool, so a leftover directory cannot authorize the engagement. Run by hand, the guards fall back to the newestengagements/*/scope.yamlby modification time, so pin it yourself:MYTHOS_SCOPE="$PWD/engagements/<dir>/scope.yaml" \ python3 hooks/scope-guard.py --check 'curl https://example.invalid/'The
scopefield in that output must be the file you just wrote. The same export is whatscripts/probe,scripts/verifyandscripts/watchread for the rate limit when you run them outside a run.Read the history for this target and stack, if there is any:
scripts/lessons seen --target <target-host> scripts/lessons prior # after recon fingerprints the stackA class this target previously had rejected does not get re-reported without new evidence. With an empty ledger this prints nothing useful and the default phase order stands.
The traffic recorder needs nothing from you: the driver starts it before the
first phase and stops it after the last. engagements/<dir>/audit.jsonl logs a
command's argv and exit code, not its requests, so the recorder is the only
account of what was actually sent, and scripts/coverage uses it to decide
whether a mapped path was reached at all rather than merely named in the report.
Bug-bounty program import
If the user pastes a program's scope page, extract in-scope and out-of-scope
assets, the rate limit, and any forbidden techniques into scope.yaml. When in
doubt, exclude rather than include. Record the program name and URL in notes.
What the scope file actually controls
Both guards are called with --check '<command>' from inside every tool that
can reach the target, by cli/src/agent/guards.ts. There is no configuration in
which they do not run: a tool reaches the network by going through that module,
and a guard that cannot run refuses the call instead of sending it. They used to
be host plugin hooks, which is how every benchmark cell ran with its scope
guard, rate limiter and destructive denylist inert without saying so.
Knowing which rule is enforced and which is only advice matters, because the two failure modes are different:
| Rule | Enforced by | On a violation |
| in_scope / out_of_scope / ports | hooks/scope-guard.py | Warns, does not block. The request has already gone out by the time you read the warning. Treat it as a slip that happened: stop, report it, do not repeat it. |
| rate_limit_rps | hooks/budget-guard.py | Single-shot calls are paced by sleeping. A batch tool without its own pacing flag is refused, with the flag to add. |
| non-destructive, no brute force, no DoS | hooks/budget-guard.py | Refused outright, in every mode. No scope rule makes these acceptable, and a run already deleted another user's data once. MYTHOS_DESTRUCTIVE=warn downgrades it for a throwaway lab, nowhere else. |
| allow_exploit: false | hooks/budget-guard.py | Warns once when exploitation tooling runs. Not a block: exploitation is the job. |
| allow_active, allow_publish, allow_claim_resources, allow_secret_verification | nothing | Your judgement. Honor them as written; the relevant knowledge notes state the non-destructive alternative for each. |
| request volume | nothing, by design | There is no ceiling. Spend what the finding needs. |
Beyond that, the file is the reference you must honor in every tool
invocation: target only in-scope hosts, stay under the rate limit, and exploit
only when allow_exploit is true.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

