LIVE · cybersecurity feed
Live wire
aihigh

AI Coding Tools Vulnerable to Decades-Old Hacking Technique

Researchers have uncovered a vulnerability in AI coding assistants that allows them to be tricked into executing malicious code. This attack, named GhostApproval, leverages a long-standing technique to compromise a developer's machine through the AI tool. The exploit highlights potential security risks associated with the integration of AI into software development workflows.

zeroday.news · 23d ago

AI-powered coding assistants are susceptible to a security flaw that could allow attackers to execute malicious code on a developer's machine. Researchers have dubbed this attack method "GhostApproval." The vulnerability exploits a well-established hacking technique, demonstrating a potential risk as AI tools become more integrated into software development processes.

The GhostApproval attack works by manipulating the AI assistant into approving malicious code changes. This is achieved by crafting specific prompts or inputs that trick the AI into misinterpreting the intent of the code. When the AI assistant, which often has the ability to suggest or even automatically apply code changes, approves the malicious code, it can then be executed.

While the specific AI coding tools affected are not detailed in all reports, the underlying vulnerability is described as stemming from the AI's reliance on its training data and its inability to fully understand the context or potential downstream consequences of code it approves. This reliance on pattern recognition and probabilistic reasoning, rather than true comprehension, is the core weakness exploited by the GhostApproval technique.

The technique itself is not entirely novel, reportedly building upon decades-old methods of social engineering and code injection. However, its application to AI coding assistants presents a new attack vector, as these tools are increasingly trusted to streamline development and improve code quality. The concern is that developers might place undue trust in the AI's recommendations, making them less likely to scrutinize code that the AI itself has "approved."

Confirmation of the vulnerability has come from researchers who have publicly demonstrated the attack. However, the affected vendors have not yet issued public statements or released patches addressing the GhostApproval flaw. The exact scope of the vulnerability across different AI coding platforms remains an open question, though the underlying principle suggests it could affect multiple tools that offer code suggestion or approval functionalities.

The implications of this vulnerability are significant for the software development lifecycle. If an attacker can successfully inject malicious code through an AI assistant, it could lead to compromised codebases, the introduction of backdoors, or the exfiltration of sensitive data. This underscores the need for robust security practices even when using advanced development tools.

Experts in the field have noted that the integration of AI into critical infrastructure and development pipelines requires a thorough understanding of potential failure modes and security risks. The GhostApproval attack serves as a stark reminder that AI systems, while powerful, are not infallible and can be manipulated.

Moving forward, developers and vendors will need to focus on enhancing the security of AI coding assistants. This could involve improving the AI's ability to detect malicious patterns, implementing more rigorous human oversight for AI-generated code approvals, and developing better methods for sandboxing and validating code before it is integrated into production systems. The long-term security of AI-assisted development hinges on addressing such vulnerabilities proactively.

aivulnerabilitymalwaresoftware development
ShareXLinkedInWhatsAppFacebook

More News

view all →
ai

7 States’ Water Systems Hit by Cyberattacks Likely Tied to Iran

Plus: The FBI eyes AI-powered tech to detect future crimes, Russia charges Telegram’s founder, xAI sues to stop a state’s “nudification” ban, and the Democrats learn a lesson about getting scammed.

vulnerability

Coldcard Hardware Wallet Flaw Linked to $70 Million Bitcoin Theft in 41 Minutes

An attacker drained 1,196 Bitcoin addresses in 41 minutes on July 30, taking 1,082.65 BTC worth about $70.2 million at the time. Galaxy Research mapped the sweep and tied it to a firmware flaw in Coldcard, the Bitcoin-only hardware wallet made by Canadian firm Coinkite. A March 2021 firmware integration error routed seed generation to a deterministic software pseudorandom number generator (PRNG

vulnerabilitycritical

Rails patches critical Active Storage flaw with RCE potential

A critical vulnerability in the Active Storage framework can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE). [...]

malware

Russian Hackers Hijack Hotel Wi-Fi to Steal Microsoft 365 Tokens

Microsoft says Russian hackers hijacked hotel Wi-Fi portals to spread malware and steal Microsoft 365 tokens from travelers. Microsoft Threat Intelligence disclosed CaptiveCrunch, a campaign it attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard, the Russian SVR-linked group also known as APT29 and Cozy Bear. Since early May 2026, Storm-2945 has been manipulating DNS […]

CVE-2026-48449critical

Adobe fixed a maximum-severity vulnerability flaw in Campaign Classic

Adobe fixed a maximum severity vulnerability in Campaign Classic that could let attackers run code remotely without user interaction. Adobe has addressed a critical vulnerability, tracked as CVE-2026-48449 (CVSS score of 10.0), in Adobe Campaign Classic, the company’s enterprise marketing automation platform. The flaw is caused by incorrect authorization and could allow attackers to execute […]

security

Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments

The funding round was led by SYN Ventures, with participation from existing investors DataTribe and TEDCO. The post Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments appeared first on SecurityWeek.