paper-with-me

홈 › Papers

Automated Framework to Evaluate and Harden LLM System Instructions against Encoding Attacks

2026-04-01 · Anubhab Sahu, Diptisha Samanta, Reza Soosahabi arxiv

System Instructions in Large Language Models (LLMs) are commonly used to enforce safety policies, define agent behavior, and protect sensitive operational context in agentic AI applications. These instructions may contain sensitive information such as API credentials, internal policies, and privileged workflow definitions, making system instruction leakage a critical security risk highlighted in the OWASP Top 10 for LLM Applications. Without incurring the overhead costs of reasoning models, many LLM applications rely on refusal-based instructions that block direct requests for system instructions, implicitly assuming that prohibited information can only be extracted through explicit queries. We introduce an automated evaluation framework that tests whether system instructions remain confidential when extraction requests are re-framed as encoding or structured output tasks. Across four common models and 46 verified system instructions, we observe high attack success rates ( > 0.7) for structured serialization where models refuse direct extraction requests but disclose protected content in the requested serialization formats. We further demonstrate a mitigation strategy based on one-shot instruction reshaping using a Chain-of-Thought reasoning model, indicating that even subtle changes in wording and structure of system instructions can significantly reduce attack success rate without requiring model retraining.

📄 PDF Abstract BibTeX arXiv:2604.01039

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Targeted Hardening of Electric Distribution System for Enhanced Resilience against Earthquakes

2021-10-29 · Mahan Fakouri Fard, Mostafa Sahraei-Ardakani, Ge Ou, Mingxi Liu

Securing the power system from catastrophic natural disasters is a rising problem in power system operation and planning. This paper particularly considers earthquake and aims to evaluate and improve the resilience of po…

A Hardened CO$_2$ Sensor for In-Ground Continuous Measurement in a Perennial Grass System

2024-09-10 · Bobby Schulz, Bryan Runck, Andrew Hollman, Ann Piotrowski 외

Carbon dioxide levels below the soil surface are an important measurement relating to plant health, especially for plants such as perennial grasses in northern climates where ice encasement can occur over winter. In such…

Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixes

2026-07-22 · Yuhao Tan, Zhibang Yang, Fangkai Yang, Yuan Yao 외 arxiv

Large language models (LLMs) have made automated program repair (APR) increasingly practical for real-world bugs, but repairing directly from bug reports remains underconstrained. Bug reproduction tests (BRTs) help close…

Program Repair

Harden and Catch for Just-in-Time Assured LLM-Based Software Testing: Open Research Challenges

2025-04-23 · Mark Harman, Peter O'Hearn, Shubho Sengupta

Despite decades of research and practice in automated software testing, several fundamental concepts remain ill-defined and under-explored, yet offer enormous potential real-world impact. We show that these concepts rais…

software testing

Security Hardening Using FABRIC: Implementing a Unified Compliance Aggregator for Linux Servers

2026-01-01 · Sheldon Paul, Izzat Alsmadi arxiv

This paper presents a unified framework for evaluating Linux security hardening on the FABRIC testbed through aggregation of heterogeneous security auditing tools. We deploy three Ubuntu 22.04 nodes configured at baselin…