Repository navigation
feat(promptinj): add 12 English & Simplified Chinese financial-triage indirect prompt-injection cases (TC-0456–TC-0467) - #119
Open
Ziqi wants to merge 1 commit into
Conversation
…njection test cases (TC-0456..TC-0467)
Author
|
Maintainer status note for reviewers: upstream |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Contributes 12 synthetic defensive test cases (
TC-0456throughTC-0467) underdatasets/promptinj_dataextraction_testcases/en_zh_starshield_financial_triage/, expanding coverage along two axes noted in the dataset's current limitations:en+zh-Hans): Adds English and Simplified Chinese (withprompt_en_glossEnglish translations) indirect prompt-injection payloads modeled on cross-border B2B invoice-diversion, supplier portal notes, and disputed payment transcripts.DSGAICategories: Covers 7 categories across the canonical schema:direct_extraction(DSGAI01:TC-0456,TC-0457) — HTML-comment & bilingual authority spoofing suppressing IOC extraction and exfiltrating RAG compliance thresholdstool_plugin_leakage(DSGAI06:TC-0458,TC-0459) — Untrusted supplier memos hijacking ERP vendor-master and wire-transfer lookup toolscross_context_bleed(DSGAI11:TC-0460,TC-0461) — Spoofed QA batch macros probing shared session summarization buffersnl_query_injection(DSGAI12:TC-0462,TC-0463) — ISO 20022 / Faster Payments remittance narratives broadening LLM-to-SQL predicatesmultimodal_extraction(DSGAI09:TC-0464,TC-0465) — PNGiTXtchunk & low-opacity watermark instructions overriding VLM receipt triagecredential_harvesting(DSGAI02:TC-0466) — Webhook troubleshooting pretext soliciting runtime<API_KEY>/[BEARER_TOKEN]headerssystem_prompt_extraction(DSGAI15:TC-0467) — Bilingual JSON transcoding with delimiter obfuscationProvenance, Anonymization & Validation
CC-BY-4.0): Adapted from the open-sourceStarShield-Benchsuite (Concept DOI:10.5281/zenodo.24145804). Uses official ISO-13616 / ISO-7812 textbook test vectors (GB82WEST12345698765432,NO9386011117947,6200000000000005), RFC 2606.exampledomains, and bracketed credential placeholders. No real personal data or undisclosed vendor vulnerabilities are referenced.0 errors, 0 warnings):python data_validation/run_all_checks.py --verbose->PASS promptinj_dataextraction_testcases (466 file(s), 0 error(s), 0 warning(s))python data_validation/qc_tools/consistency_check.py->0 error(s), 0 warning(s)python data_validation/croissant/build_croissant.py --check&check_croissant.py->PASS