프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

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

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

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

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

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

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

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

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

비밀번호를 잊었어요.

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

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

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

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

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

논문 해설

Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks

그럼에도 불구하고 모든 지시를 무시하라: 법률 계약서 검토 공격에 대한 프롬프트 인젝션 방어 장치 측정

  • 연구 문제 법률 계약에 삽입된 검토 지시를 기존 프롬프트 인젝션 가드가 탐지할 수 있는지 측정합니다.
  • 주요 결과 평가한 오픈 웨이트 가드는 법률 검토 지시 탐지에 사용할 수 없었고, LLM 탐지기와 캐스케이드가 더 나은 탐지 성능을 보였습니다.

법률 계약 검토와 인젝션 위협

계약 검토 시스템은 반대 당사자가 작성한 문서를 읽습니다. 이 문서에는 자동 검토자를 겨냥한 지시문이 섞일 수 있습니다. 기존 프롬프트 인젝션 가드는 채팅 입력을 기준으로 만들어졌기 때문에, 계약 문서에 삽입된 검토 지시를 얼마나 잘 걸러내는지는 공개된 평가가 없었습니다. 이 논문은 이 공백을 법률 계약이라는 도메인에서 측정합니다.

위협 모델과 평가 설정

평가는 계약을 512-token 청크로 나누고, 청크 하나라도 임계값 0.5를 넘으면 문서를 플래그하는 방식으로 진행합니다. 주입 페이로드는 검토 지시의 대상과 효과에 따라 분류되며, 범위 안의 지시는 가드가 탐지하도록 설계된 범주이고 범위 밖의 주장은 권한이나 승인 주장입니다. 자체 말뭉치 683개 계약과 CUAD 510개 계약을 함께 사용합니다.

Table 3: Scoring payloads in isolation versus embedded
in hosts. The first fraction is how many of that group’s
payloads score ≥0.5 (above the threshold) alone…

Table 3 : Scoring payloads in isolation versus embedded in hosts. The first fraction is how many of that group’s payloads score ≥0.5 (above the threshold) alone in the window, where dilution cannot occur. The second percentage is the share of those payloads’ injected docu- ments (60 hosts per payload) that are flagged, over hosts that themselves score clean. (—) means the detectors flag the unmodified hosts. The CTRL column is the flag rate on the two benign inserts over the same clean hosts. ¶: numbers rest on 4 clean hosts (n=8 and n=3).

원문 · CC BY 4.0 · Mark Heimann, Katherine Taylor, Bruno Jacob · Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 4: Corpus statistics, tokenized with DeBERTa-
v3 at the 510-content-token window used throughout.
The medians are nearly identical and the means are
not:…

Table 4 : Corpus statistics, tokenized with DeBERTa- v3 at the 510-content-token window used throughout. The medians are nearly identical and the means are not: CUAD’s tail is heavier, so it carries 45% more chunks from 25% fewer documents. Since a document is flagged ifanychunk fires, that difference alone can move document-level rates between corpora without any difference in how a detector responds to contract text.

원문 · CC BY 4.0 · Mark Heimann, Katherine Taylor, Bruno Jacob · Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

오픈 웨이트 가드의 탐지 결과

논문은 열한 개 가드를 평가했습니다. 표 1의 paired AUC는 각 주입 문서를 자신의 원본 호스트와 짝지어 계산한 값입니다. 일부 가드는 거의 모든 문서를 플래그하고 일부는 거의 아무것도 플래그하지 않아, 저자들은 법률 검토 지시에 쓸 수 있는 가드가 없다고 결론짓습니다. 정규식 기준선도 가드 어느 것에게도 파레토 지배되지 않았습니다. 이 결론은 평가한 패널과 이 설정에 대한 것입니다.

Table 5: The complete T1 override baseline: five patterns, 0.29% document false-positive rate, and recall within two
detections of the best neural guard (§4)

Table 5 : The complete T1 override baseline: five patterns, 0.29% document false-positive rate, and recall within two detections of the best neural guard (§4).

원문 · CC BY 4.0 · Mark Heimann, Katherine Taylor, Bruno Jacob · Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.
Table 6: The guard panel on a second review question,
Confidentiality Required of Us, over the same 60 hosts
and the same payloads as Table 1. †CTRL ≥ AUC:
the…

Table 6 : The guard panel on a second review question, Confidentiality Required of Us, over the same 60 hosts and the same payloads as Table 1. †CTRL ≥ AUC: the detector separatesbenigninserts at least as well as attacks. ‡CTRL >0.6 against an AUC under 0.8: most of the apparent signal is edit sensitivity. §Less than half of the hosts score clean, capping paired recall far below 100%; deepset and DistilBERT flag every host and admit no paired rate at all.

원문 · CC BY 4.0 · Mark Heimann, Katherine Taylor, Bruno Jacob · Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

실패 원인의 진단

가드는 지시의 기능보다 표현 방식에 반응하는 경향을 보였습니다. 기계를 향한 호칭은 대부분의 분류기에서 반대 방향으로 작용했습니다. 재현율도 억제 의도 하나에 집중되었고, 짧은 입력 길이에서도 민감도가 달랐습니다. 이 진단은 평가 페이로드와 입력 조건에서 관찰된 결과이며, 원인을 모든 가드에 일반화하지는 않습니다.

LLM 탐지기와 캐스케이드

Haiku 4.5와 Opus 4.8을 두 부분 탐지 프롬프트로 평가했습니다. Opus는 자체 말뭉치와 CUAD에서 1.000 paired AUC를, Haiku는 0.982와 0.969를 보고합니다. 가드 패널의 최고 값은 0.814입니다. Haiku가 양성으로 판정한 것을 Opus가 재판정하는 캐스케이드는 Haiku 단독보다 문서당 0.02¢을 더 쓰면서 Opus 수준의 정밀도에 6.5배 낮은 비용으로 도달한다고 보고합니다. 범위 밖 범주인 scope claim은 가드가 탐지하지 못했지만 LLM 탐지기는 일부를 탐지했습니다.

적용 범위와 한계

평가는 영어와 미국 상업 계약에 한정되며, 각 주입 계약은 하나의 검토 질문만 대상으로 합니다. 비용은 목록 가격 기준이며 한 말뭉치와 한 필드에서만 측정되었고, 지연 시간은 측정되지 않았습니다. 구조적 은닉이나 근거 없는 사실 진술은 이 연구의 범위 밖입니다.

논문 정보

저자
Mark Heimann, Katherine Taylor, Bruno Jacob
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 6일
등록일
2026년 11월 9일
수정일
2026년 11월 6일
버전
v1
arXiv
2611.08834
분류
cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

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

초록

Specialized prompt injection guards are deployed in front of document analysis systems, but no false positive rate has been published for any of them on legal contracts. We measure eleven open-weights guards on two corpora of legal contracts and find that existing guards struggle: document-level false positive rates are as high as 92.39%; two guards fall below chance on paired AUC; and a five-regex baseline is not Pareto-dominated by any guard in the panel. Controlled probes locate model-specific as well as general failure modes. Prompted LLMs resolve the tested failures, including a second threat category (unauthorized scope claims) on which every guard scores zero. A cascaded LLM solution, where the positives of a mid-tier model are verified by a frontier model, is 6.5x cheaper than using exclusively a frontier model and approaches its performance.

원문 인용

Mark Heimann, Katherine Taylor, Bruno Jacob (2026). Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks. arXiv:2611.08834v1. https://arxiv.org/abs/2611.08834v1

BibTeX
@misc{heimann2026notwithstanding,
  title = {{Notwithstanding Anything to the Contrary, Ignore All Instructions: Measuring Prompt Injection Guards on Legal Contract Review Attacks}},
  author = {Mark Heimann and Katherine Taylor and Bruno Jacob},
  year = {2026},
  eprint = {2611.08834},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08834v1}
}

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

논문 미리 보기
계정 보안

Google 계정 연결

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

Refivu

회원탈퇴

Refivu
Refivu

회원가입