SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2607.10455 · ICML · 2026

ANCHOR: Automated Alignment Auditing for CLI Agents on Real-World Harm

Yanjun Qi, Kefan Song

arXiv · PDF · Open in the Atlas

Code that ran

11 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 8 failures of our instrument; 5 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2607.10455.json · badge: /api/ran/2607.10455.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
garified/anchor canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
extract_plan_from_auditor_todo Ran
ran; our contract draft was wrong, not the code
garified/anchor/evaluation_judges/evaluate_catastrophic_impact.py
pointer only (licence: NONE) · get_code("4ae2e514dcca4e2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_scenario_from_auditor_log Ran
ran; our contract draft was wrong, not the code
garified/anchor/evaluation_judges/evaluate_catastrophic_impact.py
pointer only (licence: NONE) · get_code("92b239d114375dad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_scenarios_for_context Ran
ran; our contract draft was wrong, not the code
garified/anchor/auditor_model_training/sft_data/sft_data_gen.py
pointer only (licence: NONE) · get_code("f1191b0179f75a2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_case_directories Ran
ran; our contract draft was wrong, not the code
garified/anchor/auditor_agent/auditor_claude_code.py
pointer only (licence: NONE) · get_code("61ff539067bd3bed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_max_tokens_for_model Ran
ran, honoured the contract we drafted
garified/anchor/auditor_agent/auditor_openclaw.py
pointer only (licence: NONE) · get_code("98ad3c03fa8640c0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_non_refusal_paths Ran
ran; our contract draft was wrong, not the code
garified/anchor/evaluation_judges/evaluate_cli_behavior.py
pointer only (licence: NONE) · get_code("deb9be37ee244110")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_samples_from_json Ran
ran; our contract draft was wrong, not the code
garified/anchor/auditor_agent/auditor_claude_code.py
pointer only (licence: NONE) · get_code("2410d3702863e569")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

openrouter_inference_async Ran
ran on a synthesized input
garified/anchor/auditor_model_training/dark_triad_eval.py
pointer only (licence: NONE) · get_code("dc8b1ea59dc7e0ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_json_response Ran
ran; our contract draft was wrong, not the code
garified/anchor/auditor_model_training/sft_data/sft_data_gen.py
pointer only (licence: NONE) · get_code("01de990d571f2414")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tinker_inference_async Ran
ran on a synthesized input
garified/anchor/auditor_model_training/dark_triad_eval.py
pointer only (licence: NONE) · get_code("42cf7103dd81f80a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tinker_inference_sdk_async Ran
ran; our contract draft was wrong, not the code
garified/anchor/auditor_agent/auditor_claude_code.py
pointer only (licence: NONE) · get_code("f58e29317b86cd7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_single_trajectory Not yet run
unverified (harvested, no recorded run)
garified/anchor/evaluation_judges/evaluate_cli_behavior.py
pointer only (licence: NONE) · get_code("640cac32a7853183")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

inference Not yet run
unverified (harvested, no recorded run)
garified/anchor/openrouter_inference.py
pointer only (licence: NONE) · get_code("eeeb02f90f55edd8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

openrouter_inference Not yet run
unverified (harvested, no recorded run)
garified/anchor/evaluation_judges/evaluate_catastrophic_impact.py
pointer only (licence: NONE) · get_code("8dd24c9e9b2efad1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

openrouter_inference Not yet run
unverified (harvested, no recorded run)
garified/anchor/evaluation_judges/evaluate_cli_behavior.py
pointer only (licence: NONE) · get_code("55459dd0eb46dfa2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

openrouter_inference_sync Not yet run
unverified (harvested, no recorded run)
garified/anchor/auditor_model_training/dark_triad_eval.py
pointer only (licence: NONE) · get_code("04996e6cd0360dfa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, garified/anchor when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Autonomous CLI agents can now execute hundreds of actions across multi-hour sessions: writing code, executing shell commands, browsing the web, and managing cloud infrastructure, all with minimal human oversight. Does greater autonomy invite greater risk? We introduce AN-CHOR, an automated auditing framework that stress-tests CLI agents on illegal tasks grounded in public US court cases. ANCHOR deploys an auditor agent fine-tuned on dark personality data using supervised and reinforcement fine tuning. This auditor roleplays persistent malicious users who decompose tasks, reframe requests upon refusal, and adapt strategies across multi-turn interactions. Evaluating frontier CLI agents, we find that while they often refuse illegal tasks when prompted directly, compliance reaches 100% under persistent malicious interaction. When agents comply, they frequently exceed user requests, autonomously building infrastructure for large-scale harm, including catastrophic risk scenarios such as large-scale financial fraud and bioweapon development. These findings demonstrate that current alignment techniques are insufficient for autonomous agents and underscore the need for safety evaluations against persistent, adaptive malicious users. We release ANCHOR at https: //github.com/garified/anchor.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2607.10455")
get_code_for_paper("2607.10455")
have("2607.10455")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2607.10455.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2607.10455.svg)](https://syntology.ai/paper/2607.10455)

Connect an agent — have() is free.