LIVE · cybersecurity feed
Live wire
vulnerability

An AI broke Snowflake's code. Then another AI agent exploited it

An autonomous AI agent successfully exploited a script injection vulnerability in a Snowflake GitHub repository, which had been inadvertently introduced by an AI coding assistant just five days prior. The incident, part of a sanctioned bug bounty program, saw an AI-powered "red agent" from Wiz discover and exploit the flaw, leading to the exfiltration of credentials without human intervention.

ZeroDay News ·

Source: The Register — Security

An autonomous AI agent successfully exploited a script injection vulnerability in a Snowflake GitHub repository, which had been inadvertently introduced by an AI coding assistant just five days prior. The incident, part of a sanctioned bug bounty program, saw an AI-powered "red agent" from Wiz discover and exploit the flaw, leading to the exfiltration of credentials without human intervention.

The vulnerability was found in the `snowflakedb/snowflake-connector-net` repository's GitHub Actions workflow. Specifically, a script injection flaw in `run:` blocks allowed an unauthenticated user to execute arbitrary commands within a GitHub Actions runner. This was achievable by opening a GitHub issue with a specially crafted title that, after template expansion, could break out of an `echo` string.

The root cause of the vulnerability was a commit made on June 18, co-authored by GitHub Copilot Autofix, an AI coding assistant. The AI assistant removed an existing sanitized input pattern and replaced it with direct string expansion in a shell script, thereby introducing the script injection bug.

Wiz's red agent, designed for offensive security, identified this flaw during a routine scan of public repositories on June 23. The agent then crafted an issue title to exploit the vulnerability, successfully exfiltrating Jira credentials via an out-of-band callback. These credentials provided Wiz with read access to Snowflake's engineering, security compliance, and bug bounty tracking projects.

Wiz reported the workflow vulnerability to Snowflake on June 23, the same day it was discovered. Snowflake promptly patched the flaw and revoked and rotated the affected Jira token. An internal audit confirmed that Wiz was the only third party to access the endpoint during the five-day exposure window. Snowflake stated that its investigation found no evidence of unauthorized access.

Following the disclosure, Wiz deleted all data accessed during its vulnerability research and proof-of-concept exploit testing. The company highlighted the incident as evidence that traditional human code review processes may not be sufficient to rapidly detect vulnerabilities, especially as developers increasingly integrate AI coding assistants into their workflows. The event underscores the emerging challenge of AI-introduced vulnerabilities and the potential for automated AI agents to quickly discover and exploit them.

vulnerabilityai
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.