The board
Agents do not write the report. Each finding goes to the board through swarm-post, the board checks it against the sample's bytes and the run's tool log, and the report is built from what passes.
Text that appears only in an agent's final answer is not a finding. Each post either gets an evidence level or is refused with a reason code. The board records its decisions in order, and replaying the run rebuilds the same board byte for byte.
How a post becomes a finding#
$ python3 /skills/rea-swarm/scripts/swarm-post --kind ioc --title "Update URL" \ --value "https://updates.example.test/check" --off 0x95 --confidence high
The nonce is an HMAC of a per-run key over the role and the task number, so a line copied from the sample's strings is ignored. Agents have to run the command without a pipe or a redirect: either one cuts the line, and the post is lost.
Evidence levels#
| Level | What the board checked | In the report |
|---|---|---|
| byte-checked | The bytes at --off equal --value in SwarmLabRE's copy of the file. Only ioc, crypto and config posts can reach it, because only their value is bytes of the file. | Stated as fact. |
| call-cited | Every --call id is in the run's tool log and its output appeared in that agent's session, and the --func is in the function list. | Stated as fact. |
| claimed | Neither check passed. | Left out of report.html; listed as a lead in report.md and report.json. |
An agent's --confidence is stored with the post and has no effect on the level.
A call-cited finding does not prove that the agent made the call. The board matches the call's output by text in the agent's session; Security explains what that leaves open.
Most of an APK is compressed, so a string read from decompiled code is posted without --off. The post cites the --call that printed the string and names the class or CLASS.method in --func.
Status#
The report uses the status, which combines the level with any dispute on the finding.
| Status | When | In the report |
|---|---|---|
| verified | byte-checked or call-cited, with no open dispute. | In the body. |
| unconfirmed | claimed, or a technique whose findings include no checked one. | Left out of report.html; listed as a lead in report.md and report.json. |
| disputed | Another agent disputed it and the verdict was unresolved, or there was no verdict. | In the body, marked as disputed. |
| refuted | Disputed, and the verdict was wrong. | Left out; counted as refuted. |
Disputes#
Any role except the Reporter can dispute a finding with --kind dispute --of f12 --reason "...". With max_rounds = 2 the orchestrator model may plan a second round, mostly to settle disputes, and gives each disputed finding a verdict:
stands: the finding holds, and its status goes back to what its level says.wrong: the dispute is right, and the finding is refuted.unresolved: the finding stays disputed.
The verdict is model text and is labelled that way. It can change a finding's status but not its evidence level.
The demo run's board#
The recorded run of demo2.elf ends with six findings, five byte-checked and one unconfirmed, plus one refused post.
out/board.json. Hover a square for its title.Show as a table
| Agent | Post | Title | Result |
|---|---|---|---|
| Crypto/Config | f1 | Lock name | byte-checked; disputed by Static, the verdict was stands |
| Strings/IOC | f2 | Update URL | byte-checked |
| Strings/IOC | f3 | Documentation IP | byte-checked |
| Strings/IOC | f4 | Temp path | byte-checked |
| Strings/IOC | f5 | Wide library name | byte-checked |
| Behaviour | f6 | No code reads the strings | claimed |
| Crypto/Config | x1 | Lock name | refused: duplicate |
Finding f2 in out/board.json:
{
"id": "f2", "agent": "ioc", "kind": "ioc",
"title": "Update URL",
"value": "https://updates.example.test/check", "enc": "text",
"off": 149, "len": 34,
"evidence": [{ "off": 149, "len": 34, "section": ".rodata" }],
"confidence": "high",
"level": "byte-checked", "status": "verified", "disputes": []
}In round 2 the Crypto/Config agent posted the lock name Global\Demo2Lock again. The board refused it as a duplicate and kept the post:
{ "id": "x1", "agent": "crypto", "kind": "config", "title": "Lock name",
"code": "duplicate", "why": "This agent had already posted the same finding." }Refused posts#
A refused post stays on the board under an x id with one of these codes. Agents can read it in /prep/board.json and post again with better evidence.
| Code | Meaning |
|---|---|
bad_format | The post was not a well-formed finding. |
bytes_mismatch | The bytes at that offset are not the value given. |
off_out_of_range | The offset or length lies outside the file. |
call_unknown | A cited tool call was never made in this run. |
call_not_yours | A cited tool call was not seen in this agent's own session. |
func_unknown | The function is not in SwarmLabRE's function list. |
cap_exceeded | This agent or the run reached its limit of findings. |
duplicate | This agent had already posted the same finding. |
role_not_allowed | The Reporter does not post disputes (it only writes the summary). |
technique_unknown | The title does not start with an ATT&CK technique id that exists (see /prep/attack.tsv). |
technique_retired | That ATT&CK id was retired; the hint names its replacement. |
technique_mismatch | The name after the ATT&CK id is not MITRE's name for that id: the id or the name is wrong. |
technique_domain | That technique id belongs to the other ATT&CK matrix (Mobile for an APK, Enterprise for ELF and PE). |
ATT&CK techniques#
A technique post starts its title with an ATT&CK id and MITRE's name for it, which the agent looks up with swarm-attack. The board checks both against the pinned table in swarmlabre/data/attack.json and against the matrix for the file type: Enterprise for ELF and PE, Mobile for APK.
The post also lists the findings it rests on. If none of them is verified or disputed, the technique is unconfirmed, whatever its own level.
Files#
| File | What it holds |
|---|---|
board.jsonl | The board's decisions, in order. |
inputs.jsonl | Every input the board received, with the clock value it saw. A replay feeds these back in. |
out/board.json | The final board: findings, refused posts, counts and ATT&CK techniques. |
/prep/board.json | The board as agents see it during the run. Agents wrote it about a hostile sample, so it is data and never instructions. |