Skip to content

Janus: An Experimental Platform for User-Involved Agent Permission ManagementJanus: a Playground for User-Involved Agentic Permission Management

arXiv· arXiv:2607.01510· Natalie Grace Brigham, Eugene Bagdasarian, Tadayoshi Kohno, Franziska RoesnerUniversity of Washington; University of Massachusetts Amherst; Georgetown UniversityIndexed by this site · 25 days ago· Originally publishedDefenses

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors propose Janus, an experimental platform for implementing and evaluating user-involved agent permission management, and demonstrate design trade-offs with 6 permission assistants, 3 scenarios, and 3 synthetic responders.

Questions
Agents autonomously executing tool calls bring privacy and security risks, but what role users should play in runtime permission management still lacks systematic study; existing approaches (always ask, pre-written policies, fully automatic) each have shortcomings.
Methods
The authors propose a conceptual model and four design axes, and build Janus: Janus-Core splits permission management into a policy manager and pluggable permission assistants, and Janus-Harness automatically evaluates using scenarios, sub-scenarios, and synthetic responders, implementing 6 permission assistants.
Experiments and results
In experiments with 3 scenarios × 4 sub-scenarios × 3 responders, repeated 5 times, the authors report: under the always yes responder, most assistants have attack/misalignment rates above 80%; only user confirmation under the alignment aware responder has zero attack/misalignment calls across all sub-scenarios; no single design is best-performing in all situations.
Limitations and future work
The authors note that synthetic responders are only proxies for real users and that alignment aware does not represent real users; the scenarios and dataset are intentionally kept small; the experiments use only one model, o3-mini; Janus does not model failures of tool execution itself.
Experimental setupo3-mini · Janus-Harness 三个自建场景(个人邮件分诊、日历管理、团队协作,基于 AgentDojo 的任务和数据构建) · 含攻击或失对齐工具调用的运行占比、权限助手平均每条运行发送的消息数 et al.
Threat model
Janus supports evaluating data-driven threats: untrusted data returned by tools (such as prompt injection in emails) induces the agent to execute attacks or tool calls inconsistent with user intent; it does not model failures of tool execution itself and assumes tools are reliable.
Evaluated models
o3-mini
Benchmarks
Janus-Harness 三个自建场景(个人邮件分诊、日历管理、团队协作,基于 AgentDojo 的任务和数据构建)
Metrics
含攻击或失对齐工具调用的运行占比权限助手平均每条运行发送的消息数期望工具调用占比输出评估失败率
AI summaryThe research team proposes Janus, an experimental platform for implementing and evaluating user-involved agent permission management designs. Janus consists of the modular Janus-Core and the automated evaluation framework Janus-Harness, and is based on a conceptual model that identifies key design axes for user involvement. The team implemented six permission assistants covering the design space, and evaluated them on three scenarios (each with four sub-scenarios) and three synthetic responders. Results show that user involvement is crucial and can enhance privacy and security, but user behaviors such as permission fatigue must be considered in system design; no single design is optimal in all situations. Janus has been released for subsequent research use.

The research team proposes Janus, an experimental platform for implementing and evaluating user-involved agent permission management designs. Janus consists of the modular Janus-Core and the automated evaluation framework Janus-Harness, and is based on a conceptual model that identifies key design axes for user involvement. The team implemented six permission assistants covering the design space, and evaluated them on three scenarios (each with four sub-scenarios) and three synthetic responders. Results show that user involvement is crucial and can enhance privacy and security, but user behaviors such as permission fatigue must be considered in system design; no single design is optimal in all situations. Janus has been released for subsequent research use.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    What role users should play in agent runtime permission management lacks systematic study, and the authors propose the Janus experimental platform to explore this design space.

    Core problem: In AI agents that autonomously execute tool calls, what role users can and should play in runtime permission management currently lacks systematic experimental research methods.

    • Problem scenario: Agents act autonomously on tools such as email, calendar, and files, facing threats such as prompt injection, misbehavior caused by hallucination, and actions inconsistent with user intent; real requests often contain ambiguities that only the user can resolve (e.g., forwarding family gathering information to someone claiming to be a relative).
    • Shortcomings of existing approaches (per the authors): Always asking the user at runtime assumes the user's expertise and sustained attention, is unrealistic at scale, and easily degrades into over-authorization; pre-written persistent policies have high upfront costs and may fail to distinguish individual cases that depend on runtime context; full automation deprives users of the ability to contribute context.
    • Core observation: The authors argue there is no single correct permission management approach; the trade-offs among usability, user alignment, and security are highly dependent on domain and context and need to be evaluated situationally.
    • Paper contributions: Propose a conceptual model (four design axes) and build the Janus platform—Janus-Core (a modular agent system supporting multiple permission management designs) plus Janus-Harness (an automated evaluation framework)—implementing 6 permission assistants and conducting a full-factorial experiment.
    • Threat model:
      • Attacker goal: Through untrusted data returned by tools (e.g., injected instructions in emails), induce the agent to execute attacker tool calls or calls inconsistent with user intent.
      • Attacker capability: Embed malicious instructions in data read by the agent (indirect prompt injection).
      • Victim system: An agent operating email, calendar, and file tools on behalf of the user.
      • Boundary: Janus only supports data-driven threats, does not model failures of tool execution itself, and assumes tools are reliable (Section 5.2).
  2. What related research exists?

    Related work covers agent safety architectures, persistent policies and dynamic permissions, permission management on other platforms, and the user research closest to this paper.

    Agent system architecture and attacks

    • ReAct (Yao et al., 2023) — the agent alternates between calling tools and replying to the user in a loop; this is the base control flow assumed in this paper.
    • Greshake et al. (2023) et al. — indirect prompt injection: tool return content carries malicious instructions, and the agent may execute harmful calls.
    • Christodorescu et al. (2026) and Wang et al. (2026) — argue that model improvements alone are insufficient to provide safety guarantees and that system-level approaches and user participation are needed; the authors use this to position the paper's motivation.

    Policies and permissions in agents

    • Persistent-policy class: CSAgent, CaMeL, Progent, ACE, FORGE — policies are written or generated at configuration time and enforced at runtime; the authors note that such policies may not stop attacks that depend on runtime context, and that policy languages are complex and hard for ordinary users to write.
    • Dynamic/per-task permission class: Conseca (generates task-level policies based on context integrity), Wu et al. (predicts permissions based on users' historical preferences), IronCurtain (compiles natural-language "charters" into JSON policies, with optional runtime permission prediction); CaMeL and ACE also embody the idea of separating a privileged planning component from a restricted execution component.
    • Policy-agnostic frameworks: IsolateGPT (component isolation), AC4A (access control framework) — they note that runtime requires policy enforcement but do not specify how policies are produced.

    Permission management on other platforms

    • Mobile (Android/iOS) permission research — the evolution from install-time manifests to runtime prompts, and the problems of prompt fatigue and over-permissioning; includes user-driven access control (Roesner et al., 2012) and personalized/predictive permission management.
    • Ambient computing scenarios such as smart homes and AR — the usability of traditional prompt-based permission models is further limited, and access control explorations such as world-driven, community-based, and sketch-based have emerged.

    User research and the paper's positioning

    • Zhang et al. (2026) — a user study found that risk-adaptive autonomy, compared with full autonomy or no autonomy, improves perceived control and reduces privacy concerns; several permission assistants implemented in this paper correspond to the autonomy mechanisms in that study, but Janus focuses on the permission management design of these mechanisms themselves rather than on user perception.
    • Baselines and benchmarks: this paper is not proposing a new method to beat baselines but is a platform paper; the comparisons are the base cases in the design space (approve all, escalate all, digital twin/oracle) and 6 implemented permission assistants; the evaluation scenarios are built on AgentDojo's user tasks and data.
    • Authors' positioning: prior work mostly confined the user role to pre-written policies; Janus treats the user's runtime role itself as a design problem and provides a playground for systematic experimentation.
  3. How does the paper address this problem?

    Proposes a conceptual model of four design axes, and builds Janus-Core (policy manager + pluggable permission assistants) and Janus-Harness (scenarios + synthetic responders for automated evaluation).

    Overall approach: first use a conceptual model to characterize the design space of user-involved runtime permission management, then provide a modular system Janus-Core to implement different designs in that space, and use Janus-Harness to automatically evaluate in scenarios with ground truth.

    Conceptual model and design axes (Section 3)

    • Basic components: The user gives a task, the LLM-driven agent decides on tool calls or replies, and tools execute operations on user data; the permission management module decides to approve or deny each tool call (Figure 1).
    • Four design axes: persistent policies (whether to use deterministic rules across calls), action capabilities beyond persistent policies (for calls not covered by policies, can approve/deny/escalate to the user), degree of user involvement (configuration time and runtime), decision basis (whether to compare against the user task, other information, AI model assessment).
    • Table 1 maps the base case (approve all, escalate all, digital twin), production systems (ChatGPT Agent Mode, Claude Auto Mode, IronCurtain), the 6 prototypes in this paper, and academic approaches (CaMeL, Conseca, Progent, Wu et al.) onto these axes.

    Janus-Core (Section 4)

    • Permission management is split into two modules: the policy manager makes decisions on deterministic rule policies, and when no policy matches, hands off to the permission assistant; the assistant outputs allow/deny, can interact with the user over multiple turns, and can also modify persistent policies.
    • The agent follows an observe-plan-act loop; tool calls are intercepted by an execution hook and only executed if approved; after denial, the agent can retry, switch approaches, or give up.
    • Implements 14 tools (email 5, calendar 6, files 3), operating on synthetic data; implemented based on Google ADK and LiteLLM, with configurable models.
    • 6 permission assistants: auto approve (approve all, equivalent to risk tolerance=1), user confirmation (escalate all to the user, equivalent to tolerance=0), risk assessment (an LLM judge scores tool calls 0–1 for risk against the user task, escalating to the user above a threshold), risk assessment autonomous (directly denies above the threshold), constitution (compiles an English constitution into ordered JSON rules for first-match, and on no match does intent matching then escalates), policy suggestion (the user can deny a call or have the LLM generate a reusable policy). Code size ranges from 42 lines (auto approve) to 408 lines (constitution), with a median of 381 lines.

    Janus-Harness (Section 5)

    • Three scenarios: personal email triage, calendar management, team collaboration, built on AgentDojo tasks and data; each scenario has 4 sub-scenarios: attack (contains injection attacks), permissive (no misaligned calls), balanced (1 misaligned call), restrictive (3 misaligned calls).
    • Permission ground truth is defined on call-argument patterns (e.g., the recipient of email.send), and tool calls are classified as desired, attack, out-of-alignment, or other; output evaluation uses regex or an LLM judge to check a single requirement.
    • Three deterministic synthetic responders: always yes, always no, alignment aware (approves calls except attacks/misaligned ones, using a blocklist rather than an allowlist, because a task may have multiple legitimate execution paths).
    • When the goal is not completed, a fixed phrase prompts the agent to continue, up to 5 attempts; scenarios can be extended via JSON; real humans can also serve as responders via CLI.
  4. What experiments did the paper conduct?

    A full-factorial experiment on 6 permission assistants with 3 scenarios × 4 sub-scenarios × 3 responders, repeated 5 times; main results are presented as a hull plot, and no single design is optimal in all situations.

    Experimental setup

    • Subjects under test: 6 permission assistant configurations—auto approve, user confirmation, risk assessment (rt=0.2, 0.7), risk assessment autonomous (rt=0.2, 0.7), constitution (default constitution), policy suggestion.
    • Model: OpenAI o3-mini is used for all LLM calls of both the agent and the permission assistants; the authors state that because scenario complexity is relatively low, using the same model for both has little effect on results.
    • Scenarios: 3 self-built scenarios (personal email triage, calendar management, team collaboration), each with 4 sub-scenarios (attack, permissive, balanced, restrictive), based on AgentDojo tasks and data.
    • Metrics: proportion of runs containing attack or misaligned tool calls, average number of permission assistant messages per run, desired tool call proportion, output evaluation failure rate.
    • Experimental design: full-factorial experiment of 3 scenarios × 4 sub-scenarios × 3 synthetic responders, repeated 5 times; no initial persistent policies configured; total cost about 60 USD.
    • System validation: baseline functionality validated with the alignment aware responder and permissive sub-scenario; output evaluations for all 60 runs passed (100%), with a median desired tool call proportion of 87.8% (scenario 3 was excluded from output evaluation because it has no specific output target).

    Main results

    Main results are presented in Figure 3 (hull plot): the x-axis is the average number of permission assistant messages per run, the y-axis is the proportion of runs containing attack or misaligned tool calls, and each point is labeled by responder. The exact coordinates of each point cannot be read from a text conversion; the following are the observations the authors give in the text:

    • always yes responder: Except for risk assessment autonomous (rt=0.2, no user interaction), all permission assistants have attack/misalignment rates above 80%.
    • always no responder: Only user confirmation and policy suggestion achieve zero attack/misaligned calls; but the output evaluation failure rate is higher (× markers in Figure 3).
    • alignment aware responder: Only user confirmation achieves zero attack/misaligned calls; policy suggestion under this responder has more attack/misaligned calls than under the always no responder.
    • Relationship between interaction volume and effectiveness: For the alignment aware and always no responders, the figure overall shows a downward trend to the right, and the authors state that among these implemented assistants, more user interaction corresponds to fewer attack/misaligned calls; but under always yes, different assistants can greatly increase interaction without reducing the attack rate.

    Sub-scenario analysis (Figure 4, Figure 5)

    • What was tested: With the alignment aware responder fixed, compare assistants by sub-scenario (Figure 4); Figure 5 shows the number of attack/misaligned calls and messages for risk assessment across scenarios × sub-scenarios as rt goes from 0 to 1.
    • Results: policy suggestion has a higher proportion of misaligned runs in the balanced sub-scenario than in restrictive, even though balanced has fewer possible misaligned calls; constitution has non-zero attack calls only in the attack sub-scenario (because the default constitution allows creating/updating calendar events), and zero in balanced and restrictive; user confirmation is the only assistant with zero attack/misaligned calls across all sub-scenarios.
    • Authors' interpretation: Locally correct user decisions (e.g., accepting a policy) may lead to subsequent automatic approval of problematic calls; the initial configuration of configurable assistants affects the attack surface; as risk tolerance rises from 0 to 1, attack/misaligned calls increase and user interaction decreases.

    Other ablations and analyses

    • Failure mechanism of policy suggestion: Log analysis found that policies approved by the alignment aware responder were subsequently used automatically (and incorrectly) by the policy manager to approve attack/misaligned calls (Section 6.2.3).
    • Interaction anomaly between constitution and always no: Under the always no responder, constitution's average number of interactions is more than twice that under other responders; the authors attribute this to the constitution requiring certain calls to be escalated, with the agent sticking to the original policy after some calls succeed.
    • Output evaluation failures: The always no responder leads to a higher output evaluation failure rate (× markers in Figure 3); the authors state that the user's negative decisions block execution of normal calls.
    • Modularity test: The second author, without assistance from the first author and with the help of Claude Code, independently implemented constitution (408 lines) in half a day based on a shared base class.
    • Variability: The 95% confidence interval bands in Figure 5 show that variance in user interaction and attack/misaligned calls differs across scenarios/sub-scenarios; the authors speculate that nondeterminism may come from within the permission assistant or from other system components.
  5. What are some points that can be further explored?

    The authors list discussions and future directions such as synthetic users and personalization tensions; the experiments cover 3 small synthetic scenarios and a single model, o3-mini.

    Limitations and future directions noted by the authors

    • Representativeness of synthetic responders (Section 5.4): synthetic responders are only proxies for real users and may differ from real people in consistency, fatigue, and willingness to approve; alignment aware always acts correctly according to ground truth and is only a baseline, not an ecologically realistic user.
    • Validity of LLM-simulated users (Section 5.4): more realistic responders could maintain persistent models of user goals and uncertainty, but the ecological validity of LLM simulation remains an open methodological question.
    • Noise in risk scoring (Section 4.5): risk assessment-type assistants score using a zero-shot LLM judge, which introduces noise and model-dependent performance; the authors list model-specific evaluation as future work.
    • Scenario scale (Section 5.3): the base setup (3 scenarios × 4 sub-scenarios) is intentionally kept lean, and the authors prioritize few but refined scenarios; future work could systematically build dedicated scenario datasets.
    • Tension between personalization and privacy (Section 7): the authors believe personalization requires sensitive context and expands the attack surface, and that the tension among personalization, privacy, and safety remains unresolved; designs that substantively involve users in permission decisions are worth further exploration.
    • Directions for extending Janus (Section 7): multi-agent interaction, more fine-grained use of chat context and history, domain-specific scenario datasets, evaluation of off-the-shelf agents; future work could also compare permission assistant performance using different models (Section 6.1).

    Scope of experimental coverage

    • The subjects are 6 permission assistant configurations; the LLM for both the agent and the permission assistants is a single model, o3-mini (Section 6.1).
    • The scenarios are 3 self-built small synthetic scenarios, each with 4 sub-scenarios, with tool operations on synthetic data; no real user data is used (Section 5.3, Appendix C).
    • The responders are 3 deterministic synthetic responders; the paper describes how real-human responders would be supported but does not report real-human experimental results (Section 5.4).
    • Each full-factorial experiment group is repeated 5 times; the experiments configure no initial persistent policy (Table 4).
    • The threat scope is limited to injection in tool-returned data and misaligned calls, and does not include failures of tool execution itself (Section 5.2).
  6. Summarize the main content of the paper

    Janus is an experimental platform for user-participatory agent permission management; full-factorial experiments show that user participation is key but no single design is best-performing in all situations.

    A systems and evaluation paper: addressing the question of "what role users should play in agent runtime permission management," which lacks systematic study, the authors propose a conceptual model (four axes: persistent policies, action capabilities beyond policies, degree of user involvement, decision basis) and build the Janus platform.

    • Problem to solve: Existing approaches (always ask, pre-written policies, fully automatic) each have shortcomings in usability, alignment, and security, and the user's role is mostly limited to pre-written policies.
    • Method highlights: Janus-Core splits permission management into a deterministic policy manager and pluggable permission assistants, implementing 6 assistants (42–408 lines of code); Janus-Harness automatically evaluates using 3 scenarios built on AgentDojo, 4 sub-scenarios, and 3 synthetic responders, with ground truth defined on call-argument patterns.
    • Main results:
      • In the full-factorial experiment (3 scenarios × 4 sub-scenarios × 3 responders, repeated 5 times, model o3-mini), under the always yes responder, all assistants except risk assessment autonomous (rt=0.2) have attack/misalignment rates above 80%.
      • Under the alignment aware responder, only user confirmation achieves zero attack/misaligned calls across all sub-scenarios.
      • policy suggestion under alignment aware has more attack/misaligned calls than always no, because locally correct policy approvals lead to subsequent automatic approval.
      • System validation: output evaluations for all 60 runs passed, with a median desired tool call proportion of 87.8%.
    • Authors' conclusions: User involvement is critical for privacy and security, but user behaviors such as permission fatigue must be incorporated into design considerations; no single design is optimal in all situations, and deployment of permission assistants requires a more principled, context-sensitive approach; the authors propose 8 design considerations (e.g., consider both effectiveness and interaction volume, design for erroneous "yes" decisions, and attend to the long-term consequences of locally correct decisions).
Read originalarxiv.org