arXiv Science⌕ Search

arXiv subjects

Tomohiro Morikawa

Publications and source records attributed to Tomohiro Morikawa.

4 recordsLinked to original sources

From Denial to Detour: How Recovery Hints Enable Authorization Bypass in LLM Agents

To make LLM agents more reliable, tool developers often tell the agent what to do next in their error messages, for example by suggesting another tool. We show that this practice creates a security problem. In the three agent hosts we examined, a host-issued denial reaches the model as tool-result text, in the same form as a tool error and without a separate denial marker. When a recovery hint appears next to the denial, the agent can follow it, complete the denied action with another tool and tell the user that the task succeeded. This hint-induced authorization bypass needs no attacker, and every executed call is allowed on its own. In controlled experiments on 43 scenarios and nine models (23,056 runs), agents largely tell a denial from a fault without a hint, but one hint sentence raises the bypass rate of seven models from 3-30% to 46-100%, including on high-risk actions such as disabling multi-factor authentication. We reproduce the bypass in a real agent stack built on the OpenAI Agents SDK and the official MCP filesystem server. For denials that the host issues, the host can tell a denial from a fault, which the agent cannot always do, so we focus on host-side defenses. On four models, removing the hint only from denials lowers the high-risk bypass rate from 63% to 18% with recovery almost unchanged, and adding a memory of denied effects reduces it to zero in the tested scenarios while recovery stays at 82%, compared with 83% without a defense. A typed denial channel, prompt rules and a guard agent are less effective.

cs.CR↗

Data-Efficient Backdoor Attacks on Code Models via Trigger-Neutralized Counterfactual Scoring

Pre-trained code models are exposed to backdoor poisoning, in which crafted training samples make the model misbehave on a trigger. A capable attacker minimizes the number of such samples, since each adds cost and exposure and a lower poisoning rate leaves a smaller footprint for defenses. Which samples to poison therefore matters, but existing data-efficient selection methods target image classification, offer no scoring mechanism for autoregressive generation, and have not been studied on code. We propose Trigger-Neutralized Counterfactual Scoring (TNCS), which isolates a trigger's contribution to the target behavior by comparing the scoring model's output on a triggered input with its output on a trigger-neutralized counterfactual, covering classification and generation alike. TNCS attains higher attack success rates than the baselines at very low poisoning ratios, across three CodeXGLUE tasks and five trigger families, without degrading clean-task performance, and its margin grows as the ratio decreases. It is the only method effective on every trigger family, and its selected poison set transfers to mismatched victims.

cs.CR↗

Memory-Coupled Unlearning for Data-Absent Identity Forgetting

Machine unlearning aims to reduce the influence of designated training data from a trained model while preserving its utility on retained data. Identity-level unlearning is particularly challenging when only limited target-specific information is available when a forgetting request is processed. In this work, we propose Memory-Coupled Unlearning (MCU), a framework that augments a host model with a Modern Hopfield Network (MHN) serving as a controllable external identity-prototype memory. During prototype construction, feature representations associated with each training identity are aggregated into identity prototypes and stored in the MHN. A Prototype Adaptation Network (PAN) transforms the retrieved memory representation, while a Dependency Gating Unit (DGU) controls its contribution to downstream prediction. When an identity is requested to be forgotten, MCU first removes the corresponding prototype from the external memory and subsequently readapts the model using limited support information associated with the target identities together with retained data. Importantly, in this work, ``data-absent'' specifically refers to the absence of the complete original forget set during request-time gradient-based readaptation; retained data may still be used to preserve downstream-task utility. Experiments based on the identity-partitioning and one-shot support construction of 1-SHUI show that MCU achieves a favorable empirical trade-off among model utility, membership distinguishability, and request-time computational efficiency compared with the evaluated baselines. These results provide empirical evidence for the potential of controllable external memory in machine unlearning, rather than a formal guarantee of complete information removal.

cs.CR↗

Don't Trust the AI Ecosystem: Analyzing Privacy Leakage in Compromised Open-Source Components

Existing model inversion (MI) attacks predominantly rely on post-training optimization to recover private data from model outputs. However, these methods are fundamentally constrained by the target model's generalization bottleneck, often yielding generic features rather than specific identities, particularly on high-dimensional datasets. In this paper, we introduce GradLock, a novel training-time injection attack that stealthily injects sensitive training data directly into the model parameters. Operating within a compromised supply chain context, GradLock leverages stateless deterministic indexing to establish isolated data vaults and employs dynamic gradient locking to prevent payload degradation during the optimization process. This mechanism allows the adversary to extract pixel-perfect data from the final model without retaining access to the training environment. Extensive experiments on MNIST, Imagenette, and CelebA demonstrate that GradLock achieves near-lossless reconstruction (SSIM ~ 1.0) and instant extraction (< 1.0s). Compared to existing training-time injection methods, our approach exhibits superior robustness against standard deployment optimizations, including quantization, pruning, and fine-tuning. Furthermore, a user deployment study reveals that 93.3% of participants failed to detect the malicious logic, highlighting a severe blind spot in the security of modern AI supply chains.

cs.CR↗