PHANTOM DFIR evidence-grounding set
Synthetic red-team rows for one question: given forensic evidence and a claim about it,
should a verifier answer CONFIRMED, NEEDS_MORE, REFUTED or CLEARED?
Built for the Lexsi AI Safety and Alignment Hackathon (track: AI Red Teaming, Safety and
Alignment). Code, generators and results:
github.com/romilp619/Phantom-DFIR.
What a row looks like
| Field | Meaning |
|---|---|
id |
Row id, namespaced by the split's seed (S20000-… train, S90000-… held-out) |
family |
One of 11 generator families (10 attack families, 1 clean control) |
is_attack |
Whether the row is an attempt to push the verifier to a wrong verdict |
gold |
The correct verdict |
messages |
system, user (fenced evidence plus the claim), assistant (a verdict JSON object) |
Evidence in the user message is wrapped in <<UNTRUSTED_EVIDENCE …>> fences. The
fences carry the artifact id and plugin, and they are the structure a verifier is meant
to ground on.
Files
| File | Rows | Assistant target |
|---|---|---|
data/heldout.jsonl |
550 (50 per family) | Rule-verifier output. Score against gold, not against the assistant message. |
data/train_curated.jsonl |
1,100 (100 per family) | Gold-consistent. This is the file the published adapter was trained on. |
data/train.jsonl |
3,300 (300 per family) | Rule-verifier output, kept for provenance. See the warning below. |
data/MANIFEST.json |
Checksums and seeds for train.jsonl and heldout.jsonl |
|
reports/curation_pipeline_report.json |
How train_curated.jsonl was derived, with counts |
|
reports/curatorkit_report.json |
CuratorKIT run on train.jsonl with the usual alpaca projection |
How train_curated.jsonl was derived
scripts/build_curated_train.py in the repository, run with --per-family-cap 100:
- Targets corrected to gold. In
train.jsonlthe assistant target is what the
project's rule verifier outputs. On 1,200 of 3,300 rows that target isCONFIRMED
wheregoldisNEEDS_MOREorREFUTED(familiesbehavioural_mention,identity_alias,network_contact_inflation,semantic_denial). Those targets were
replaced with gold-consistent ones. - Held-out overlap removed. 50
semantic_denialtraining prompts also appear word
for word inheldout.jsonl. They were dropped; the overlap in the output is 0. - CuratorKIT 0.1.27 (schema gate, exact deduplication, text cleaning with
strip_htmloff so the evidence fences survive). The full prompt was projected intoinstruction, so the duplicate key covers the evidence: 3,250 of 3,250 rows passed. - Capped at the first 100 rows per family by id, to keep training time on an 8 GB
GPU to about an hour.
Warnings
- Do not fine-tune on
train.jsonlas is. Its targets confirm four attack families. - The families are templates. Each family is one generator with varying names, ids
and counts. Held-out rows come from a different seed range, which guards against
memorising a row, not against learning a template. A high held-out score shows a model
learned these 11 templates; it says nothing about attacks outside them. - CuratorKIT's exact deduplicator hashes
instruction + outputand ignoresinput.
With the usual alpaca projection (system prompt ininstruction, evidence ininput)
it removes rows that have different evidence and the same templated answer. Ontrain.jsonlthat keeps 1,900 of 3,300 rows and deletes four families entirely
(allowlist_masquerade,identity_alias,network_contact_inflation,semantic_denial). - Synthetic data. No real systems, people or incidents are described.
Licence
MIT, the same as the repository.