Cybersecurity news

Jessica Doner

Back to the list

Who approves the files that control your AI coding assistant?

CSO Online,

Security teams need approval processes to track changes from pull requests to execution because repository instructions and hooks can alter developer environments.

AI and security

Overview

A security analysis by StepSecurity examined a campaign that placed configuration filesA text file that stores settings, network addresses, and options for how a program or server runs in a Microsoft repositoryA central storage place where a software project's source code, change history, and configuration files are kept without changing the application source code. These files were designed to trigger credential harvestingCollecting usernames, passwords, and login tokens in bulk through phishing pages or malware through developer tooling when a folder was opened. The commit included a skip-CI flag and a backdated timestamp, which allowed it to bypass standard build pipelineThe automated pipeline that tests, builds, and deploys software whenever developers push new code controls. The issue is that merging such a configuration change can distribute execution instructions to everyone working in that repository. Reviewers must determine what a file allows to run on a colleague's machine rather than just checking for source code changes. Organizations need to identify who approved a hook and where the approved version is allowed to run.

Terms in this story

configuration file
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
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.
credential harvesting
Collecting usernames, passwords, and login tokens in bulk through phishing pages or malware. Attackers set up fake email login portals for credential harvesting and then test the captured passwords across corporate VPNs and cloud accounts.
pipeline
The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
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.
code execution
A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
script
A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
extension
A small add-on program installed inside a web browser to add features like ad blocking. Because a browser extension can often read and change every web page you visit, attackers buy or hijack legitimate extensions to steal session cookies and passwords.
executable
A compiled program file that an operating system can load into memory and run directly. Most mail servers block attached executable files by default because double-clicking a compiled program lets it run whatever instructions the author wrote.
shell
The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
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.
permissions
The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.

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