프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts

CapLite: 모델이 작성한 보안 산출물 없이 작은 언어 모델 에이전트를 위한 프롬프트 인젝션 방어

  • 연구 문제 기존 강한 방어는 보안 산출물을 에이전트 모델이 쓰게 하는데, 소형 모델은 이 산출물을 안정적으로 쓰지 못합니다.
  • 연구 방법 CapLite는 도구 스키마에서 정책을 고정 규칙으로 도출하고, 쓰기 호출을 읽기 전에 확정한 뒤 결정론적 Mediator가 요청에 명시된 값만 허용합니다.
  • 주요 결과 15개 모델의 AgentDojo 평가에서 CapLite는 13,935개 공격 에피소드 중 공격 성공 0건을 기록했고, 공격 중 유용성은 29.0%로 CaMeL의 27.2%와 비슷했습니다.

소형 모델 에이전트는 방어 규칙을 믿고 쓸 수 있을까

도구를 쓰는 에이전트는 이메일이나 웹페이지처럼 누구나 쓸 수 있는 데이터를 읽기 때문에, 그 안에 숨은 지시문이 에이전트의 쓰기 동작을 바꿀 수 있습니다. 최근의 강한 방어인 CaMeL, Progent, IPIGuard, DRIFT는 결정을 모델의 맥락에서 빼내 코드에 넘기지만, 그 코드가 집행할 보안 산출물인 프로그램, 권한 정책, 의존 그래프, 제약 목록은 에이전트 모델이 직접 씁니다. 이 논문은 로컬이나 기기에서 돌아가는 소형 언어 모델(SLM) 에이전트가 이런 산출물을 믿고 맡길 수 있는지 15개 오픈 가중치 모델로 확인합니다. 저자들은 산출물을 쓰는 모델의 실수가 그대로 집행에 옮겨진다고 봅니다.

모델이 쓴 산출물의 실패

Progent는 요청으로부터 권한 정책을 만들고 호출마다 갱신합니다. 이 정책은 15개 모델 중 14개에서 공격을 허용했고 총 676건이 성공했습니다. IPIGuard는 13개 모델에서 435건, DRIFT는 11개 모델에서 214건의 공격을 허용했습니다. 반대로 CaMeL은 프로그램을 인터프리터에서 실행하므로 13,935개 공격 에피소드 중 20건만 성공했지만, 최종 프로그램이 실행되지 않는 비율이 모델에 따라 높았습니다. Granite-4.2-8B에서는 에피소드의 68%에서 실행되지 않았습니다. 허용 정책이 틀리면 공격이 통과하고, 실행 산출물이 틀리면 작업이 실패하는 구조입니다.

Figure 6: Model-written security artifacts on 15 models. (a) CaMeL episodes in which the model produced no
runnable program, by failure type. (b) Progent ASR w…

Figure 6 : Model-written security artifacts on 15 models. (a) CaMeL episodes in which the model produced no runnable program, by failure type. (b) Progent ASR with policies generated by the agent’s model; dots are the ASR, numbers on the right are successful attacks out of 929, and the open circle is the undefended ASR. (c) Share of attempted write calls in attacked episodes that Progent’s generated policy blocked. (d) ASR of IPIGuard (dots, with successful attacks on the right), DRIFT (diamonds) and the undefended agent (open circles).

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.
Figure 8: Case 2: a small model and CaMeL’s program (Slack, user task 0, no attack). With Qwen3-1.7B, CaMeL
makes 30 model calls and executes no tool; with Gra…

Figure 8 : Case 2: a small model and CaMeL’s program (Slack, user task 0, no attack). With Qwen3-1.7B, CaMeL makes 30 model calls and executes no tool; with Granite-4.2-8B its model returns no code. CapLite plans one read whose URL the request states and completes the task with four model calls on both models.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

스키마에서 정책을 도출하는 CapLite

CapLite는 모델이 권한을 정하지 않습니다. 도구 이름, 설명, JSON 매개변수 스키마에서 고정 규칙으로 정책을 도출하고, 사용자 요청 q가 명시한 값들의 집합 G(q)를 만듭니다. Planner는 요청과 도구 문서만 보고 최대 10개의 도구 호출을 내며, 그중 쓰기 호출은 어떤 도구 결과도 읽기 전에 확정됩니다. Reader는 읽기 전용 호출을 반복하면서 관찰을 모으고, Binder는 추출된 후보 식별자 중 하나를 고르거나 none이나 ask를 선택하며 값을 직접 쓰지 않습니다. Composer는 자유 텍스트 payload를 작성합니다. 결정론적 Mediator는 실행 전에 도구 분류, 플레이스홀더 제거, 인자 스키마, 그리고 모든 권한 인자가 G(q)의 원소인지 검사합니다.

권한 인자가 요청에 없으면 실행하지 않고 사용자에게 확인을 요청합니다.

Figure 4: CapLite. Top, the trusted instruction path: the Planner sees only the request q and the tool schemas Σ
and commits the write calls, with placeholders…

Figure 4 : CapLite. Top, the trusted instruction path: the Planner sees only the request q and the tool schemas Σ and commits the write calls, with placeholders for values to look up, before any tool result is read. Code derives the policy from Σ and the grounding set G(q) from q. Bottom, the untrusted observation path: the Reader makes read-only tool calls, whose results may contain the attacker’s text. The Binder picks a candidate identifier and the Composer writes payload text. The Mediator, which is deterministic code, admits a write only if every authority argument is in G(q), checks the destination of every read, and asks the user when a value is missing. All model calls use one SLM.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

쓰기 무결성의 성립 조건

두 속성이 구조적으로 성립합니다. 첫째, 실행된 쓰기 호출은 Planner가 도구 결과를 읽기 전에 확정한 쓰기들의 같은 순서 접두부입니다. 둘째, 실행되는 모든 권한 인자는 G(q)의 원소이거나 사용자가 확인한 값입니다. 따라서 주입된 텍스트는 읽기의 방향과 최종 응답은 바꿀 수 있어도, 쓰기를 추가하거나 다른 쓰기 도구를 고르거나 수신자·계좌·금액·목적지를 요청에 없는 값으로 바꿀 수 없습니다. 자유 텍스트 인자인 메시지 본문은 Composer가 쓰므로 이 제약을 받지 않습니다. 감사에서는 25,452개의 CapLite 에피소드 전체에서 위반이 없었습니다.

공격 성공과 공격 중 유용성

AgentDojo의 네 스위트, 15개 모델에서 주 공격인 important_instructions로 평가했을 때 CapLite는 13,935개 공격 에피소드 중 공격 성공이 0건이었습니다. 같은 경우 CaMeL의 공격 중 유용성은 27.2%였고 CapLite는 29.0%였습니다. 공격 성공률은 929개 tool-goal 쌍에서, 공격 중 유용성은 949개 공격 쌍에서 측정했습니다. 독립된 8개 모델의 robustness 실험에서는 tool_knowledge, 읽기 exfiltration, descriptor collision 공격도 CapLite에서 모두 0건이었습니다. 다만 CapLite의 공격 중 유용성은 undefended 에이전트의 50.2%보다 21포인트 낮았습니다.

Figure 2: Attack success rate of each defense on each of 15 models underimportant_instructions. Each cell gives
the ASR in percent and, below it, the successfu…

Figure 2 : Attack success rate of each defense on each of 15 models underimportant_instructions. Each cell gives the ASR in percent and, below it, the successful attacks out of 929 tool-goal episodes. Dark blue cells have no successful attack; gray cells have none because benign and attacked utility are below 10%, which comes from inaction. CapLite is the only defense without a successful attack on any model.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Table 2: Successful attacks k/n (↓) over the eight ro-
bustness models. Best in bold, second underlined; the
undefended agent is not ranked

Table 2 : Successful attacks k/n (↓) over the eight ro- bustness models. Best in bold, second underlined; the undefended agent is not ranked.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Figure 10: Case 4: read exfiltration (Qwen3-4B-Instruct-2507, Slack, user task 0). The injection in the page tells
the Reader to fetch an attacker URL with the…

Figure 10 : Case 4: read exfiltration (Qwen3-4B-Instruct-2507, Slack, user task 0). The injection in the page tells the Reader to fetch an attacker URL with the page text in the address. The undefended agent and Progent make the request. CaMeL never issues it. CapLite reads the page the request names, and when the Reader asks for the attacker URL, the Mediator denies the read because the URL is not stated in the request; the task is completed.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

Mediator와 쓰기 확정의 기여

8개 robustness 모델에서 구성요소를 하나씩 제거했습니다. Mediator를 제거하면 grounding 필터도 함께 빠지므로, 이 변형은 두 요소를 합친 효과를 보여줍니다. 이 경우 공격 성공은 7,432개 중 106건, ASR 1.4%가 되었고 BU와 UA는 각각 올랐습니다. 저자들은 Mediator가 보안의 원천이자 유용성 격차의 일부라고 해석합니다. 쓰기를 확정하지 않고 재계획하는 Planner를 쓰면 53건(ASR 0.7%)이 성공했습니다. 후보만 고르는 Binder 대신 자유 텍스트 Binder를 쓰면 공격은 0건이었지만 BU가 2.0포인트 낮아졌습니다. Reporter를 제거하면 BU와 UA가 모두 절반 가까이 떨어졌습니다.

Table 3: Ablations of CapLite, averaged over the eight
robustness models. Each row removes one component.
BU and UA are in %, k is the number of successful
att…

Table 3 : Ablations of CapLite, averaged over the eight robustness models. Each row removes one component. BU and UA are in %, k is the number of successful attacks out of 8×929 = 7,432 and ASR is k/7,432 in %.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

토큰 비용과 효율

CapLite의 에피소드당 토큰은 17.1k였습니다. CaMeL은 93.7k, Progent는 63.4k, IPIGuard는 60.5k, DRIFT는 28.1k, undefended 에이전트는 28.0k였습니다. 공격 성공이 0건이거나 거의 없는 두 방어인 CapLite와 CaMeL을 비교하면, CapLite는 같은 유용성을 약 5.5배 낮은 비용으로 얻었습니다. 1,000 토큰당 공격 중 유용성은 CapLite 1.69, DRIFT 1.24, Progent 0.64, IPIGuard 0.59, CaMeL 0.29였습니다. 이 지표는 공격 중 유용성을 토큰 수로 나눈 값이며, 공격 성공률을 따로 반영하지 않습니다.

Table 6: Benign utility (%) and tokens per episode per model. In each row, the best value among the defenses is in
bold and the second best underlined. The und…

Table 6 : Benign utility (%) and tokens per episode per model. In each row, the best value among the defenses is in bold and the second best underlined. The undefended agent is not ranked.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

한계

모든 결과는 AgentDojo의 네 개 스위트에서만 얻었습니다. CapLite의 공격 중 유용성은 undefended 에이전트보다 낮고, Gemma-4-E4B와 Gemma-4-12B에서는 CaMeL보다 유의하게 낮습니다. 사용자가 명시하지 않은 권한 값은 확인 요청이 필요해 그만큼 작업이 실패할 수 있습니다. 주 공격과 두 변형 공격 외의 공격 종류는 이 논문의 실험에 포함되지 않았습니다.

Figure 5: (a) Per model, undefended benign utility (gray) and utility under attack of CaMeL (orange) and CapLite
(blue). (b) Paired difference CapLite − CaMeL…

Figure 5 : (a) Per model, undefended benign utility (gray) and utility under attack of CaMeL (orange) and CapLite (blue). (b) Paired difference CapLite − CaMeL on matched episodes; colored points have intervals that exclude zero. Error bars show 95% bootstrap confidence intervals, resampled by user task.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 9: Primary cause of CapLite’s benign failures over
15 models. Counting every confirmation request regard-
less of plan correctness gives 123 failures (11…

Table 9 : Primary cause of CapLite’s benign failures over 15 models. Counting every confirmation request regard- less of plan correctness gives 123 failures (11.8%).

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.
Figure 9: Case 3: the cost of asking (Qwen3-8B, Slack, user task 7, no attack). The channel is an authority argument
and its name appears only in a tool result…

Figure 9 : Case 3: the cost of asking (Qwen3-8B, Slack, user task 7, no attack). The channel is an authority argument and its name appears only in a tool result, so CapLite has no admissible candidate and asks the user to confirm it. The undefended agent completes the task with a channel it took from a tool result. A simulated user who answers from AgentDojo’s ground truth lets CapLite complete the task with one confirmation.

원문 · CC BY 4.0 · Zimo Xu, Wenzhuo Liu, Hideki Nakayama · CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Zimo Xu, Wenzhuo Liu, Hideki Nakayama
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 12일
등록일
2026년 11월 14일
수정일
2026년 11월 12일
버전
v1
arXiv
2611.17115
분류
cs.AI · cs.CL · cs.CR
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Enforcement defenses against prompt injection, such as CaMeL, Progent, IPIGuard and DRIFT, ask the agent's own model to write a security artifact (a program, a privilege policy, a dependency graph or a constraint list) that code then enforces. We ask whether small language model (SLM) agents can be trusted to write these artifacts. Across 15 open-weight models, 13 of them between 1.7B and 12B parameters, they cannot: the policies, graphs and constraints that the agent's model writes admit attacks on 14 (Progent), 13 (IPIGuard) and 11 (DRIFT) of the models, and CaMeL's programs fail to run in up to 68% of episodes. We present CapLite, which derives its policy from the tool schemas, commits the write calls before any tool result is read, and admits a write only if every argument that decides whom or what it affects is stated in the user's request. This guarantees write integrity: injected text cannot add a write, and no write reaches a recipient, amount, object or destination that the user did not state. No attack succeeds in 13,935 attacked AgentDojo episodes. CapLite reaches utility under attack comparable to CaMeL's (29.0% vs. 27.2%) with fewer tokens than every other enforcement defense and than the undefended agent: 17.1k per episode, 18% of CaMeL's, and the highest utility per token of all enforcement defenses.

원문 인용

Zimo Xu, Wenzhuo Liu, Hideki Nakayama (2026). CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts. arXiv:2611.17115v1. https://arxiv.org/abs/2611.17115v1

BibTeX
@misc{xu2026caplite,
  title = {{CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts}},
  author = {Zimo Xu and Wenzhuo Liu and Hideki Nakayama},
  year = {2026},
  eprint = {2611.17115},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.17115v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입