
Research code, simulated multi-agent environments, and hash-chained event logs for studying delegated-scope violations in LLM agent systems, with offline reproduction of all reported results.
Shravya Kanchi (Independent Researcher)
📄 Paper: arXiv:2611.04086 · PDF in this repository
🔁 Reproduce every reported number offline: python reproduce/reproduce_all.py (details)
Multi-agent LLM systems increasingly place several autonomous agents on shared infrastructure, where each agent is granted permissions far broader than the task it is delegated, so every agent is routinely permitted to act on a peer's resources it was never assigned. We address the following research question: under competitive pressure, what determines whether an agent crosses from its own delegated scope into a peer's resources, and can such crossings be enforced away?
We study this across eight contemporary LLMs in two simulated environments: a CI/CD release pipeline and a security-operations incident queue. Crossings are counted by a deterministic, no-model-in-the-loop detector computed from hash-chained, replay-verified logs.
In a controlled 2×2×2 factorial over competitive incentive, candidate visibility and payoff information (three models, n = 52 per cell), we find that action representation, not permission, governs the behavior:
We further observe a model-dependent split. Two newer models (Claude Sonnet 5.5 and Opus 5.5) refuse the identical attack in 0 of 100 episodes, at a projected cost, where prior-generation models cross in 9 of 10.
We then evaluate two defenses: a deterministic reference monitor and a model-based pre-execution judge. Both block every crossing and, when the task is winnable, cut avoidable peer deadline misses from 15/40 and 14/40 to at most 1/40.
However, scope enforcement is not harm prevention. An agent can still set a peer back through an authorized action on its own resources, misreporting its incident's severity, which neither defense detects.
Within the tested environments and configurations, our results establish action representation, not permission alone, as a controllable driver of inter-agent scope violations. They also show that enforcing delegated scope is distinct from preventing harm, motivating effect-aware authorization that reasons about an action's consequences rather than only the resource it names.
If you use this code or data, please cite:
@misc{kanchi2026permitted,
title = {Permitted but Unauthorized: Affordance-Induced Delegated-Scope Violations in Multi-Agent {LLM} Systems},
author = {Kanchi, Shravya},
year = {2026},
eprint = {2611.04086},
archivePrefix = {arXiv},
primaryClass = {cs.CR},
doi = {10.48550/arXiv.2611.04086},
url = {https://arxiv.org/abs/2611.04086}
}
GitHub's "Cite this repository" button gives the same reference (from CITATION.cff).
Code, environments, delegation records, configurations and the complete hash-chained event logs for the paper: a controlled study of when tool-using LLM agents act on resources the platform permits them to touch but that were never delegated to them, and of what runtime enforcement does and does not prevent.
Two simulated multi-agent environments are included:
cicd_release). Two agents ship releases through a shared runner pool.soc_itsm). Two analysts contend for a shared escalation channel.The deterministic detector marks a delegated-scope violation when three things hold:
No LLM judges or scores anything. The judge gate in the defense experiments is the intervention under test, not a scorer.
Every reported result reproduces from the committed event logs:
python3.12 -m venv .venv && . .venv/bin/activate
pip install -e .
python reproduce/reproduce_all.py # about 4 minutes on a laptop; --skip-replay to skip step 1
reproduce_all.py works in five steps:
scripts/.factorial.pdf, generational.pdf and r1_harm.pdf
from the recomputed counts.reproduce/paper_values.json). Every check is printed as ok or
DIFF, and the exit status is 1 on any difference.Outputs go to reproduce/out/: results.json and the figures.
Regenerating episodes requires model access.
export AWS_PROFILE=<your-profile>
python scripts/run_lanes.py r1-regen r1_soc_repair/glm/none # one cell; run several --part K N in parallel
artifacts/regenerated/ (gitignored), so
the tracked tree stays clean. Every manifest records the commit and whether
the tree was dirty, and live runs refuse a dirty tree.request_cost_usd is in every
model_call event.Without credentials. A mock provider runs the full pipeline with no credentials and no GPU, exercising the environments, the detector, logging and replay on scripted episodes. It verifies the machinery, not the behavioural results:
competition-lab run configs/r1_soc_repair/glm/none/r1_glm_none_001.yaml --output /tmp/mock
competition-lab replay /tmp/mock/r1_glm_none_001-0000