agmiAgent Memory Integrity GitHub

Store, measured at rest

NetOps Copilot

hash-chained change journal, verify_journal() audit

NetOps Copilot was seeded through its own API and edited behind its back ten ways. 4 edits served as genuine, 6 reported on audit, 0 rejected on read.

Measured on
netops-copilot 0.1.0 installed from git at d7e4ec0, Python 3.12, macOS
Date
Source
github.com/gokunguru/netops-copilot
Attack versions
tamper@v1, truncate@v1, delete_middle@v1, reorder@v1, forge@v1, cross_replay@v1, rollback_replay@v1, metadata_tamper@v1, snapshot_rollback@v1, erase_resurrect@v1

What this means

The journal is a hash chain with no key, and nothing on the read path checks it: rollback() reads the journal to decide whether a change was already rolled back, and the history view and web UI list it, without checking the chain. The check is verify_journal(), which the history command prints as OK or BROKEN. That audit reports six of the ten edits. Four are served with no record anywhere: a shortened journal is still a valid chain, a forged line carries a digest the attacker computed exactly as Store.append() does, and an older copy of the whole journal, including one from before an erase, is consistent with itself. Because the chain is unkeyed, an attacker who re-chains after any of the six reported edits would pass the audit too; those cells measure the edits as the suite defines them, without re-chaining.

The 10 verdicts

Detection point: the audit, a separate call the operator has to make; the read path serves the edit first.

Level L0, Measured. The store has a published row. Any verdicts. What L0 means.

EditVerdictWhat the tool said
T1
Content tamper
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T2
Tail truncation
acceptedaccepted silently
T3
Middle deletion
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T4
Reordering
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T5
Forged insertion
acceptedaccepted silently
T6
Cross-context replay
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T7
Rollback replay
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T8
Metadata tamper
reporteddetected on reload (verify_journal: False (history prints 'Journal integrity (hash chain): BROKEN'))
T9
Snapshot rollback
acceptedthe older copy opened as current; the newest genuine record is gone without an error
T10
Erasure resurrection
acceptedthe restored copy opened as current; the record the store had erased is served again without an error

A verdict is what the tool did, not an opinion. "Accepted" means it loaded the altered store, raised nothing, and the agent carried on from the altered memory as if it were true. Every cell has a control that proves the edit landed before the verdict counts.

Where the attacker stands

The attacker reads and writes the NetOps Copilot state directory (NETOPS_STATE_DIR, .netops by default), as a mounted volume, a shared disk or a restored backup would allow. The journal holds no key, so he can compute a valid digest for anything he writes. A second state directory is the second context.

Reproduce this row

Everything runs offline. The run seeds a fresh journal through the tool's own Store, applies each edit beneath it, reopens the store and records what verify_journal() returned.

pip install agent-memory-integrity
pip install "netops-copilot @ git+https://github.com/gokunguru/netops-copilot@d7e4ec0"   # not on PyPI
python agmi/full_runner.py --json results/scorecard.json   # every row, this one included
python -m agmi.agent --target netops-copilot-journal --families at-rest

Badge

Maintainers can link their row from their README. The badge points here and changes nothing on your side:

[![agmi: measured](https://img.shields.io/badge/agmi-measured-0F4C5C)](https://agentmemoryintegrity.org/stores/netops-copilot-journal.html)

Related rows

The whole scorecard · All stores