What 434 AI-Generated Vulnerabilities Reveal About Secure Software Development
Research found that AI coding models frequently generate insecure code containing flaws like denial-of-service vulnerabilities, hardcoded secrets, and authorization failures.
Overview
A research team at Xint.io analyzed 28 AI-coded applications to identify security flaws in software generated by modern AI models. The study found 434 verified vulnerabilities, revealing that AI frequently creates code with issues like hardcodedPasswords or secret keys written directly into source code instead of stored in a separate vault secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys and authorizationChecking whether an already logged-in user or program has permission to perform a specific action failures. These flaws expose applications to denial-of-serviceAn attack that floods or crashes a server or network so real users cannot reach it attacks and other security risks. The rapid adoption of AI coding assistants has changed software development by allowing developers to build productionThe live servers and databases that real customers actually use, as opposed to internal test machines-ready applications in minutes. As organizations rely more on these tools, the specific types of security weaknesses they introduce have become a major concern. The research indicates that while AI models have improved in preventing basic injection flaws, they still struggle with complex security requirements in larger applications.
Terms in this story
- hardcoded
- Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
- 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.
- authorization
- Checking whether an already logged-in user or program has permission to perform a specific action. Authentication checks who you are at the front door, while authorization decides whether your student account is allowed to read only your own grades or edit the class roster.
- 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
- production
- The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
- source-code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
- runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
- security vulnerabilities
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- prompts
- 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.
- large language models
- An AI system trained on huge amounts of text to generate, summarize, translate, or write code. Security news covers large language models both when defenders use them to review code and when attackers try to trick chatbots into leaking private company documents.
- authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- IDOR
- An access control flaw where changing an identifier in a request reveals someone else's data. If an invoice page uses a customer number in the web address and fails to check who is logged in, an attacker can exploit IDOR by counting through numbers to download other people's bills.
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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (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.
- Kind of story: Research and reports
"...new study from our research team at Xint.io..." Found by reading the article; these exact words are in it - Who is affected: "...organizations increasingly rely on AI-generated code..." Organizations using the product
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"What 434 AI-Generated Vulnerabilities Reveal About Secure Software Development..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......insecure code that exposes AI-generated applications to denial-of-service attacks, hardcoded secrets and authorization failures. The..." Found in the opening sentences - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......applications to denial-of-service attacks, hardcoded secrets and authorization failures. The rapid adoption of AI coding..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"What 434 AI-Generated Vulnerabilities Reveal About Secure Software Development..." Found in the headline - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"What 434 AI-Generated Vulnerabilities Reveal About Secure Software Development..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"......frequently generate insecure code that exposes AI-generated applications to denial-of-service attacks, hardcoded secrets and authorization..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role