Skip to content
Enrique Tomás Martínez Beltrán
HomeResearchPublicationsTopicsTeachingBlog
Contact
EN/ES
HomeResearchPublicationsTopicsTeachingBlogContact
EN/ES

Enrique Tomás Martínez Beltrán

Postdoctoral research in AI, cybersecurity and federated learning, spanning threat analysis, closed-loop cyberdefense and trustworthy decentralized learning.

  • Privacy Policy
  • Terms of Service
  • Accessibility Statement
  • Google Scholaropens in a new tab
  • ORCIDopens in a new tab
  • LinkedInopens in a new tab
  • GitHubopens in a new tab
All profiles
  • ResearchGateopens in a new tab
  • Scopusopens in a new tab
  • DBLPopens in a new tab
  • Web of Scienceopens in a new tab

Enrique Tomás Martínez Beltrán. All rights reserved.

Back to top

This site loads optional analytics from Google and external analytics providers only if you accept. You can decline and continue using the site normally.

  1. Home
  2. Research Notes on Federated Learning, Cybersecurity and Cyberdefense
  3. LLM-Supported Attack Mitigation Without Unsafe Autopilot
Attack MitigationLLMsAutonomous CyberdefenseExplainable AICybersecurity

LLM-Supported Attack Mitigation Without Unsafe Autopilot

Turning alert evidence into bounded actions, playbooks and recovery feedback

Enrique Tomás Martínez Beltrán

Postdoctoral Researcher in Computer Science

August 13, 20268 min read
  • LinkedInopens in a new tab
  • Xopens in a new tab
LLM-Supported Attack Mitigation Without Unsafe Autopilot

Attack mitigation is the point at which a security system can cause operational damage. Blocking a host, isolating a segment or rotating credentials may be exactly right, but the same action can interrupt a critical service when the hypothesis is wrong.

LLMs can help compare response options, provided that the action space is constrained outside the model.

1. Separate evidence, recommendation and action

An incident record should distinguish three objects:

  • Evidence: observations and their provenance.
  • Recommendation: a proposed response with assumptions and expected effects.
  • Action: a policy-approved operation performed by a separate control plane.

Conflating these objects makes it impossible to tell whether a bad outcome came from detection, reasoning or execution.

2. A bounded mitigation proposal

For each candidate action aaa, ask the model to return:

m(a)=(rationale,evidence,scope,risk,rollback,expiry).m(a) = (\text{rationale}, \text{evidence}, \text{scope}, \text{risk}, \text{rollback}, \text{expiry}).m(a)=(rationale,evidence,scope,risk,rollback,expiry).

The proposal is incomplete if it lacks a scope or a recovery path. A recommendation to “block the attacker” is not operationally meaningful without identifying the asset, duration and validation step.

3. Playbooks as the authority boundary

The LLM should select or fill parameters for approved playbooks rather than invent commands. A policy engine can reject actions that exceed the asset's criticality, the user's authority or the allowed blast radius.

This also limits prompt injection. Untrusted text may influence the explanation, but it cannot grant the model a new permission.

4. Feedback after mitigation

The system should record whether the action reduced the signal, created a side effect, required rollback or revealed a different root cause. This feedback improves the next investigation, but it should be reviewed before it becomes training data.

Useful fields include:

  • evidence identifiers,
  • chosen playbook and parameters,
  • approval identity,
  • observed post-action state,
  • rollback or expiry event,
  • analyst correction.

5. A realistic first use case

Begin with read-only comparison of two or three approved options. Ask the model to state why one option is better, what evidence is missing and what would falsify the recommendation. Only then consider low-risk automation with a short expiry and automatic rollback.

The purpose of LLM support is not to remove the responder from the loop. It is to make the trade-off between speed, evidence and operational risk easier to inspect.

This note is an original synthesis of evidence-first mitigation design.

Related Research

Autonomous Cyberdefense Needs More Than an LLM

August 13, 2026

Autonomous Cyberdefense Needs More Than an LLM

How to frame autonomous cyberdefense as a bounded control loop with evidence, policies, recovery paths and accountable human intervention.

From Monitoring to Mitigation: A DFL Cyberdefense Lifecycle with LLM Explanations

May 30, 2026

From Monitoring to Mitigation: A DFL Cyberdefense Lifecycle with LLM Explanations

A practical note on how distributed monitoring, DFL models, alert evidence and LLM-based support can fit into a cyberdefense workflow.