Cybersecurity firm HiddenLayer uncovers a “CopyPasta License Attack” that exploits Coinbase’s favored AI coding tool, Cursor.Cybersecurity firm HiddenLayer uncovers a “CopyPasta License Attack” that exploits Coinbase’s favored AI coding tool, Cursor.

Coinbase’s AI coding tool could be exploited through a backdoor

The Coinbase CEO may have strong-armed his company to use AI tools Cursor, but according to Cybersecurity platform HiddenLayer, that move could put the exchange at risk.

Coinbase developers’ most favored AI coding assistant has been found vulnerable to a cyberattack that can implant hidden malware and compromise the entire organization, according to a new report from cybersecurity company HiddenLayer.

In a blog published late Thursday, HiddenLayer wrote the attack exposes weaknesses in Cursor’s code editor through an exploit known as a “CopyPasta License Attack,” a method that seems harmless on the outside, but embeds malicious instructions into common developer files.

HiddenLayer discovers CopyPasta attack

Cursor provides intelligent autocomplete, automated code suggestions, and real-time error detection to help developers simplify coding. But in Auto-Run mode, where the software can execute commands automatically, the researchers discovered a flaw that bypasses protections meant to prevent unsafe instructions from running without approval.

HiddenLayer propounded that the CopyPasta attack takes advantage of system prompts within Cursor that is imperative to software licensing compliance. It mimics licensing text like GPL agreements, and then disguises itself as a README markdown text.

CopyPasta Attack tricking Cursor into inserting arbitrary code: Source: HiddenLayer

The attack also uses hidden comments in markdown files and syntax-based inputs to masquerade malicious instructions as authoritative developer commands.

“When combined with malicious instructions, the CopyPasta attack is able to simultaneously replicate itself in an obfuscated manner to new repositories and introduce deliberate vulnerabilities into codebases that would otherwise be secure,” HiddenLayer said in its disclosure.

In testing, researchers used a harmless payload that inserted a single line of code at the start of any Python file. But they warned the same method could be used during security breaches, including planting backdoors, exfiltrating sensitive data, consuming system resources, or corrupting production environments.

Researchers compared it to experiments such as the “Morris II” attack, for example, which showed how email agents could be tricked into spamming or leaking data while reproducing themselves. Morris II had a high theoretical success rate, but it was limited in practice because email systems still required human review before messages were sent.

HiddenLayer said other AI coding assistants, such as Windsurf, Kiro, and Aider, also propagate the CopyPasta exploit to new files in a way that is not easily detected. The vulnerability was reported independently by both HiddenLayer and security group BackSlash. 

Coinbase engineers under heavy AI coding

As reported by Cryptopolitan yesterday, Coinbase CEO Brian Armstrong disclosed that the exchange’s engineering team is using Cursor as its preferred tool for most of its work, with plans to make “every Coinbase engineer” using it by February next year.

The company head told Stripe co-founder John Collison in a podcast late August that he gave developers one week to start using GitHub Copilot and Cursor, or lose their jobs.

“I went rogue and posted in the all-in Slack channel. AI’s important. We need you to all learn it and at least onboard. You don’t have to use it every day yet until we do some training, but at least onboard by the end of the week. If not, I’m hosting a meeting on Saturday with everybody who hasn’t done it, and I’d like to meet with you to understand why,” Armstrong surmised.

On Wednesday, he posted on X that AI was responsible for writing as much as 40% of the company’s code, and was expecting that figure to rise to 50% by next month.

Armstrong has been one of Silicon Valley’s most vocal supporters of integrating AI into corporate workflows. But his insistence that engineers adopt AI coding tools does not sit well with some community members.

If you're reading this, you’re already ahead. Stay there with our newsletter.

Market Opportunity
null Logo
null Price(null)
--
----
USD
null (null) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Crypto Casino Luck.io Pays Influencers Up to $500K Monthly – But Why?

Crypto Casino Luck.io Pays Influencers Up to $500K Monthly – But Why?

Crypto casino Luck.io is reportedly paying influencers six figures a month to promote its services, a June 18 X post from popular crypto trader Jordan Fish, aka Cobie, shows. Crypto Influencers Reportedly Earning Six Figures Monthly According to a screenshot of messages between Cobie and an unidentified source embedded in the Wednesday post, the anonymous messenger confirmed that the crypto company pays influencers “around” $500,000 per month to promote the casino. They’re paying extremely well (6 fig per month) pic.twitter.com/AKRVKU9vp4 — Cobie (@cobie) June 18, 2025 However, not everyone was as convinced of the number’s accuracy. “That’s only for Faze Banks probably,” one user replied. “Other influencers are getting $20-40k per month. So, same as other online crypto casinos.” Cobie pushed back on the user’s claims by identifying the messenger as “a crypto person,” going on to state that he knew of “4 other crypto people” earning “above 200k” from Luck.io. Drake’s Massive Stake.com Deal Cobie’s post comes amid growing speculation over celebrity and influencer collaborations with crypto casinos globally. Aubrey Graham, better known as Toronto-based rapper Drake, is reported to make nearly $100 million every year from his partnership with cryptocurrency casino Stake.com. As part of his deal with the Curaçao-based digital casino, the “Nokia” rapper occasionally hosts live-stream gambling sessions for his more than 140 million Instagram followers. Founded by entrepreneurs Ed Craven and Bijan Therani in 2017, the organization allegedly raked in $2.6 billion in 2022. Stake.com has even solidified key partnerships with Alfa Romeo’s F1 team and Liverpool-based Everton Football Club. However, concerns remain over crypto casinos’ legality as a whole , given their massive accessibility and reach online. Earlier this year, Stake was slapped with litigation out of Illinois for supposedly running an illegal online casino stateside while causing “severe harm to vulnerable populations.” “Stake floods social media platforms with slick ads, influencer videos, and flashy visuals, making its games seem safe, fun, and harmless,” the lawsuit claims. “By masking its real-money gambling platform as just another “social casino,” Stake creates exactly the kind of dangerous environment that Illinois gambling laws were designed to stop.”
Share
CryptoNews2025/06/19 04:53
Brera Holdings Rebrands as Solmate, Raises $300 Million for SOL Treasury

Brera Holdings Rebrands as Solmate, Raises $300 Million for SOL Treasury

Detail: https://coincu.com/news/solmate-rebrand-300m-sol-treasury/
Share
Coinstats2025/09/19 03:40
Sui Mainnet Recovers After 6-Hour Network Stall: No Funds at Risk

Sui Mainnet Recovers After 6-Hour Network Stall: No Funds at Risk

On January 14, 2026, Sui Mainnet faced a significant disruption, leaving the network stalled for roughly six hours. The incident was caused by an internal divergence
Share
Tronweekly2026/01/17 09:30