Cybersecurity news

Jessica Doner

Back to the list

How organizations can secure their AI-generated code

CSO Online,

CISOs must move security checks closer to code creation because AI-generated code works well, making developers less critical and hiding unvetted new hires.

AI and security

Overview

A new employee built a web application using AI-generated code and deployed it directly to productionThe live servers and databases that real customers actually use, as opposed to internal test machines serversA computer or program on a network that stores data and responds to requests from client devices without security checks. The application handled customer data and private contracts while running on infrastructure the employee controlled. The IT manager discovered the setup months later and raised the concern with the CEO, who chose to ignore it. AI tools now produce working code so reliably that developers often stop reviewing it critically. A benchmark study found that AI agents produced secure solutions in only 11.8% of cases when given feature requests without security guidance. Organizations face a growing risk because AI-generated code is increasingly used by both new hires and experienced teams.

Terms in this story

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.
servers
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.
domain
The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
repository
A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
serverless
A cloud execution model where the provider runs small code functions on demand without dedicated virtual servers. With serverless computing, developers upload individual functions that wake up only when a request arrives, shifting server patching to the cloud provider while leaving application logic permissions to the developer. Security+ objective 3.1 lists the term
CISOs
The executive in charge of an organization's information security team, policies, and incident response. In news about major corporate breaches or new government rules, the CISO is the leader responsible for defending the company's systems and reporting incidents to regulators. Security+ objective 5.1 lists the term
open-source
Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
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.
static analysis
Scanning a program's source code or binary file for security flaws without actually running the program. Software teams run static analysis in their build pipeline to spot SQL injection or buffer overflow patterns automatically whenever a developer submits code. Security+ objective 4.1 lists the term
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.
dependency
An external code library or package that a software project relies on to do part of its work. When a popular open-source dependency has a security bug or gets hijacked by an attacker, every application that imports that package inherits the risk.
pull request
A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.

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 CSO Online website. Cite the article, not this page.

Read the full article on CSO Online (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