---
title: "Discussion on \"I asked an AI agent to delete a folder my tool was guarding. Here's everything that went wrong.\" | Hashnode"
description: "Discussion on \"I asked an AI agent to delete a folder my tool was guarding. Here's everything that went wrong.\". A live Cursor agent evaded my shell-command gate 4 ways: retry whack-a-mole, a classifier hole, a native-tool escape, and a silently renamed hook API."
url: "https://hashnode.com/posts/i-asked-an-ai-agent-to-delete-a-folder-my-tool-was-guarding-here-s-everything-that-went-wrong/6a5aa3d2a710a70353f4e040"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I asked an AI agent to delete a folder my tool was guarding. Here's everything that went wrong.](https://zerodrop.hashnode.dev/i-asked-an-ai-agent-to-delete-a-folder-my-tool-was-guarding-here-s-everything-that-went-wrong?utm_source=hashnode&utm_medium=feed)

A live Cursor agent evaded my shell-command gate 4 ways: retry whack-a-mole, a classifier hole, a native-tool escape, and a silently renamed hook API.

Jul 17 · 8 min read · zerodrop.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#rust](https://hashnode.com/tag/rust)
-   [#security](https://hashnode.com/tag/security)
-   [#developer-tools](https://hashnode.com/tag/developer-tools)
-   [#agents](https://hashnode.com/tag/agents)

## Written by

[ZeroDrop](https://hashnode.com/@zerodrop)

@zerodrop · The Internet

  
[View profile](https://hashnode.com/@zerodrop)

Email verification infrastructure for developers and AI agents.

Building ZeroDrop — email verification infrastructure for developers and AI agents. OTPs and magic links auto-extracted at the edge.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
