Cybersecurity news

Jessica Doner

Back to the list

The AI code vulnerabilities that grow with your app

Help Net Security,

A security firm found that AI coding agents built apps with vulnerabilities that increased as the applications grew larger.

AI and securityVulnerabilities and patches

Overview

Theori built 28 apps using AI coding agents and scanned them for security flaws. The team expected to find common bugs like SQL injectionPutting database commands into a web form or request so the server runs them by mistake, but the AI models mostly avoided these by using prepared statements and ORMs. The most common issue was resource exhaustion, which appeared in 21% of the findings. This happens because the AI does not know the system limits, such as how many requests per second the service should handle. Another major problem was secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys exposure, which caused close to half of the critical findings. These issues occur because AI models struggle with vulnerabilities that require a system-level understanding rather than just fixing a single line of code. The raw scans found 8,827 detections, but only 434 were confirmed as real vulnerabilities after the team built proof-of-concept exploitsA working sample of code or steps that shows a reported security flaw can really be triggered.

Terms in this story

SQL injection
Putting database commands into a web form or request so the server runs them by mistake. When a website builds a database query directly from user input without checking it, an attacker can use SQL injection to dump customer tables or log in as an administrator. Security+ objective 2.3 lists the term
SQL
The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
Secrets
Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
proof-of-concept exploits
A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
pentesting
An authorized simulated cyberattack hired by an organization to find weak spots before real criminals do. During penetration testing, security specialists have permission to probe a company's websites, cloud accounts, and internal network and then deliver a report on every path they broke through. Security+ objective 4.3 lists the term
prompt
The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
PHP
A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
codebase
The complete collection of source code files used to build a software application or system. Security teams run automated scanners across a company's codebase to catch hardcoded passwords, outdated dependencies, and injection flaws before changes ship to production.
cross-site scripting
A web flaw where an attacker sneaks malicious script into a page that other visitors' browsers run. If a forum or comment box shows user text without filtering out script tags, an attacker can use cross-site scripting to steal session cookies from anyone who views the page. Security+ objective 2.3 lists the term
Frontier models
The largest, most capable generation of general-purpose artificial intelligence models. Researchers and governments test frontier AI systems before release to see whether they can discover software vulnerabilities on their own or help novices plan cyberattacks.
denial-of-service
An attack that floods or crashes a server or network so real users cannot reach it. An attacker can cause a denial-of-service either by overwhelming a website with junk traffic or by sending a single malformed request that triggers a crash bug. Security+ objective 2.4 lists the term
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Help Net Security website. Cite the article, not this page.

Read the full article on Help Net Security (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Related