MCP
JD

Jun Dai

14 papers in the library · Same-name authors told apart using DBLP

Papers

14
Can Agents Trust Their Skills? Uncovering Unsafe Chains of Trust in Skill-Based LLM Agents
Yan WangZhihao ZhangKe ChenKai ChenYaqin ZhangDuohe MaJun DaiXiaoyan Sun
TrustProbe uncovers unsafe chains of trust in skill-based LLM agents, which install packages that can be auto-invoked across tasks. It analyzes agent source code for source-to-sink paths from skill-controlled inputs to security-sensitive operations, generates realistic SKILL.md seeds with canaries via feedback-guided evolution, and validates with an oracle. Across 11 open-source agents, it found 104 taint-style vulnerabilities; 25.1% of skill-agent trials hit vulnerable paths, and 15 were weaponized, revealing systematic trust failure.
arXivarXiv · · September 30, 2026
0
When Consent Outlives Context: Residual Authority Replay in Long-Lived Agents
Zhihao ZhangChao WangRujia LiQingze WangXiaoyan SunJun Dai
This paper identifies residual authority replay, a failure in long-lived LLM agents where user consent granted for one task persists across sessions and is reused for unauthorized actions. The attack proceeds by obtaining legitimate approval for benign interactions and replaying it during adversarial execution. Across 508 AgentDojo cases with six LLM families, residual authority increases attack success rate (ASR) by up to 35.1 percentage points. In live context-rebinding attacks on 55 Terminal-Bench cases across three production coding agents, ASR increases by 24.9 percentage points on average.
arXivarXiv · · September 27, 2026
3
LoRango: It Takes Two LoRAs to Unlock Hidden Behaviors in Diffusion Models
Jin WeiRundong LiRuihao YangYikai WangXiaoyuan DuanJianxiong WuYanbo WangChang XuLingyun ZhangZhuyang YuPing ChenJun Dai  +1
This paper introduces LoRango, a pair-conditioned attack on text-to-image diffusion models that is realized through two complementary LoRA adapters. A Signature adapter writes a pair-specific code into intermediate representations, and a Payload adapter with selective code-reading and opposing branches releases a programmed action only when both adapters are loaded together, otherwise cancelling. LoRango achieves 97.9–98.7% attack success when paired, versus 2.8–4.6% individually, showing that inspecting single adapters cannot guarantee composition safety.
arXivarXiv · · September 22, 2026
0
ViTeGate: Visual-Textual Triggered Knowledge Poisoning for Vision-Language Retrieval-Augmented Generation
Xue TanXuandi ZengYu ShaoZhongli FangMingyu LuoXiaoyan SunPing ChenJun Dai
ViTeGate is a new knowledge poisoning attack for vision-language retrieval-augmented generation (VLRAG) systems. It uses two separate triggers: a visual trigger in the query image to promote the retrieval of poisoned evidence, and a textual trigger in the query text to activate the attacker's intended response from that evidence. This joint control allows the attack to remain inactive unless both triggers are present, improving stealth and effectiveness. Evaluated on several datasets, retrievers, and large vision-language models, ViTeGate achieves up to 0.98 attack success rate on InfoSeek while retaining up to 0.93 clean answer accuracy.
arXivarXiv · · September 13, 2026
0
0
Detecting and Localizing Segment-Level Poisoning in Multi-Source LLM-Agent Inputs
Xue TanChanghui WangSanrui YangHao LuanZhuyang YuJin WeiPing ChenXiaoyan SunJun Dai
ActProbe is an internal-state-based framework that detects and localizes segment-level poisoning in multi-source LLM-agent inputs. It exploits a discovered consistent activation-space pattern—the poison direction—induced by successful attacks. ActProbe projects MLP activations onto a learned direction and uses a linear SVM to detect contamination. For localization, BinRoL combines recursive replacement ablation with Mahalanobis pruning and robust leaf detection, reducing forward passes from O(n) to O(k log n) while achieving 0.95 detection and 0.90 localization F1-score.
arXivarXiv · · September 13, 2026
0
0
PixCrypt: Fast Fine-Grained FHE with Range-Aware Caching
Chao WangShubing YangXiaoyan SunYan BaiJun DaiDongfang Zhao
PixCrypt accelerates Fully Homomorphic Encryption for fine-grained data (e.g., pixel-level images) via range-aware caching. It replaces expensive fresh ciphertext generation with cache retrieval and coefficient-level operations across CKKS, BFV, and BGV, using randomized reconstruction to ensure non-repeating ciphertexts. Its linear noise growth reduces bootstrapping and NTT load, achieving up to 35x faster encryption while maintaining IND-CPA security, as demonstrated on five real-world image processing tasks.
arXivarXiv · · September 12, 2026
0
0
Measuring the Wrong Thing: Internal Harmfulness Scores Anti-Rank Successful Jailbreaks
Mingyu LuoMing DengZilang QiuYiming ChengCi TaoXue TanSijin SunYangfu LiPing ChenJun DaiXiaoyan Sun
Internal safety scores are validated by how well they separate harmful prompts from benign ones, but this paper shows that separation does not guarantee catching successful jailbreaks. The authors introduce Active Attention Probing, which supplies a fixed measurement coordinate unaffected by wrapper-induced changes. On Llama, wrapping raises harmful generation from 0.05 to 0.27 while harmful intent AUROC falls from 0.936 to 0.803, so attacks become more dangerous while prompts appear safer. Among wrapped harmful prompts, the outcome AUROC is 0.220, meaning attacks that succeeded are ranked below those that failed. The reversal persists across three models, seven attack families, and two judges.
arXivarXiv · · August 10, 2026
0
0
When Agents Go Rogue: Activation-Based Detection of Malicious Behaviors in Multi-Agent Systems
Haowen XuXue TanLei MaZhihao ZhangChao WangQingze WangPing ChenJun DaiXiaoyan Sun
AcMAS detects malicious behaviors in LLM-based multi-agent systems by analyzing internal reasoning states in the activation space of local agents, operating without explicit interaction graphs or temporal synchronization. This approach enables it to identify semantically stealthy attacks that evade graph-based methods, achieving 0.94 F1 in synchronous settings and 0.93 F1 in asynchronous settings, outperforming graph-based baselines by +0.22 and +0.55 F1, respectively. The activation signals also guide targeted restoration of compromised agents, avoiding disruptive isolation.
arXivarXiv · · July 7, 2026
0
3
PRA-RAG: Provably Robust Aggregation in Retrieval-Augmented Generation against Retrieval Corruption
Xue TanYi ZhengChang HuoYunruo ZhangYu LiuHao LuanZhuyang YuXiaoyan SunPing ChenJun Dai
PRA-RAG is a provably robust aggregation algorithm for Retrieval-Augmented Generation (RAG) that defends against poisoning attacks on retrieved texts. It samples multiple combinations of retrieved texts, uses geometric structures in the embedding space to identify a robust subset, and derives a stable aggregated representation. The paper provides theoretical bounds on the maximum impact of poisoned retrieved content and a quantitative robustness measure. Experiments show PRA-RAG reduces the attack success rate to as low as 1% while maintaining 71% accuracy, outperforming existing methods.
arXivarXiv · · July 2026
0
0
Generalizable and Interpretable RF Fingerprinting with Shapelet-Enhanced Large Language Models
Tianya ZhaoJunqing ZhangHaowen XuXiaoyan SunJun DaiXuyu Wang
This paper proposes a radio-frequency fingerprinting framework that integrates variable-length 2D shapelets with a pre-trained large language model (LLM). The shapelets capture interpretable local temporal patterns from in-phase and quadrature (I/Q) components, while the LLM provides global context and generalization. The framework also supports prototype-based few-shot inference for cross-domain adaptation. Experiments on six datasets show superior standard and few-shot performance across source and unseen domains.
arXivarXiv · · February 3, 2026
0
2
EMPalm: Exfiltrating Palm Biometric Data via Electromagnetic Side-Channels
Haowen XuTianya ZhaoXuyu WangLei MaJun DaiAlexander WyglinskiXiaoyan Sun
EMPalm is an attack framework that recovers both palmprint and palmvein images from eavesdropped electromagnetic (EM) signals emitted by palm recognition devices. It first separates interleaved modality transmissions, combines informative frequency bands, and reconstructs images. A diffusion model then restores fine-grained biometric features. On seven prototype and two commercial devices, EMPalm achieves SSIM up to 0.79, PSNR up to 29.88 dB, and FID as low as 6.82. Against four palm recognition models, it attains an average spoofing success rate of 65.30% over 6,000 samples from 100 users.
arXivarXiv · · October 8, 2025
0
5
Enabling Practical and Privacy-Preserving Image Processing
Chao WangShubing YangXiaoyan SunJun DaiDongfang Zhao
iCHEETAH enables practical pixel-level image processing under fully homomorphic encryption (FHE) by overcoming the efficiency bottleneck of the CKKS scheme. It introduces three caching mechanisms that pre-encrypt radix values or frequent pixel values, drastically reducing redundant encryption. Experiments show up to 19x faster encryption than original CKKS, and up to 91.53% speed improvement in applications like mean filtering and watermarking, while maintaining IND-CPA security and high image quality. This makes FHE-based image processing viable at scale without sacrificing privacy.
arXivarXiv · · September 5, 2024
0
3
SQLaser: Detecting DBMS Logic Bugs with Clause-Guided Fuzzing
Jin WeiPing ChenKangjie LuJun DaiXiaoyan Sun
SQLaser is a clause-guided fuzzer that detects logic bugs in DBMSs by modeling 35 identified bug patterns as error-prone function chains—sequences of functions triggered by certain SQL clause combinations. It uses a directed fuzzer with a novel path-to-path distance-calculation mechanism to efficiently navigate to target sites and uncover bugs. Evaluated on SQLite, MySQL, PostgreSQL, and TiDB, SQLaser reduces detection time by about 60% compared to other fuzzing approaches.
arXivarXiv · · July 5, 2024
0
3
HuntFUZZ: Enhancing Error Handling Testing through Clustering Based Fuzzing
Jin WeiPing ChenJun DaiXiaoyan SunZhihao ZhangChang XuYi Wanga
HuntFUZZ is a software fault injection (SFI) based fuzzing framework that improves error-handling testing by clustering error points whose execution paths share common segments. Instead of redundantly generating test cases for each individual error point, it uses concolic execution to compute constraints only for the common paths within a cluster, providing efficient test cases that explore related error points with minimal redundancy. Evaluated on 42 applications, HuntFUZZ uncovered 162 known bugs (62 error-handling related) and 7 unique zero-day bugs missed by existing fuzzers, outperforming AFL, AFL++, AFLGo, and EH-FUZZ in coverage and speed.
arXivarXiv · · July 5, 2024
0
0
Authors with the same name
Jun Dai · 17 papers
Frequent collaborators
Xiaoyan Sun (14)
Ping Chen (8)
Xue Tan (5)
Zhihao Zhang (4)
Chao Wang (4)
Jin Wei (4)
Zhuyang Yu (3)
Haowen Xu (3)
Qingze Wang (2)
Chang Xu (2)
Mingyu Luo (2)
Hao Luan (2)