techlist.io

Llm Security

4 posts

Cloudflare2026-05-183 min readCurated summary

Project Glasswing: what Mythos showed us

Project Glasswing found that Anthropic’s Mythos Preview represents a major advance in AI-assisted vulnerability research. Unlike conventional scanners, it can combine multiple low-level bugs into a credible exploit chain and generate working proofs by writing, compiling, and testing code iteratively. However, inconsistent refusals and a high rate of speculative findings mean capable models still require strong safeguards and human-led validation before large-scale deployment. ## Exploit Chain Construction - Mythos Preview can combine several seemingly minor vulnerabilities into a complete attack. - It can reason from primitives such as use-after-free bugs to arbitrary read/write access, control-flow hijacking, and ROP-based system takeover. - Earlier frontier models often identified individual bugs but failed to connect them into a working exploit. - This ability can elevate low-severity findings that might otherwise remain ignored in vulnerability backlogs. ## Automated Proof Generation - The model does more than describe suspected vulnerabilities: - Writes proof-of-concept code. - Compiles it in a scratch environment. - Executes it and checks whether the expected behavior occurs. - Revises its hypothesis when testing fails. - This feedback loop distinguishes plausible speculation from demonstrated exploitability. ## Inconsistent Model Refusals - Mythos Preview lacked the additional safeguards used in generally available models, but still developed emergent refusals around some offensive security tasks. - These refusals were inconsistent: - The same research task could succeed after an unrelated environmental change. - The model might confirm serious memory bugs but refuse to create an exploit. - Rephrasing the request or repeating it could produce a different result. - Organic model guardrails are therefore not reliable enough to act as a complete safety boundary. - Future publicly available cyber-capable models will need additional, deliberate safeguards beyond their learned behavior. ## The Signal-to-Noise Problem - Vulnerability research still requires determining which findings are real, exploitable, and urgent. - AI tools increase the volume of speculative findings, making triage more difficult. - Two major factors affect noise levels: - **Programming language:** C and C++ expose developers to memory bugs such as buffer overflows and out-of-bounds access, while memory-safe languages such as Rust eliminate many of these classes at compile time. Memory-unsafe projects produced more false positives. - **Model bias:** Models tend to report possible vulnerabilities even when evidence is weak, using qualifications such as “possibly” or “could in theory.” - Exploratory over-reporting may help discover novel issues, but it is costly in a production triage queue because each speculative finding consumes analyst time and model resources. ## Scaling AI-Assisted Security Research - Mythos Preview’s capabilities justify treating it as a different class of security tool rather than simply a better conventional scanner. - Scaling these systems will require: - Post-validation stages to filter speculative findings. - Sandboxed environments for compiling and testing proofs. - Human review of exploit chains and severity. - Explicit safety controls that do not depend solely on model refusals. - The main challenge is no longer only whether models can find vulnerabilities, but whether organizations can reliably validate, prioritize, and safely manage their output. Organizations should use advanced security models in controlled environments with layered safeguards and rigorous validation. Their ability to construct exploits is powerful, but their inconsistent safety behavior and noisy findings make unsupervised use inappropriate.

OpenAI2025-01-213 min readCurated summary

Trading Inference-Time Compute for Adversarial Robustness

# Robustness Gains from Longer Reasoning at Inference Time OpenAI reports preliminary evidence that reasoning models such as o1-preview and o1-mini become more resistant to adversarial attacks when they are given more inference-time compute. Across math, factuality, image, misuse, and policy-compliance tasks, attack success often falls toward zero as the model thinks longer, and this gain arises without any attack-specific training. Significant exceptions remain, so the authors present the result as a promising direction rather than a solved problem. ## Why Adversarial Robustness Remains Hard - Adversarial vulnerability has been documented since 2014, when imperceptible image perturbations were shown to cause misclassification. - The problem has grown more pressing as models handle high-stakes tasks and act as agents that browse the web and take actions for users. - Scaling model size alone has not produced robustness, unlike many other capabilities. ## Testing Robustness Against Inference-Time Compute - The team measured attack success probability as a function of how much computation the model used at inference, with static and adaptive attacks. - Tasks included: - Arithmetic and the MATH benchmark, with adversary goals such as outputting 42, the correct answer plus one, or the correct answer times seven. - An adversarial version of the SimpleQA factuality benchmark, with injected prompts in browsed web pages. - Adversarial images from the Attack Bard paper. - Misuse prompts from StrongREJECT. - An internal evaluation of a model spec rule. - Attack surfaces included many-shot attacks, optimized soft tokens, adversarial language model programs that perform automated red teaming, and adversarial multimodal inputs. Not every attack was applied to every dataset. - Unlike adversarial training, the model is unaware of the attack, so the gains come purely from additional inference-time compute. The authors suggest this could help against attacks not anticipated during training. ## Limitations and Open Problems - **Initial rise in success:** For some tasks, attack success first increases with compute and then declines, likely because the model needs a minimum amount of reasoning to carry out the attacker's target (for example, it must solve the math problem before it can add one). - **Persistent failures:** On StrongREJECT with the language model program attack, success sometimes does not decline. Some prompts seek information that is only prohibited in certain contexts, so the attacker can find a setting where the policy-compliant answer is to provide it. - **Imperfect compute control:** Attackers can sometimes trick the model into skipping reasoning or wasting its compute budget. The authors used a naive allocation strategy and see teaching the model to spend compute wisely as a promising research direction. ## Conclusion The results point to inference-time compute as a potentially powerful lever for adversarial robustness. The authors note that substantial work remains before this promise becomes a reliable defense.

OpenAI2024-04-182 min readCurated summary

The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions

The post argues that current LLMs are vulnerable to prompt injections and jailbreaks because they treat system prompts from application developers with the same priority as text from untrusted users and third parties. The authors propose an explicit instruction hierarchy that defines how models should act when instructions of different priorities conflict. They show that training GPT-3.5 to follow this hierarchy substantially improves robustness, including against attack types not seen during training, with minimal loss in standard capabilities. ## The Vulnerability: Flat Instruction Priority - Attacks such as prompt injections and jailbreaks work by overwriting a model's original instructions with adversarial prompts. - A core cause is that models give developer-written system prompts the same weight as user messages and third-party content. - Because of this, a malicious instruction embedded in user input or retrieved content can override the developer's intended behavior. ## Proposed Solution: An Instruction Hierarchy - The authors define an explicit hierarchy that ranks instructions by privilege, so the model knows which instructions take precedence when they conflict. - The hierarchy gives higher-privileged sources, such as system prompts, authority over lower-privileged sources, such as user messages and third-party text. ## Training Method - The authors present a data generation method that teaches the model hierarchical instruction following. - The training teaches the model to selectively ignore lower-privileged instructions that conflict with higher-privileged ones, while still following lower-privileged instructions that don't conflict. ## Results on GPT-3.5 - Applying the method to GPT-3.5 drastically increased robustness against attacks. - The gains extended to attack types that were not included in training, which suggests the model learned a general principle rather than memorizing specific attacks. - Standard capabilities were only minimally degraded.