Skip to content

StealthGraph: Revealing Domain-Specific Risks in LLMs via Knowledge Graph-Guided Harmful Prompt GenerationStealthGraph: Exposing Domain-Specific Risks in LLMs through Knowledge-Graph-Guided Harmful Prompt Generation

arXiv· arXiv:2601.04740· ACL 2026· Huawei Zheng, Xinqi Jiang, Sen Yang, Shouling Ji, Yingcai Wu, Dazhen Deng·Indexed by this site · 2026-10-12· Originally publishedTools

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

StealthGraph synthesizes implicit harmful prompts across four domains; on Table 1's six models, SG-Implicit✓ has an average ASR of 84.92%.

Questions
Harmful prompt datasets for specialized domains are scarce and mostly manually constructed; public sets are dominated by explicit requests, which existing defenses easily refuse. Implicit prompts expressed indirectly through domain knowledge are harder to detect and closer to real misuse.
Methods
StealthGraph extracts domain subgraphs from Wikidata based on root nodes, four relation types, and sitelinks thresholds, generates explicit prompts with few-shot harmful categories, then filters by harmfulness and perplexity. It then alternates between direct rewriting and domain context card rewriting, stopping upon success.
Experiments and results
On Table 1's six models, SG-Implicit✓ has an average ASR of 84.92%, and SG-Origin is 15.17%, lower than HarmfulQA's average of 23.92%. Table 3: Against SG-Implicit✓, after Do-Not-Answer alignment, ASR is 66.0%.
Limitations and future work
The authors write that relation-type queries rather than more complex recursive retrieval may limit entity coverage, and automatic rewriting may also miss the adversarial creativity in real attacks. Experiments cover medicine, finance, law, and education; the main table includes six models, with 200 samples per variant. The paper does not report inter-annotator agreement with human evaluators, nor does it report the number of repetitions for the main table's ASR.
Experimental setupGPT-4o-mini、Gemini 2.5 Flash et al. · AdvBench、Do-Not-Answer et al. · ASR、OSR et al.
Evaluated models
GPT-4o-miniGemini 2.5 FlashGrok 3 MiniDeepSeek V3.1Mixtral 8×7BQwen2.5 7BLlama-3.1-8BLlama-3.1-8B-InstructQwen3.5-PlusGLM-5Gemini-3-ProVicuna-13B-v1.5
Benchmarks
AdvBenchDo-Not-AnswerHarmfulQACatQA-enHEx-PHIJailbreakBenchMMLUStrongREJECTWildJailbreakTRIDENTFITDJailBreakV-28KH4rm3lHarmBenchStealthGraph
Metrics
ASROSRPPLSelf-BLEUMMLUharmfulness[email protected]cosine similarity
AI summaryThe researchers propose the StealthGraph framework, which uses knowledge graphs to guide the generation of domain-relevant harmful prompts, then applies two strategies—direct rewriting and context-enhanced rewriting—to convert explicit harmful prompts into implicit variants. The framework targets specialized domains such as finance and healthcare; the authors note that public datasets mostly contain explicit harmful prompts, which modern LLM defenses can typically detect and refuse, whereas implicit harmful prompts expressed through indirect domain knowledge are harder to detect and closer to real-world threats. The authors state the framework can produce datasets with both domain relevance and implicitness for more realistic red-teaming, and the code and datasets are open-sourced on GitHub.

The researchers propose the StealthGraph framework, which uses knowledge graphs to guide the generation of domain-relevant harmful prompts, then applies two strategies—direct rewriting and context-enhanced rewriting—to convert explicit harmful prompts into implicit variants. The framework targets specialized domains such as finance and healthcare; the authors note that public datasets mostly contain explicit harmful prompts, which modern LLM defenses can typically detect and refuse, whereas implicit harmful prompts expressed through indirect domain knowledge are harder to detect and closer to real-world threats. The authors state the framework can produce datasets with both domain relevance and implicitness for more realistic red-teaming, and the code and datasets are open-sourced on GitHub.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Domain-specific implicit harmful prompts are scarce and often rely on manual construction. StealthGraph automatically synthesizes them using graph-guided and obfuscation rewriting.

    Domain-specific implicit harmful prompts expressed indirectly through domain knowledge still lack scalable construction methods, and public explicit datasets are easily refused by existing defenses.

    • Scenario: The authors state LLMs are entering high-risk domains such as finance, medicine, and law, where specialized knowledge could be used to conceal mistakes, suggest unsafe treatments, or assist fraud, thus requiring domain safety evaluation and defenses.
    • Existing methods: The authors state that TRIDENT and others still rely on manual or semi-automatic construction, limiting efficiency and scale. Public datasets mainly cover explicit attacks such as directly requesting weapons or crimes, which modern LLM defenses often detect and refuse.
    • Observation and difficulty: Implicit prompts do not directly state illegal behavior but indirectly encode risky intent through domain knowledge, making them harder to detect and closer to real threats. The authors summarize two difficulties: turning vague domain risk concepts into executable constraints, and systematically increasing prompt covertness.
    • This paper proposes: An end-to-end framework, StealthGraph. First, a knowledge graph guides the generation of explicit prompts tied to domain entities; then direct rewriting and context-augmented rewriting produce implicit variants. The authors state the goal is to synthesize data with both domain relevance and covertness for red-teaming, alignment, and safety evaluation, not to maximize attack success rate.
  2. What related research exists?

    Related work is divided into harmful prompt benchmarks, jailbreaks and context manipulation, and prompt obfuscation; the authors position this paper as dataset synthesis.

    Related work mainly follows three lines: harmful prompt benchmarks, jailbreaks and context manipulation, and prompt obfuscation. The authors position this paper on scalable synthesis of domain-specific harmful prompts, rather than maximizing attack success against a fixed model.

    Harmful Prompt Datasets and Safety Benchmarks

    • General benchmarks: Do-Not-Answer (Wang et al., 2024), HarmfulQA (Bhardwaj and Poria, 2023), AdvBench (Zou et al., 2023), ToxicChat (Lin et al., 2023), JailbreakBench (Chao et al., 2024), SafetyPrompts (Röttger et al., 2025) are used for refusal, robustness, and red-team evaluation. The authors state that most contain explicit harmful content, which modern LLMs easily detect; effective attacks often still rely on jailbreaks or obfuscation, and they mainly cover general domains.
    • TRIDENT (Hui et al., 2025): Extends evaluation to three specialized domains. The authors state it relies heavily on manual curation, limiting scalability.
    • Knowledge-to-Jailbreak (Tu et al., 2025): Converts domain knowledge into jailbreak attacks to maximize attack success. The authors state that this paper aims to synthesize scalable domain-specific harmful prompt datasets for safety evaluation. GraphRAG (Edge et al., 2024) uses graphs for retrieval-augmented question answering; the authors state that this paper treats Wikidata as a structured semantic prior for risk coverage and context-aware harmful prompt synthesis.

    Jailbreaks and Context Manipulation

    • GCG (Zou et al., 2023) and follow-ups: Jia et al., 2025, Li et al., 2025, Mu et al., 2025, Tan et al., 2025 use gradient search for adversarial suffixes to bypass alignment constraints.
    • AutoDAN (Liu et al., 2024): Genetic search plus LLM rewriting to improve fluency. The authors state that such methods mainly optimize attack success rather than characterizing real user query distributions.
    • Context manipulation: Wei et al., 2023, Greshake et al., 2023, Shen et al., 2024 et al. embed harmful intent into benign frameworks such as role-playing, translation, or system instructions, making restricted requests appear legitimate, often bypassing surface filters and single-turn checks.

    Prompt Obfuscation

    • Rewriting methods: DrAttack (Li et al., 2024b), MIST (Zheng et al., 2025), Semantic Mirror Jailbreak (Li et al., 2024a), Rewrite to Jailbreak (Huang et al., 2025) rewrite explicit harmful queries into implicit but semantically equivalent forms. The authors state that this paper's dual-strategy obfuscation belongs to this category, but does not use the target model's responses as an optimization signal; instead, it performs covert rewriting that preserves semantic intent and domain relevance.

    Baselines and Benchmarks: Main experiments compare AdvBench, Do-Not-Answer, HarmfulQA. Safety fine-tuning also uses CatQA-en (Bhardwaj et al., 2024) and HEx-PHI (Qi et al., 2024). The appendix additionally compares with WildJailbreak, TRIDENT, FITD, JailBreakV-28K plain-text subset, H4rm3l, and HarmBench. JailbreakBench is used only as few-shot seeds, not as an evaluation set.

    The authors' distinction is: using knowledge graphs for risk coverage and context constraints; target responses serve only as an efficiency criterion for early stopping. The output is reusable evaluation and alignment data, not jailbreak prompts optimized against a fixed target.

  3. How does the paper address this problem?

    StealthGraph first extracts a domain subgraph from Wikidata and generates explicit prompts, then rewrites them into implicit prompts via two paths: direct and context-card.

    StealthGraph proceeds in three steps: build a domain subgraph from Wikidata, generate explicit prompts using entities and few-shot harmful categories with filtering, then alternate between direct rewriting and domain-context-card rewriting to obtain implicit prompts.

    Domain subgraph construction

    • Base: Wikidata. The authors' stated reasons: multilingual, supports SPARQL, continuously updated, and relatively public and consistent in quality compared to many domain graphs. The authors assume an existing base domain knowledge graph and state that graph construction is not the focus of this paper.
    • Root nodes and expansion: For each domain, a root node anchors the subgraph. Medical examples are medicine (Q11190), disease (Q12136), medication (Q12140). Starting from the root, only four relation types are traversed: instance of (P31), subclass of (P279), part of (P361), has part (P527). Appendix F states the maximum depth is three hops. Appendix J gives the medical domain queries and states that other domains and relations are constructed in the same way.
    • Scale control: Popularity filtering uses the number of cross-language Wikipedia sitelinks, keeping only entities at or above a threshold T. Table 13: medical T=80, education and law T=25, finance T=20. The authors state that root nodes and T can be adjusted per domain.

    Graph-guided explicit generation and filtering

    • Generation: The authors state the entity-centric strategy is inspired by RAG, with the subgraph and attributes as grounding context. Harmful category conditions come from JailbreakBench's ten categories and 100 examples; the authors state this seed can be replaced with any labeled harmful-category data. For entity e, the synthesis model is called once per category and produces n items. The authors write the j-th item of the i-th category as Xe(i,j)=Msyn(Ce,Dfew,gi)j, i.e., one generation under subgraph context, few-shot examples, and harmful category condition; entity e has k×n items in total. Appendix G sets n to 2 items per category. Templates are in Appendix K and are not restated here.
    • Synthesis model: Msyn and the rewriting model Mobf are both instruction-tuned on Llama-3.1-70B without safety alignment, using Alpaca-style instructions. Appendix G's synthesis model settings: QLoRA, r=64, α=128, 3 epochs, learning rate 2e-6, maximum sequence length 2048.
    • Filtering: IBM Granite-Guardian gives unsafe y1 and safe y0 on the decision token. Harmfulness is S(X)=p(y1|X)/(p(y1|X)+p(y0|X)), where larger values indicate higher risk as defined by the authors. Fluency uses the perplexity of a reference model; in experiments the reference model is GPT-2, and prompts with PPL no greater than τppl are kept. Appendix G's generation thresholds are harmfulness at least 0.9 and perplexity no more than 40.0.

    Dual-strategy obfuscation rewriting

    • Definition: Transform explicit prompt Xori into implicit prompt Ximp, reducing surface explicitness while preserving harmful intent. Success means that after giving Ximp to the target model, the response can fulfill the original harmful goal, not merely bypass refusal. Figure 2 and Appendix A give a comparison, whose wording is not restated.
    • Two paths: The direct path makes Xori more covert; the context-card path organizes entity neighbors, descriptions, and relations into a domain context card before rewriting. Both paths start from the same Xori and alternate. The authors state the card path may increase template complexity, so both are kept.
    • Loop: In Algorithm 1, odd rounds take the direct path and even rounds take the card path. Quality model Mqual gives two binary judgments, intent_preserved and is_fluent, and both must pass to be kept. The target model is then queried for a response, and an obfuscation evaluator judges success. If successful, return early; otherwise, failure information is fed back to subsequent rewrites. If the cap is reached, keep the most recent highest-quality candidate; otherwise, fall back to Xori. The main experiment's maximum iterations κ=10 (Appendix I). Templates and card examples are in Appendix L; their wording constraints are not restated.
    • Stopping criterion: The authors state the target model response serves only as an efficiency criterion, stopping once sufficient obfuscation is reached, and is not used as a training signal or optimization objective. After synthesis, Mqual is used for post-hoc verification, filtering out reviewer hallucinations or samples that unintentionally lose harmful intent. In the main experiment, this obfuscation target model is Llama-3.1-8B-Instruct.

    How evaluation is judged

    • ASR: Proportion of prompts that bypass the target model's safety mechanisms. Each response is independently judged by three LLM reviewers, and success requires at least two to consider the harmful intent fulfilled.
    • OSR: Proportion of prompts successfully obfuscated during the dual-strategy rewriting process. Diversity uses Self-BLEU; after safety fine-tuning, MMLU is used for general capability.
  4. What experiments did the paper conduct?

    Table 1: On six models, SG-Implicit✓ has an average ASR of 84.92%, while SG-Origin is 15.17%.

    On the main table, the successfully obfuscated subset selected relative to Llama-3.1-8B-Instruct has higher ASR; the explicit subset's average ASR is lower than HarmfulQA. After safety fine-tuning with implicit data, ASR against implicit red-teaming is lower than when aligned with AdvBench or Do-Not-Answer.

    Experimental Setup

    • Models tested: Main table: GPT-4o-mini, Gemini 2.5 Flash, Grok 3 Mini, DeepSeek V3.1, Mixtral 8×7B, Qwen2.5 7B. Safety fine-tuning base: Llama-3.1-8B. Appendix C additionally tests Qwen3.5-Plus, GLM-5, Gemini-3-Pro. Defense evaluation includes LlamaGuard-4-12B, and Vicuna-13B-v1.5 under SemanticSmooth. The authors state that the main experiments evaluate general LLMs because existing work shows they have specialized capabilities in specific domains, while domain-specific datasets remain limited.
    • Data: Equal numbers are sampled from each dataset. Each of the three StealthGraph variants has 200 samples, with 50 each from medicine, finance, law, and education. SG-Origin is explicit, SG-Implicit is all obfuscation results, SG-Implicit✓ is the successfully obfuscated subset. Comparison sets are AdvBench, Do-Not-Answer, HarmfulQA; fine-tuning also uses CatQA-en, HEx-PHI.
    • Synthesis side: Msyn and Mobf are fine-tuned Llama-3.1-70B. The obfuscation loop targets Llama-3.1-8B-Instruct, which does not overlap with the six evaluation models in the main table. Harmfulness is assessed with IBM Granite-Guardian-3.1-8B. PPL uses GPT-2, cosine similarity uses ALL-MINILM-L6-V2.
    • Metrics and review: ASR is the proportion of prompts that bypass the target model's safety mechanisms. Gemini 3 Flash, GPT-5 Mini, and Claude Sonnet 4 independently review; success is when at least two consider the harmful intent realized. Table 14 lists the OSR reviewer as Gemini 3 Flash. Also reported are PPL, Self-BLEU, MMLU, and [email protected] for StrongREJECT scores greater than 0.5.
    • Fine-tuning: Llama-3.1-8B is first instruction-tuned with Alpaca, then fine-tuned with 4-bit LoRA on 200 harmful–refusal pairs per dataset. Random seed 42. The paper does not report the number of repetitions for the main table's ASR, nor inter-annotator agreement with human evaluators.

    Main Results

    SG-Implicit✓ is first judged for obfuscation success on Llama-3.1-8B-Instruct, then tested for ASR on the models in the table below (Section 4.2). Cells are ASR (%), according to Table 1. Do-Not-Answer is not listed; the authors report its six-model average as 5.17%.

    Swipe horizontally to read the table

    ModelAdvBenchHarmfulQASG-OriginSG-ImplicitSG-Implicit✓
    GPT-4o-mini2.5%22.5%8.0%57.0%87.5%
    Gemini 2.5 Flash1.5%18.0%9.0%47.0%75.0%
    Grok 3 Mini5.0%17.5%17.0%74.5%91.0%
    DeepSeek V3.13.0%16.0%5.0%51.5%77.5%
    Mixtral 8×7B27.0%48.5%39.5%76.0%90.5%
    Qwen2.5 7B2.5%21.0%12.5%63.5%88.0%
    • The authors report that the average ASR for the three public sets is 5.17%–23.92%, and for SG-Origin, SG-Implicit, SG-Implicit✓ it is 15.17%, 61.58%, 84.92%. The authors state that obfuscated data can expose hidden vulnerabilities in both open-source and closed-source models.
    • The authors state that SG-Origin is not consistently higher than public explicit benchmarks, because deliberately explicit phrasings are more easily caught by keyword-based defenses. HarmfulQA averages 23.92%, higher than SG-Origin's average of 15.17%. In each row of Table 1, SG-Implicit✓ is higher than the other listed columns in that row.
    • Table 2 PPL: SG-Origin 29.37, SG-Implicit 84.16, SG-Implicit✓ 79.87; AdvBench 52.23, Do-Not-Answer 154.81, HarmfulQA 83.41. The authors state that implicit variants still maintain acceptable readability.

    Safety Fine-Tuning

    • What was tested: Starting from Llama-3.1-8B, fine-tune on 200 harmful–refusal pairs per dataset, then test red-team ASR (Table 3) and MMLU (Table 4). Columns are alignment data, rows are red-team data; when the same dataset is used for both alignment and red-teaming, it is marked as "-".
    • Explicit red-teaming: The authors state that after alignment with domain data, robustness against explicit prompts is comparable to or better than public sets. Table 3: On HarmfulQA, after SG-Origin alignment, ASR is 9.0%, AdvBench 11.0%, Do-Not-Answer 12.5%; on CatQA-en, SG-Origin is 7.0%, same as AdvBench, lower than Do-Not-Answer's 12.0%. Exception: on HEx-PHI, SG-Origin is 17.5%, higher than AdvBench's 16.0%.
    • Implicit red-teaming and capability: The authors state that general alignment data is ineffective against domain-specific covert prompts. After AdvBench and Do-Not-Answer alignment, ASR on SG-Implicit is 36.0% and 50.0%, and on SG-Implicit✓ is 55.5% and 66.0%. After SG-Origin alignment, these two rows are 14.5% and 25.0%. After SG-Implicit alignment, ASR on SG-Implicit✓ is 12.0%. Table 4: MMLU without fine-tuning is 49.75; after alignment, it falls between 42–44 (SG-Origin 43.41, SG-Implicit 42.68, SG-Implicit✓ 42.71, AdvBench 43.59, Do-Not-Answer 43.01). The authors state that capability is largely maintained, similar to existing benchmarks.

    Cross-Domain Distribution

    • What was tested: OSR, Granite-Guardian harmfulness, and Self-BLEU across four domains (Table 5), and the filtered distribution of ten harm categories (Table 6). Self-BLEU outside parentheses is for all graph-guided prompts; inside parentheses is for the successfully obfuscated subset.
    • Results: OSR is 29.03% for medicine, 42.82% for finance, 35.69% for law, 37.14% for education. Harmfulness is 95.34%–97.85%. Self-BLEU for all prompts is 54.42–59.53; for the successfully obfuscated subset, it is 23.24–28.08.
    • Authors' interpretation: The authors believe that harmful intent in the medical domain is harder to obfuscate with this rewriting strategy. In Table 6, medicine has Privacy at 14.14% and Disinformation at 12.79%; finance has Privacy and Expert advice both at 11.45%; law has Fraud/Deception at 13.31% and Expert advice at 12.72%; education has Disinformation at 16.12% and Government decision-making at 12.82%. The authors state that percentages may not sum to 100% due to rounding. Appendix H provides examples, not repeated here.

    Frontier Models, Defenses, and Alternative Review

    • Frontier models (Table 9): On Qwen3.5-Plus, GLM-5, Gemini-3-Pro, SG-Implicit✓ has an average ASR of 26.5% (22.0%, 26.5%, 31.0%), the highest among datasets in that table; SG-Implicit averages 17.3%, SG-Origin averages 5.0%. SG-Origin's 5.0% is lower than HarmfulQA's 10.7% and WildJailbreak's 11.5% in the same table. The authors state that in this harder setting, the successfully obfuscated subset remains the highest among compared datasets, and the goal is not to maximize attack success at all costs.
    • Defenses and fluency: In Table 11, SG-Implicit✓ has a bypass rate of 75.0% against LlamaGuard-4-12B, and 71.5% against SemanticSmooth (Vicuna-13B-v1.5, with transformations Summarize and Paraphrase); the authors state this is the highest among compared datasets. In the same table, SG-Implicit is 52.0% against LlamaGuard-4-12B, lower than HarmfulQA's 59.0%. Table 9 PPL: SG-Implicit✓ is 79.87, HarmBench is 1525.31; WildJailbreak is 38.12, lower than SG-Implicit✓.
    • StrongREJECT and cost: Table 12's [email protected] six-model averages: SG-Implicit✓ 85.5%, SG-Implicit 69.4%, SG-Origin 18.8%. The authors state that the relative ranking is consistent with the main evaluation. Appendix C estimates per-target input tokens (all marked as approximate): FITD 4,367, PAIR 8,698, TAP 14,246, StealthGraph 17,500. The authors state that StealthGraph has a larger per-target context, but overall consumption remains acceptable.

    Other Ablations and Analyses

    • Table 7, κ=10: Direct rewriting OSR 28.25%, context card 25.81%, dual strategy 29.03%; cosine similarity 0.56, 0.58, 0.60, and PPL 38.70, 38.85, 38.74.
    • Table 7, κ=30: Direct 42.23%, card 37.93%, dual strategy 45.06%. The authors state that with a larger iteration budget, the dual strategy has higher OSR, while PPL and cosine similarity remain stable.
    • Table 16: At κ=6, OSR is 22.29% with an average of 3.07 iterations; at κ=10, 29.03% and 4.01; at κ=18, 36.75% and 6.44. The authors therefore adopt κ=10 in the main experiments.
    • Table 15: Without graph guidance, Self-BLEU is 38.95; with guidance, it is 32.98. The authors state that graph guidance reduces lexical redundancy.
    • Table 8 (generation backbone, not the victim model in the main table): Llama-3.1-70B has OSR 29.03% and harmfulness 97.05%; Llama-3.1-8B has 15.74% and 79.68%; Qwen3-14B has 25.23% and 99.36%; Gemma3-27B has 13.17% and 98.09%. The authors state that average iterations fall between 3.91–4.38, and OSR increases as the backbone becomes stronger.
  5. What are some points that can be further explored?

    The authors note that relation-type queries may limit entity coverage, and automatic rewriting may miss the adversarial creativity of real attacks.

    The authors wrote two limitations in Limitations, and Conclusion does not mention future directions.

    Limitations and future directions noted by the authors

    • Entity coverage (Limitations): The authors write that the method relies on queries based on relation types rather than more complex recursive retrieval, which may limit entity coverage.
    • Rewriting creativity (Limitations): The authors write that automatic rewriting may also miss part of the adversarial creativity seen in real attacks. The authors state these limitations should be considered when interpreting results.

    Experimental coverage

    • The main ASR table covers 6 models: GPT-4o-mini, Gemini 2.5 Flash, Grok 3 Mini, DeepSeek V3.1, Mixtral 8×7B, Qwen2.5 7B; each StealthGraph variant has 200 items, 50 per domain across four domains (Section 4.2, Table 1).
    • The domains reported in the main text are medicine, finance, law, and education. The authors state the pipeline is domain-agnostic and can be extended to other specialized domains (Section 4.1).
    • Safety fine-tuning is on Llama-3.1-8B, with 200 harmful–refusal pairs per alignment set (Section 4.3). The obfuscation loop's target model is Llama-3.1-8B-Instruct, which does not overlap with the main table's evaluation models (Section 4.2).
    • Defense evaluation includes LlamaGuard-4-12B and SemanticSmooth (Vicuna-13B-v1.5, Summarize and Paraphrase). Also StrongREJECT's [email protected], and Qwen3.5-Plus, GLM-5, Gemini-3-Pro (Appendices C–E).
    • The main experiment's maximum iterations κ=10 (Appendix I). ASR is decided by majority vote among three LLM reviewers. The paper does not report agreement between reviewers and humans, nor the number of repetitions for the main table's ASR.
  6. Summarize the main content of the paper

    StealthGraph synthesizes domain-specific implicit prompts using graph constraints and dual-path obfuscation; the implicit subset achieves higher ASR on the main table.

    StealthGraph turns domain safety evaluation into data synthesis: a knowledge graph covers high-risk entities, then explicit harmful prompts are turned into more covert implicit prompts for red-teaming and alignment. The authors state the goal is not to maximize jailbreak success against a fixed model.

    • Problem: Harmful prompts in finance, medicine, law, and other domains are mostly manually constructed, and public data is dominated by explicit requests, which existing defenses easily refuse. Implicit prompts express intent indirectly through domain knowledge. The authors consider this closer to real threats and also helpful for models to internalize the principle that harmful requests should not be answered, rather than only rejecting surface keywords.
    • Method: Extract a subgraph from Wikidata by root nodes, four relation types, and sitelinks threshold; use JailbreakBench's ten categories as few-shot guidance to generate entity-bound explicit prompts with Llama-3.1-70B without safety alignment, then filter by harmfulness and perplexity. The obfuscation stage alternates between direct rewriting and domain-context cards, checks intent preservation and fluency, and stops on success against Llama-3.1-8B-Instruct.
    • Main results: On the six evaluation models in Table 1, SG-Implicit✓ has an average ASR of 84.92%, SG-Implicit 61.58%, and SG-Origin 15.17%; the three public sets average 5.17%–23.92%. SG-Origin is lower than HarmfulQA's 23.92%. The authors attribute the weaker explicit variant to being more easily caught by keyword-based defenses. This successful subset is selected against Llama-3.1-8B-Instruct and then tested on the main table's models.
    • Alignment and other evaluations: In Table 3, after alignment with Do-Not-Answer, ASR against SG-Implicit✓ is 66.0%, and after alignment with SG-Implicit it is 12.0%. In Table 4, MMLU drops from 49.75 to 42–44, which the authors state is broadly similar to existing benchmarks. In Table 9, SG-Implicit✓ has an average ASR of 26.5% on three frontier models, the highest in that table. In Table 11, its bypass rate against LlamaGuard-4-12B is 75.0%.
    • Authors' conclusion: The authors state the pipeline can expose high-risk entities in medicine, finance, law, and education, and turn explicit queries into covert variants closer to real misuse. In Limitations, the authors state that relation-type queries may limit entity coverage, and automatic rewriting may miss adversarial creativity in real attacks.

Related papers

Show 3 more papers
Read originalACL 2026