NewThe Engineering Leader Benchmark 2026 is open. Results in Q1 2027.Take the benchmark

Generative AI in cyber security

Bo WesdorpCo-founder and CTO, Miyagami Practice3 min read

Generative AI helps security teams summarise alerts, review code, draft reports and speed up investigation. It also adds risks of its own: prompt injection, leaks of sensitive data through prompts and insecure generated code. Teams control those risks with least-privilege access, human review of output and logging of what the AI does.

How do security teams use generative AI

The strongest uses save time on reading and writing. A model can summarise a long alert with its related logs, suggest the next question to ask and draft the first version of an incident timeline. It can also explain unfamiliar code or a configuration to an analyst.

  • Alert triage: grouping and summarising events so analysts start with context.
  • Code review: pointing at suspicious patterns before a human reviewer looks.
  • Reporting: drafting incident reports and post-incident reviews.
  • Knowledge search: answering questions from internal runbooks.

What new risks does it add

Language models bring risks that older tools did not have. Prompt injection is the best known: text in an email or web page can steer a model that reads it. Sensitive data pasted into a prompt may leave your control. Generated code can look correct and still contain flaws, which is why reviewing AI-generated code needs the same care as any other change.

How do you reduce the risk

A few controls carry most of the value. Give the model the minimum access it needs and never let it act without approval on sensitive systems. Keep customer and secret data out of prompts, or use a setup where you control retention. Log prompts and actions so that you can investigate afterwards. Test the setup the way an attacker would, including hostile input.

The shared responsibility described in the cloud security model still applies, and the AI tools are one more system inside it.

Can AI replace analysts

It speeds up routine work and leaves the decisions with people. A model can be wrong with confidence, so a human needs to check anything that affects access, data or customers. Teams that get the most value use AI to remove reading and writing time and keep their analysts for judgement and response.

How do you start

Pick one routine task, such as summarising alerts or drafting incident reports, and run it with a small group for a month. Measure the time saved and the errors found, then decide whether to extend it. Keep a written list of what the tool may access, and review it whenever you add a feature. Small pilots build trust and show where the risks are before you rely on the tool.

What are common mistakes

The most common mistake is trusting output without checking it. A summary that leaves out the one relevant log line looks fine and misleads the analyst. Another is giving a model broad access for convenience, which turns a prompt injection into a real incident. A third is skipping logs, so nobody can later explain what the tool did. Write these three risks into your rollout plan and assign an owner to each.

What does this mean when you hire

Security engineers now need to understand how models fail, as well as the classic areas of identity, networks and code. Ask candidates how they would test a feature that sends user text to a model, and what access they would give it. The guide on hiring a remote security engineer covers the wider assessment.

Miyagami places senior engineers through the security engineers page, full-time from €5,600 a month on a three-month minimum, with no recruitment fee and replacement at our cost if the fit is wrong. A shortlist arrives within 3 working days of the brief.

Every engineer is tested by an AI-native tech lead who works with AI every day, explained on how we vet.

Short answers

How is generative AI used in cyber security?

Mainly to summarise alerts, help review code, draft incident reports and speed up investigation.

What risks does it add?

Prompt injection, leaks of sensitive data through prompts and insecure generated code.

Can AI replace a security team?

No. It speeds up routine work, and people still decide what to do and own the outcome.

How do you use it safely?

Limit what it can access, review its output and log what it does.

Let's talk

Get a shortlist within three days

You share the roles and the stack in a short form or a thirty-minute call. Within three working days you get named senior engineers to review, each with both scorecards, and you can hire within five.

Reviewed onClutch42 reviews
ISO 27001
Certified

Book thirty minutes with Dale

The calendar is provided by HubSpot, which sets its own cookies. Load it here, or book on HubSpot's page.

Open booking page