LinkedIn · 2 min

The weekend an AI coding tool genuinely scared me

By 2 min read

I want to share something that genuinely scared me this weekend.

Some background

I now use three laptops: one for the office, one personal, and one purely for testing. My testing laptop is where I experiment with OpenClaw, Hermez, Cursor and all the other new tools. I keep all my testing there on purpose, because I don't want to mess up my personal or office machines.

But today, I wanted to test something small on my personal laptop. So I paid for Cursor again, opened it and started working on a different project.

What happened

Within a few minutes, Microsoft Defender popped up: "There is a virus in this folder."

The folder it flagged belonged to a very old project, something I'd tested three or four months earlier. I hadn't used Cursor on this laptop for a long time. I hadn't opened that old project today.

So why was Defender suddenly scanning it? And why did it find a virus only after I opened Cursor?

I went straight back to Cursor and asked: "What did you do? Why did this happen?" Cursor told me that when I reactivated my access, it had automatically reopened that old project.

I didn't click on that project. I didn't ask Cursor to open it. I didn't even know it was open. That honestly freaked me out. An old project had silently opened in the background, and that's when Defender found malware inside it.

For context, I use Claude Code and Codex too, and nothing like this had happened with them. It happened the moment I started using Cursor again.

The bigger worry

The amount of malicious code being pushed into open-source projects today is scary. You download a project, install a package or open a folder in an AI coding tool, and you may have no idea what is quietly running in the background.

I run both Microsoft Defender and Norton to be extra careful. But I started thinking about everyone else. What happens when someone with very little technical knowledge downloads an open-source project and opens it in one of these tools? They think they're just testing code. They may not know a hidden task has started, or that something is reading their files or stealing credentials. They may never get a warning.

What I'd recommend

Keep experiments on a separate machine or environment. Be careful what you download and open. Run good security software. Check what your tools reopen automatically.

AI coding tools make it incredibly easy for anyone to build things. They may also make it incredibly easy to run dangerous code without realizing it. Both are true, and we need to talk about the second one more.

Discuss this post on LinkedIn

Filed underBuilding with AI coding tools

Keep reading

Get tomorrow’s post first.

A new post every day and tech deals every week, straight to your inbox. Add your phone for a weekly message.