HiddenLayer exposes “CopyPasta License Attack” targeting AI-powered code assistants

A new cybersecurity warning has shaken the AI and crypto development community. According to research by HiddenLayer, a recently discovered virus can exploit vulnerabilities in AI coding tools such as Cursor — the preferred platform for developers at Coinbase.

The exploit, dubbed the “CopyPasta License Attack,” enables hackers to inject malicious prompt instructions into common developer files. Once embedded, these hidden commands can spread silently across entire codebases, opening the door to serious security risks.

The virus is included in a markdown comment (left), which is hidden from the user-facing render (right). Source: HiddenLayer

How the CopyPasta virus works

HiddenLayer explained that the virus leverages files like LICENSE.txt and README.md, where attackers can conceal instructions inside markdown comments. Since these notes are not visible when rendered, the infection can remain unnoticed.

When AI coding assistants like Cursor read these files, they mistake the hidden content for essential instructions. This causes the AI to automatically replicate and distribute the malicious prompts into every file it edits — effectively creating a self-spreading vulnerability.

Potential risks include:

  • Backdoors for unauthorized access
  • Data exfiltration of sensitive information
  • Resource-draining operations that disrupt systems
  • Manipulation of core files in production environments

HiddenLayer emphasized that this method could be repurposed for large-scale cyberattacks, especially if adopted by sophisticated threat actors.


Coinbase’s reliance on AI under scrutiny

The timing of the discovery comes just as Coinbase CEO Brian Armstrong revealed that AI now writes up to 40% of the company’s code — with plans to increase this to 50% next month.

While Armstrong insists that AI code is reviewed and limited to “less-sensitive backends”, critics argue that mandating AI in a security-sensitive industry like crypto is reckless.

  • Larry Lyu, founder of Dango Exchange, called the move a “giant red flag.”
  • Jonathan Aldrich, a Carnegie Mellon professor, said forcing AI adoption at scale was “insane.”
  • Alex Pilař, a veteran Bitcoiner, stressed that Coinbase should “prioritize security as a custodian of billions in assets.”

Internal pushback and Armstrong’s strict AI policy

Coinbase’s engineering team blog confirmed that AI adoption is deepest in UI and non-critical systems, while core exchange infrastructure remains largely human-coded. Still, concerns persist about whether prompt injection attacks like CopyPasta could slip past reviews.

Adding to the controversy, Armstrong admitted in a recent podcast that he fired engineers who refused to onboard AI tools like Cursor and GitHub Copilot. He called it a “heavy-handed approach” but defended the decision as necessary to stay ahead in technology.

The CopyPasta discovery highlights a growing dilemma: while AI can boost developer productivity, it also creates new, AI-specific attack vectors. For companies like Coinbase — which safeguard billions in digital assets — the risks of automated code vulnerabilities could outweigh the benefits.

With regulators and cybersecurity experts increasingly focused on AI governance, the incident may trigger calls for stricter oversight of AI adoption in financial and blockchain infrastructure.

Disclaimer

This content is for informational purposes only and does not constitute financial, investment, or legal advice. Cryptocurrency trading involves risk and may result in financial loss.

bitxjournal.com

info@bitxjournal.com

Bitxjournal Copyright © 2025, All rights reserved

News
Rates
Buy
More
We use cookies to personalize content and ads, provide social media features, and analyze our traffic. In accordance with GDPR/AVG and EU cookie regulations, data is processed only with your consent. We may share information about your use of our website with our social media, advertising, and analytics partners, and you can manage or withdraw your consent at any time. View more
Cookies settings
Accept
Privacy & Cookie policy
Privacy & Cookies policy
Cookie name Active

Privacy Policy

At BitxJournal.com, we respect your privacy and are committed to protecting your personal data. This Privacy Policy explains how we collect, process, store, and protect personal information in accordance with the General Data Protection Regulation (GDPR) and AVG (EU privacy legislation).

1. Data Controller

BitxJournal.com acts as the data controller for all personal data processed through this website.

2. Personal Data We Collect

We may collect and process the following categories of data:

Personal Data

  • Name and email address (when you subscribe to newsletters or contact us)

Technical & Usage Data

  • IP address, browser type, operating system

  • Device information

  • Pages visited, referral sources, and interaction data

This data is collected via cookies, log files, and analytics technologies.

3. Legal Basis for Processing

We process personal data only when a lawful basis exists, including:

  • Consent – when you explicitly agree (e.g., cookies, newsletter sign-up)

  • Legitimate interest – to operate, secure, and improve our website

  • Legal obligation – when required by applicable laws

You may withdraw your consent at any time.

4. Purpose of Data Processing

Your data is processed for the following purposes:

  • Operating and maintaining the website

  • Improving content, usability, and performance

  • Sending newsletters or updates (only with consent)

  • Analyzing traffic and user behavior

  • Responding to inquiries or support requests

5. Cookies & Consent Management

We use cookies and similar technologies in compliance with EU Cookie Law.

  • Non-essential cookies are placed only after explicit user consent

  • Users may accept, reject, or manage cookie preferences at any time

  • Consent can be withdrawn without affecting prior lawful processing

Detailed cookie information is available in our Cookie Settings panel.

6. Third-Party Data Processing

We may share limited data with trusted third-party service providers, including:

  • Analytics providers (e.g., Google Analytics)

  • Advertising partners (for personalized or non-personalized ads)

These third parties act as data processors and process data only under contractual obligations compliant with GDPR/AVG.

7. International Data Transfers

Where data is transferred outside the European Economic Area (EEA), we ensure appropriate safeguards are in place, such as Standard Contractual Clauses (SCCs) or equivalent legal mechanisms.

8. Data Retention

We retain personal data only for as long as necessary to fulfill the purposes outlined in this policy or as required by law.

9. Data Security

We implement appropriate technical and organizational security measures to protect personal data against unauthorized access, alteration, disclosure, or destruction.

10. Your GDPR Rights

Under GDPR/AVG, you have the right to:

  • Access your personal data

  • Rectify inaccurate or incomplete data

  • Request data erasure (“right to be forgotten”)

  • Restrict or object to processing

  • Data portability

  • Withdraw consent at any time

  • Lodge a complaint with a supervisory authority

11. Changes to This Privacy Policy

We reserve the right to update this Privacy Policy at any time. Any changes will be posted on this page with a revised effective date.

12. Contact Information

For privacy-related inquiries or GDPR requests, contact:

📧 Email: support@bitxjournal.com
🌐 Website: https://bitxjournal.com

Save settings
Cookies settings