Skip to main content
Yoosuf Mohamed

AI & Tech

The Next 18 Months Will Redefine Cybersecurity

The scary part isn't a hacker typing faster. It's software gaining the ability to act, and our old security models assuming it won't.

5 min read

By Yoosuf Mohamed, Systems Architect

The next big security incident might not start with someone in a hoodie brute-forcing a login screen.

It might start with an AI agent doing exactly what it was allowed to do, in the wrong context, after reading something it should never have trusted.

That’s the shift I keep coming back to. For years, cybersecurity has mostly been a familiar loop: attackers find a hole, defenders patch it, vendors sell another dashboard, repeat. Messy, expensive, but at least the shape of the problem felt known.

AI changes the shape.

It makes attacks cheaper and faster. It also pushes us to build systems that can take actions on their own — read data, call APIs, move money, modify infrastructure, deploy code. We’re giving software hands, and in a lot of places we’re still using security models designed for software that only had a mouth.

Attacks get faster, not magically invincible

I don’t buy the hype version where AI instantly hacks everything. Real systems are stubborn. Networks are messy. Production is full of weird edge cases.

But AI does lower the cost of the boring parts of an attack. Reconnaissance, phishing drafts, scanning, glue code, summarising logs, trying variants — all the tedious work that used to slow attackers down gets cheaper.

Microsoft’s 2026 Digital Defense Report said AI is compressing parts of the attack lifecycle from days to seconds. Mandiant’s 2026 research described criminal groups reducing the handoff between initial compromise and later exploitation to seconds. Even if you treat vendor numbers with healthy skepticism, the direction is clear enough.

If attacks move faster, response processes built around human-speed handoffs become a liability. The advantage goes to teams that can detect, contain, and recover quickly.

AI agents are the new security perimeter

This is the one I want software architects to lose sleep over.

An AI agent with useful permissions is a dream product feature. It can read a CRM, pull invoices, query a database, draft a refund, create a ticket, update infrastructure. It’s also a new kind of attack surface.

If that agent reads a malicious instruction hidden inside a document, web page, ticket, or API response, the attacker may not need to break your infrastructure at all. They just need to convince your agent to misuse the access it already has.

That’s prompt injection with consequences. The bad outcome isn’t a weird answer in a chat window. The bad outcome is an unauthorised action taken by a trusted system.

So “the model is inside our app” is not a security boundary. We need tighter rules around agent identity, tool permissions, data access, approval steps for sensitive actions, and audit trails that tell us what happened after the fact.

Identity matters more than the old perimeter

The old network perimeter story was already struggling. Cloud, SaaS, APIs, remote work, third-party integrations — the walls got blurry years ago.

Now add thousands of non-human identities: service accounts, tokens, workloads, bots, agents. Every one of them needs an owner, a scope, a lifetime, and a way to kill it fast.

Least privilege, short-lived credentials, workload identity, continuous authorization, auditable decisions — boring stuff, but this is where real security lives. An agent should never get broad access just because it’s “internal”.

Supply chains and recovery are where the pain gets expensive

Modern software is assembled from packages, images, pipelines, plugins, generated code, and cloud services. That’s normal. It also means one compromised dependency or build step can ripple far.

AI-assisted development makes this sharper. Teams can generate more code faster, which is great until review, dependency scrutiny, and security checks fall behind. The risk isn’t that AI writes insecure code by definition. The risk is that velocity outruns verification.

Ransomware has the same ugly lesson on the other side. Backups aren’t a recovery plan if you haven’t tested restoring them, if your admin credentials are compromised, or if the attacker took out the systems you’d use to recover. I’ve seen enough “we have backups” confidence to know that sentence means nothing until someone has actually done the restore.

Security has to move into engineering

I don’t think security can sit off to the side as a team that reviews things at the end. Too many security decisions are architecture decisions: tenant isolation, authorization checks, secret handling, logging, infrastructure config, deployment pipelines.

A system can have all the right buzzwords — zero trust, OAuth, encryption, private cloud — and still leak customer data because one query forgot a tenant filter. That’s not a firewall problem. That’s an engineering problem.

The good news is that AI can help defenders too. It can summarise telemetry, spot patterns, help triage incidents, and reduce the time humans spend digging through noise. I just wouldn’t hand it the keys without guardrails. A defensive agent with too much power can become its own incident.

What I’d focus on first

If I had to pick a short list for the next 18 months, it would be this:

  • Treat agent permissions like production credentials. Narrow scope, short life, clear owner, full audit trail.
  • Threat-model AI workflows before shipping them. Especially where tools can touch money, customer data, or infrastructure.
  • Make security checks part of delivery. Dependency scanning, secret detection, static analysis, signed artifacts, hardened CI.
  • Design for containment. Assume something gets through. Limit blast radius. Practice recovery.
  • Teach engineers the security basics that matter. Not to turn everyone into a security specialist, but to make secure design normal.

The next era of cybersecurity isn’t just about keeping attackers out. It’s about making sure increasingly autonomous systems stay trustworthy when they’re already inside.

That’s an architecture problem, a product problem, and a leadership problem. And we’ve got less time than most roadmaps assume.

This post was originally published as an edition of my LinkedIn newsletter, Shoutout from Yoosuf .

  • Cybersecurity
  • AI
  • Software Architecture
  • Security
  • Engineering Leadership
  • The Language Humans Find Hard Just Got Cheaper

    Why teams are rewriting performance-critical systems in Rust, Go, and other compiled languages now that AI agents make rewrites cheaper — and what still makes those rewrites dangerous.

  • The Line-by-Line Code Review Is Dead

    Why traditional line-by-line code review doesn't scale in an AI-assisted world, and how risk-based verification, architectural boundaries, and accountable execution loops can replace it.

  • Stop Hiring People Just to Write Code

    Why AI-assisted development makes systems thinking more valuable than raw coding output, and how hiring, mentoring, and engineering roles need to change with it.

Start a project

Have an idea worth building?

Whether you need an AI product, a platform audit, or a reliable engineering partner, tell me what you're working on. I'll respond with the best next step.

Prefer email? [email protected]