"When AI becomes common, how does security change?" The misconceptions that spread here point your defenses in the wrong direction. What actually works is the boring basics. Here are four common misconceptions, corrected defensively (no attack steps).
What public agencies and studies show
This article's position is not only this site's opinion. Reports from public agencies and research firms point the same way.
- UK National Cyber Security Centre (NCSC, January 2024): AI will "almost certainly" increase the volume and heighten the impact of cyber attacks over the next two years, with the biggest uplift in reconnaissance and social engineering, making them easier even for less-skilled attackers.
- Mandiant (Google Cloud): the average time from a vulnerability's disclosure to its exploitation fell to 5 days in 2023 (32 days in 2021–2022).
- Verizon 2025 Data Breach Investigations Report (DBIR): the initial way in was credential abuse in 22% of breaches and vulnerability exploitation in 20%. Both are long-standing basic weaknesses.
- Veracode (2025): more than 100 language models were given 80 coding tasks, and 45% of the results contained vulnerable code.
None of these describe a new kind of weakness. They show existing weaknesses being hit faster and more often.
Misconception 1: "We're too small to be a target"
The assumption
- Small or unknown means attackers aren't interested
- A human picks "valuable" sites to attack
Reality
- Automation removes the "a human picks a target" step. It scans the whole internet continuously and hits wherever a weakness appears, indiscriminately
- AI strengthens "broad, fast, at scale." Small sites get targeted because they are often under-defended and easy to enter
Misconception 2: "AI needs a special new control"
The assumption
- The AI era makes existing defenses obsolete
- You can't be safe without a new dedicated tool
Reality
- Attacks use the same basic weaknesses as ever (unpatched, reused, exposed)
- So what works is the same basics. Patch CVEs fast and stop password reuse + MFA, done now
Misconception 3: "A product (WAF, AI security) will keep us safe"
The assumption
- A capable product completes your defense
- With a detection tool, design can wait
Reality
- Detection/defense products are about "after it starts." The priority is a design that doesn't let it start or spread (patching, least privilege, MFA, no plaintext secrets)
- Reverse the order and you pay for detection while the weaknesses stay. Basics first, then products
Misconception 4: "AI-written code is fast and convenient (= safe)"
The assumption
- AI-generated code is high quality; publish it as-is
- Built fast = built safe
Reality
- AI can plausibly include risky patterns or misconfigurations. Fast doesn't mean safe
- Review before publishing: hardcoded secrets, auth/input validation, exposure scope, dependency CVEs (→ a real case: AI-code API-key leak)
2026 cases: AI agents used basic weaknesses
From July 2026, several cases of research AI agents reaching real websites were disclosed. Each one supports the four corrections above.
- In the Hugging Face case, the starting point was credentials that had been exposed publicly (→ the Hugging Face intrusion).
- In the case Anthropic disclosed, a model under evaluation scanned about 9,000 targets and got into one company using well-known methods: reading credentials from an exposed debug page and SQL injection (→ AI agents reaching real websites).
- According to Anthropic, the organizations it reached had not detected the activity.
The 9,000 figure shows targets were not chosen by size (misconception 1). The methods were basic (misconception 2), and the sites did not notice, which is why closing the entry points comes before detection (misconception 3).
Quick table: what works and what does not
If unsure, start from the top row.
| Measure | Verdict | Why |
|---|---|---|
| Updating dependencies and servers, monitoring known vulnerabilities | Works (top priority) | The time from disclosure to exploitation is now days |
| Multi-factor authentication (passkeys where possible) | Works (top priority) | A stolen or reused password alone no longer gets in |
| Revoking credentials that were exposed | Works (top priority) | Deleting files or history does not stop a key that is still valid |
| Turning off production debug output and restricting admin panels | Works | The entry points actually used in the 2026 cases |
| Restorable backups (stored elsewhere, restore tested) | Works | The last line when other defenses fail |
| WAF or AI-based detection products | Useful after the basics | Without closing the entry points, it only adds detection cost |
| Changing the admin URL, hiding version strings | Weak on its own | Automated scans try many URLs; no substitute for auth or updates |
| Only asking an AI to look over your code | Not enough on its own | It misses things; check secrets and dependencies with dedicated tools |
How to check your own site
A first check takes about 30 minutes.
- Run the full site security audit to check
.envand.gitexposure, certificates, and security headers at once - Paste code and config into the secret leak scanner before publishing, to catch hard-coded API keys
- Check dependencies for known vulnerabilities with the dependency vulnerability scanner or
npm audit - In your admin settings, confirm every admin account has multi-factor authentication
This site's view: act in priority order, not out of fear
AI-era news skews alarmist, but on this site we hold that AI does not change everything; the basics still work. The cheaper, faster, and more at-scale attacks get, the more what works is not a flashy new product but the boring basics in the right order. The real danger is chasing a special new control because of a misconception while leaving the unpatched, reused, and exposed right in front of you. Follow the priority checklist and you won't get lost.
Sources
- UK NCSC, "The near-term impact of AI on the cyber threat" (24 January 2024) — ncsc.gov.uk
- Google Cloud (Mandiant), "How Low Can You Go? An Analysis of 2023 Time-to-Exploit Trends" — cloud.google.com
- Verizon, "2025 Data Breach Investigations Report" — verizon.com
- Veracode, "2025 GenAI Code Security Report" (announced 30 July 2025) — veracode.com
- Express, "Production Best Practices: Security" — expressjs.com
Read next
- AI agent intrusion: The Hugging Face intrusion (2026): an autonomous AI agent attack
- Checklist: AI-era security (priority checklist)
- Baseline: Security baseline checklist
- Audit: Site security audit