ASTRA: Autonomous Spatial-Temporal Red-teaming for AI Software Assistants
On the map: LLM safety and security → Prompt injection and agent security
Abstract (arXiv)
AI coding assistants like GitHub Copilot are rapidly transforming software development, but their safety remains deeply uncertain-especially in high-stakes domains like cybersecurity. Current red-teaming tools often rely on fixed benchmarks or unrealistic prompts, missing many real-world vulnerabilities. We present ASTRA, an automated agent system designed to systematically uncover safety flaws in AI-driven code generation and security guidance systems. ASTRA works in three stages: (1) it builds structured domain-specific knowledge graphs that model complex software tasks and known weaknesses; (2) it performs online vulnerability exploration of each target model by adaptively probing both its input space, i.e., the spatial exploration, and its reasoning processes, i.e., the temporal exploration, guided by the knowledge graphs; and (3) it generates high-quality violation-inducing cases to improve model alignment. Unlike prior methods, ASTRA focuses on realistic inputs-requests that developers might actually ask-and uses both offline abstraction guided domain modeling and online domain knowledge graph adaptation to surface corner-case vulnerabilities. Across two major evaluation domains, ASTRA finds 11-66% more issues than existing techniques and produces test cases that lead to 17% more effective alignment training, showing its practical value for building safer AI systems.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 31 of its 41 references that are in the map. First posted on arXiv 5 Aug 2025.
Builds on
31 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 30
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,420
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 785
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 672
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 573
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Promptscited by 560
- 2024Safety Alignment Should Be Made More Than Just a Few Tokens Deepcited by 472
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 367
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 322
- 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 308
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easilycited by 259
18 more
- 2024ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMscited by 216
- 2023Large Language Models for Code: Security Hardening and Adversarial Testingcited by 155
- 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 138
- 2024Making Them Ask and Answer: Jailbreaking Large Language Models in Few Queries via Disguise and Reconstructioncited by 107
- 2024DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakerscited by 101
- 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinkingcited by 81
- 2024FlipAttack: Jailbreak LLMs via Flippingcited by 80
- 2024Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLMcited by 77
- 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Modelscited by 76
- 2023FuzzLLM: A Novel and Universal Fuzzing Framework for Proactively Discovering Jailbreak Vulnerabilities in Large Language Modelscited by 51
- 2024When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Searchcited by 47
- 2025Improving LLM Safety Alignment with Dual-Objective Optimizationcited by 43
- 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attackscited by 32
- 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Cipherscited by 30
- 2023Make Them Spill the Beans! Coercive Knowledge Extraction from (Production) LLMscited by 27
- 2024ProSec: Fortifying Code LLMs with Proactive Security Alignmentcited by 25
- 2024Jigsaw Puzzles: Splitting Harmful Questions to Jailbreak Large Language Modelscited by 19
- 2024MULTIVERSE: Exposing Large Language Model Alignment Problems in Diverse Worldscited by 4
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Reasoning Up the Instruction Ladder for Controllable Language Modelscited by 5
- 2025Knowledge-Graph-Driven Data Synthesis for Low-Resource Software Development: A HarmonyOS Case Studycited by 1
- 2026Adversarial Arena: Crowdsourcing Data Generation through Interactive Competitioncited by 1
- 2026Refusal Evaluation in Coding LLMs and Code Agents: A Systematic Review of Thirteen Malicious-Code Prompt Corpora (2023-2025)cited by 1
- 2025Amazon Nova AI Challenge -- Trusted AI: Advancing secure, AI-assisted software developmentcited by 0
- 2026Code as a Weapon: A Consensus-Labeled Prompt Bank for Measuring Coding-Model Compliance with Malicious-Code Requestscited by 0
- 2026Code as a Weapon: A Consensus-Labeled Prompt Bank for Measuring Coding-Model Compliance with Malicious-Code Requests27 May 2026
- 2026Refusal Evaluation in Coding LLMs and Code Agents: A Systematic Review of Thirteen Malicious-Code Prompt Corpora (2023-2025)19 May 2026
- 2026Adversarial Arena: Crowdsourcing Data Generation through Interactive Competition20 Apr 2026
- 2025Knowledge-Graph-Driven Data Synthesis for Low-Resource Software Development: A HarmonyOS Case Study29 Nov 2025
- 2025Reasoning Up the Instruction Ladder for Controllable Language Models30 Oct 2025
- 2025Amazon Nova AI Challenge -- Trusted AI: Advancing secure, AI-assisted software development13 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025Red-Teaming Coding Agents from a Tool-Invocation Perspective: An Empirical Security Assessment
- 2025Mind the Gap: Comparing Model- vs Agentic-Level Red Teaming with Action-Graph Observability on GPT-OSS-20B
- 2025RedCodeAgent: Automatic Red-teaming Agent against Diverse Code Agents
- 2026Agent Hacks Agent: Autoresearch for Production-Agent Red-Teaming
- 2026AgentXploit: Autonomous Repository-to-Runtime Red-Teaming for AI Agents
- 2026Securing the AI Agent: A Unified Framework for Multi-Layer Agent Red Teaming
- 2026Security in the Age of AI Teammates: An Empirical Study of Agentic Pull Requests on GitHub
- 2026ClayBuddy: A Framework, Evaluation, & Mitigation of Coding Agent Failures