{"aliases":[],"authors":[],"details":{"availability":"Public synthesis, correction and dataset-preparation code with bundled train/test JSONL files and agent integration examples; the trained corrector is released separately on Hugging Face.","repository_revision":"9c5fb812a126493c75b6adda757af3b680a24708"},"environments":["desktop","linux"],"evidence":[{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:26Z","role":"primary","sha256":"90ab7463e9d9c4d6c5e3b60acf385486ca1d9f09455aea0450b167406cfdf728","supports":["name","kind","summary","environments","topics","scope","notes","relations"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/README.md"},{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:27Z","role":"primary","sha256":"211b758a19e3b00b79b57bdc8f3f649687aa955195f5714be25693ed693ceb0f","supports":["identity","release_status","details.repository_revision","details.availability","notes"],"url":"https://api.github.com/repos/WhitzardAgent/MirrorGuard/git/trees/9c5fb812a126493c75b6adda757af3b680a24708?recursive=1"},{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:27Z","role":"primary","sha256":"4c9079f876657bd3c2ff7d43629ab5e8d92eb14fa5132e422c28ff73e646c087","supports":["notes"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/dataset_generation/test.jsonl"},{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:28Z","role":"primary","sha256":"29a8e430e061f53a4ed958f1f48a7ebc5e6a5d7792cb65e423716da1946a4e23","supports":["summary","notes"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/examples/shared/correction_runtime.py"},{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:28Z","role":"primary","sha256":"9554149045ab49a83727510e159d7cea448ab97ba1d4853aa632b6796e4b5dbf","supports":["summary","notes"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/simulator.py"},{"method":"editorial_primary_review","retrieved_at":"2026-10-19T06:50:27Z","role":"primary","sha256":"8bb263819f9a6ee87b8c7bc6d058c3c4b1d338835006d5b5089f53560c2bc770","supports":["licenses.code"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/LICENSE"},{"method":"license_header","retrieved_at":"2026-10-19T06:51:27Z","role":"primary","sha256":"8bb263819f9a6ee87b8c7bc6d058c3c4b1d338835006d5b5089f53560c2bc770","supports":["licenses.code"],"url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/HEAD/LICENSE"}],"id":"github:whitzardagent/mirrorguard","identifiers":{},"kind":"framework","last_verified_at":"2026-10-19T06:50:26Z","licenses":{"code":{"basis":"repository LICENSE header","declared":"MIT","retrieved_at":"2026-10-19T06:51:27Z","url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/HEAD/LICENSE"},"data":null,"document":null,"weights":null},"links":[{"rel":"primary","url":"https://github.com/WhitzardAgent/MirrorGuard"}],"name":"MirrorGuard code","notes":"Official WhitzardAgent code for the MirrorGuard paper. MirrorWorld task generation (task_generation/) and an LLM-driven GUI simulator (simulator.py) produce text-only trajectories; dataset_generation/safe_thought.py rewrites unsafe thoughts and prepare_dataset.py packages ShareGPT-style training files. The repository includes dataset_generation/train.jsonl (about 86 MB) and test.jsonl (2,439 lines, of which 16 are invalid standalone JSON), each holding a system prompt and a conversation. Integration examples cover replacement steering for a ReAct agent, prefilling steering for UI-TARS, and an Owl agent reference, written as OSWorld-style agent files; examples/shared/correction_runtime.py calls the deployed corrector through an OpenAI-compatible endpoint with the screenshot, history and original thought. The released MirrorGuard VLM is on Hugging Face. Unsafe-rate and OSWorld figures in the README are paper results; code was read.","published_at":null,"relations":[{"evidence_url":"https://raw.githubusercontent.com/WhitzardAgent/MirrorGuard/9c5fb812a126493c75b6adda757af3b680a24708/README.md","target_id":"arxiv:2601.12822","type":"documented_by"}],"review_status":"curated","scope":"core","summary":"MirrorGuard pipeline that synthesizes risky and benign computer-use trajectories in a text-based GUI simulator, builds unsafe-to-safe thought corrections for training, and plugs the corrector into OSWorld-style agents.","topics":["safety-security","data-generation"],"updated_at":null,"url":"https://github.com/WhitzardAgent/MirrorGuard"}
