Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/shrave/delegated-scope-violation
Authentication & AuthorizationDefensive ToolsPapers & ResearchLearning & EducationAI SecurityLog Analysis
GitHubshrave/delegated-scope-violation

delegated-scope-violation

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.

View Repository
17 days agoNot yet reviewed
Share
Website

Permitted but Unauthorized: Affordance-Induced Delegated-Scope Violations in Multi-Agent LLM Systems

Shravya Kanchi (Independent Researcher)

arXiv

📄 Paper: arXiv:2611.04086 · PDF in this repository

🔁 Reproduce every reported number offline: python reproduce/reproduce_all.py (details)

Abstract

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:

  • No agent crosses in any condition where the peer action is unlisted.
  • Listing it together with competitive pressure and a stated payoff raises crossings sharply, up to 52 of 52 episodes for Claude Sonnet 4.5.

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.

Citation

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).

This repository

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:

  • CI/CD release (cicd_release). Two agents ship releases through a shared runner pool.
  • SOC/ITSM incident response (soc_itsm). Two analysts contend for a shared escalation channel.

The deterministic detector marks a delegated-scope violation when three things hold:

  • the action was technically permitted;
  • the target resource was outside the caller's delegation;
  • the action changed state.

No LLM judges or scores anything. The judge gate in the defense experiments is the intervention under test, not a scorer.

Reproduction has two tiers

Tier 1: analysis (offline: no model access, no GPU, no credentials)

Every reported result reproduces from the committed event logs:

  • the detector's counts;
  • every table and figure;
  • the statistics (Wilson 95% intervals, two-sided Fisher exact tests, Holm-corrected);
  • exact replay verification of every episode.
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:

  1. Replay. It re-executes every shipped episode against a fresh environment built from its config. Recorded before/after state digests, classifications and targets must match exactly, and the divergence count is printed per run.
  2. Recompute. It recomputes the numbers behind every table and figure with the scripts in scripts/.
  3. Statistics. It computes the statistics.
  4. Figures. It redraws factorial.pdf, generational.pdf and r1_harm.pdf from the recomputed counts.
  5. Check. It compares every recomputed value with the value printed in the paper (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.

Tier 2: episode regeneration (needs model access; documented cost)

Regenerating episodes requires model access.

  • Where the models were reached. Every model in the study was reached through AWS Bedrock (us-west-2). Model ids, regions, temperatures and token limits are pinned in each config and recorded in each manifest.
  • Closed models. Claude and GPT-6 cannot be run any other way.
  • Open-weight models. GLM-5, DeepSeek V3.2, Mistral Large 3 and Qwen3-Coder are frontier-scale mixture-of-experts models. Self-hosting them needs server-class multi-GPU hardware; we did not regenerate them locally.
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
  • Regenerated episodes are written to 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.
  • At temperature 0 a model is near-deterministic within a seed, but not bit-identical across provider versions. Regeneration reproduces the protocol, not necessarily the exact trajectories; the shipped logs are the record.
  • Logged inference cost of the shipped runs: R2 $319, R1 $242, defense-002 about $111 + $1.60 gate. The per-episode 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

What is here

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    885
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    796
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    629
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    458
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    433
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    385

Explore all tools

Browse our collection of tools

View all tools →