
TL;DR
Wiz Red Agent exploited a vulnerability in GitHub Actions, introduced by GitHub Copilot Autofix, allowing access to sensitive data in Snowflake's internal Jira. This incident underscores the risks of AI coding assistants in software development.
✦ Why It Matters
Review your use of AI coding assistants to ensure they do not introduce vulnerabilities.
Key Takeaways
How It Works
Wiz Red Agent scanned Snowflake's GitHub organization and identified a vulnerability in the jira_issue.yml workflow. The flaw allowed an attacker to execute arbitrary commands by manipulating the issue title, which was directly interpolated into a shell script without proper sanitization.
This oversight was due to an AI-generated commit that replaced a safe input handling method with a risky direct string expansion.
Related