Papers for

api developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

How AI agents change exploiting web security weaknesses

The Agent in the Middle: How AI-Mediated Access Reshapes Web Vulnerability Exploitation

Abstract: Web services increasingly expose backend interfaces that let users delegate tasks to AI agents, which invoke service operations directly without navigating websites. This shift changes how existing Web vulnerabilities can be exploited. We investigate these changes through VELA, an executable benchmark covering 44 vulnerabilities across twelve Web application families. The benchmark preserves vulnerable backends and derives agent-facing interfaces from legitimate workflows. We evaluate three commercial agents across multiple interface configurations, using controlled comparisons to separate interface effects from agent behavior and independent oracles to verify attack outcomes. Our results show that the agent realizes every attack that direct interface invocation realizes in the reference configuration, so exploitability is set mainly by the interface: 91% of vulnerabilities remain exploitable under the reference design. Interface restrictions prevent some attacks by removing required operations or limiting input control, while retention remains high across vulnerability classes. No case-level loss in the reference configuration is attributed to agent refusal or input normalization, and in one case the agent completed an attack by supplying calls the attacker omitted. Across the tested configurations, interface design affects exploitability more than agent choice, moving retention from 39% to 95% against at most 4.5 points across agents, but some restrictive interfaces also limit legitimate workflows. Our study provides a systematic empirical account of how agent-mediated access reshapes existing Web vulnerabilities, grounding future Web architecture design in measured security outcomes and trade-offs between reducing attack exposure and preserving legitimate functionality in agent-facing services.

Mon 26 OctCryptography and SecurityArtificial IntelligenceSoftware Engineering
The gist
Websites now let AI agents perform actions directly through their backend systems instead of users clicking around. This change affects how attackers can exploit security flaws in these websites. The authors built a test set called VELA to check vulnerabilities when AI agents interact with web backends, finding that most vulnerabilities remain exploitable depending mostly on the design of the AI-facing interface. Restricting these interfaces can block some attacks but may also limit normal tasks users want to do. Overall, the interface design matters more for security than the choice of AI agent.
Open → 2610.35541v1

Agent tool permissions often have no smallest sufficient grant

Incomparable Minima in Agent Tool Authorization

Abstract: An agent that needs a tool needs authority to call it, and every proposal for governing that authority has to answer one question: of two grants that both let the agent finish a task, which one is smaller? Over-privilege benchmarks score agents against this answer, and permission solvers compute it. We check the question against the authorisation tables that Microsoft and Google publish, covering 22,305 Microsoft Graph endpoint bindings and 23,852 Google API methods, on tasks generated from each table's own resource structure. For 29.8-33.3% of Graph tasks and 3.2% of Google resource tasks the question has no answer, because the minimal sufficient grants form an antichain, a set of grants none of which authorises a subset of what another does. In its two main authorisation modes, Microsoft's shipped privilegeLevel rates 67.4-74.4% of these incomparable pairs equal. Google ships no such scale, so on Google we apply a reconstruction of the FORTIS privilege ladder, which rates 90.7-98.7% equal. Applying the same reconstruction to Graph attributes much of that difference to the scale rather than the corpus: its form based on the HTTP verb alone rates 92.0% of Google pairs and 89.0-92.0% of Graph pairs equal. Four risk measures (operations, writes, services reached, administrative surface) order 28.7% of incomparable Google pairs and 15.7-23.4% of Graph pairs in opposite directions, so for those pairs the ranking has no measure-independent answer. Offered pools of minimal and larger grants, 6 frontier models pick a minimal grant on 99.0% of 1,708 decisions, a grant smallest under all four measures on 66.7%, and on 22.1% a grant that another option matches or beats on every measure. We propose that benchmarks report which minimal grant an agent chose and that deployments show the alternatives to whoever approves the grant.

Thu 22 OctCryptography and Security
The gist
When software agents need permission to use tools, it’s hard to say which permission is the smallest that still allows the task to get done. The authors looked at Microsoft and Google’s public authorization data and found many cases where there is no single smallest permission, because different minimal permissions cover different parts of what’s needed. Without a clear way to rank these permissions, it is tricky to decide which grants are less powerful or safer. They suggest reporting which minimal grant an agent uses and showing alternatives to those who approve permissions.
Open → 2610.31914v1

Language models identified by unique one-word answers to questions

Forty Questions: Identifying a Language Model from One-Word Answers

Abstract: A model behind an API can be identified from its one-word answers to everyday questions such as "Name a sound" or "Name a poet". A model's profile records how often it gives each answer to each question. We attribute new answers to the model most likely to have given them. On a panel of 94 models, 40 answers identify the exact model 92.5% of the time, against 1.1% by chance. Profiles built through OpenRouter identified all ten models served by DeepInfra under blinded labels. A system prompt lowers accuracy by 6 to 16 points. We applied the method to 96 endpoints of 13 open models on OpenRouter, and 92 identify as the model they claim. Of the other four, one matches the claimed model with reasoning turned off. One serves Gemma 4 under the name Llama 4 Maverick: it names itself Gemma 4, and it is billed Gemma 4's token counts on every message. Two remain unresolved. Billing records also show context added to first-party models. Grok 4.7 is billed 1,247 input tokens for a one-line question that costs GPT-4o only 12 tokens, and five models state the current date without being billed for it. The questions come from a public census of model defaults, and the method costs cents per endpoint.

Tue 20 OctComputation and Language
The gist
It is possible to tell which language model answered a question by looking at just one-word responses to simple everyday questions. The authors show that by collecting patterns of these answers from many models, they can guess the right model over 90% of the time. They tested this on a large number of models through APIs and found some mismatches and hidden details like extra billing tokens added by certain services. This method is low-cost and relies on answers from common questions, making it practical to identify models behind APIs.
Open → 2610.28281v1

Ai agents often fail to safely recover from errors in enterprise tasks

UndoBench: Separating Task Competence from Recovery Capability in Tool-Using AI Agents

Abstract: Tool-using AI agents are increasingly deployed across enterprise software systems, yet widely used benchmarks primarily evaluate nominal task completion, conflating baseline planning competence with operational fault recovery. We introduce UndoBench, a benchmark spanning 36 base workflows and 36 fault scenarios across 8 enterprise domains, decoupling task competence from recovery capability via counterfactual paired trials under identical seeds alongside wire-level effect-history and environment-state oracles. On 12 held-out TEST workflows across two open-weight models, two frameworks, and three recovery paradigms (5,760 executions / 2,880 paired trials) in the frozen lost-acknowledgment study, nominal competence reached 83.54% while conditional recovery success rate (CRSR) fell to 46.72%, with naive retry producing duplicate external effects in 53.33% of trials. Extensions to commercial API models reproduced this competence-recovery separation. Evaluations across complementary execution boundaries show that recovery is phase-dependent: before mutation, methods perform similarly without duplicate effects among capable trials; during partial mutation, naive retry, per-call idempotency, and zero-privilege journaling collapse on the evaluated composite workflows; after commit but before acknowledgment, verification and server-side idempotency substantially improve safety. These findings demonstrate that evaluating nominal completion alone masks critical, phase-dependent recovery vulnerabilities in autonomous agents.

Sun 4 OctSoftware EngineeringArtificial Intelligence
The gist
Many AI programs that use tools in business settings can complete tasks, but they struggle to fix mistakes when things go wrong. The authors created UndoBench, a new way to test AI that separates how well an AI can do a task from how well it can recover after errors. They found that while AI completes tasks correctly most of the time, it only recovers from errors less than half the time. This shows that just checking if AI finishes tasks hides important problems with how AI handles failures at different stages.
Open → 2610.05622v1

Communication emerges between frozen ai language models using prompt optimization

Communication between Frozen Large Language Models via Prompt Optimization in a Referential Game

Abstract: We study communication between two frozen large language models from different providers, with different tokenizers, accessed through their API endpoints. The two play a referential game: one sees an object and describes it in a short fixed-length message over a small alphabet; the other must pick that object out of a candidate set. Neither model's weights are updated. Each agent's prompt is rewritten by an isolated prompt optimizer whose reflection model reads that agent's scored interactions. In the positional setting, optimized prompts carry a shared code that generalizes to held-out objects above a measured no-codebook baseline, including when the memory window is removed. In a second setting, independent per-letter blocks no longer fit within the message, although a whole-object place value code does. The base system fails to establish reliable communication: the sender struggles to retain an injective rule, and the receiver has too few confirmed examples in view. A sender collision penalty, retention of successful interactions, and sequential optimization enable successful place value communication in some runs. Outcomes vary across runs and reflection models. In successful runs, the protocol is written into the optimized prompts, where it can be read and audited directly.

Fri 25 SeptComputation and LanguageArtificial IntelligenceMachine Learning
The gist
This paper looks at how two separate large language models from different providers can communicate with each other without changing their internal setup. One model describes an object in a short message using a limited set of symbols, and the other model tries to identify the object based on that message. Instead of changing the models themselves, the researchers optimize the prompts given to each model to improve communication. They find that with careful prompt tuning, the models can develop a shared code that helps them understand each other even when messages are short and limited. The success varies depending on optimization methods, but when it works, the communication protocol can be read directly in the prompts.
Open → 2609.31989v1