<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn" -->

---
title: Nobody Told Your AI Agent It Wasn't Allowed to Freelance
description: AI coding agents are being given autonomy to install packages and write code without human review, creating new attack surfaces. Threats highlighted include...
canonical: https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Nobody Told Your AI Agent It Wasn't Allowed to Freelance | daily.dev
og:description: AI coding agents are being given autonomy to install packages and write code without human review, creating new attack surfaces. Threats highlighted include...
og:url: https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn
og:image: https://api.daily.dev/og/posts/W8afOopZN.png
og:image:alt: Nobody Told Your AI Agent It Wasn't Allowed to Freelance
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Nobody Told Your AI Agent It Wasn't Allowed to Freelance

**[Misfits Developers](https://daily.dev/sources/misfitsdevelopers)** · [@julia7](https://daily.dev/julia7) · 2 min read · 0 upvotes · 0 comments

## Summary

AI coding agents are being given autonomy to install packages and write code without human review, creating new attack surfaces. Threats highlighted include invisible Unicode prompt injection in config files read by Copilot and Cursor, a vulnerable MCP bridge downloaded 400K+ times that allowed remote code execution on client connection, and 'slopsquatting' where attackers register fake package names that AI models are known to hallucinate. Roughly 40% of AI-generated code reportedly ships with a vulnerability, and traditional SAST/SCA tools can't detect rogue agent or MCP behavior. The piece promotes 'AI Security Posture Management' (AI-SPM) as a new category to address this, linking to a vendor blog and promoting a conference booth.

## Content

Misfits don't follow the rules, and apparently neither do AI agents. They're picking dependencies, writing logic, and in some setups, running installs mid-task, no human glancing at the package name first. Nobody signed off on any of it. It just happens.

Here's where that gets messy. Attackers are hiding instructions in invisible Unicode inside config files that Copilot and Cursor read and quietly obey. A widely used MCP bridge, downloaded 400K+ times, had a bug that let attackers run code the second a client connected. And AI models hallucinate package names often enough that attackers now register the fake ones in advance and just wait, "slopsquatting," basically a con that only works because your agent doesn't ask questions.

Add in that roughly 40% of AI-generated code ships with a vulnerability, and you've got a lot of unsupervised decisions piling up fast. Your SAST/SCA tools won't save you here either. They read code, not whether a model, an agent, or an MCP server just went rogue.

Now there's a name for babysitting all of it: AI Security Posture Management (AI-SPM). Discover what's actually running, detect what's actually risky, fix it before it ships.

Full breakdown: [𝐀𝐈 𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐏𝐨𝐬𝐭𝐮𝐫𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭: 𝐖𝐡𝐲 𝐃𝐢𝐬𝐜𝐨𝐯𝐞𝐫𝐲 𝐀𝐥𝐨𝐧𝐞 𝐖𝐨𝐧'𝐭 𝐒𝐞𝐜𝐮𝐫𝐞 𝐀𝐈-𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐞𝐝 𝐂𝐨𝐝𝐞.](https://xygeni.io/blog/ai-security-posture-management-why-discovery-is-not-enough/?utm_source=dailydev&utm_medium=post&utm_campaign=Article)

We're talking through this at OWASP AppSec Days Portugal 2026 (Sept 23-24, Porto), booth 12. Come find us if you're around!

𝐁𝐮𝐢𝐥𝐝 𝐟𝐚𝐬𝐭. 𝐒𝐭𝐚𝐲 𝐬𝐞𝐜𝐮𝐫𝐞.

## Similar posts on daily.dev

- [Package Security Problems for AI Agents](https://daily.dev/posts/package-security-problems-for-ai-agents-inqhpqke4) · Andrew Nesbitt · 0 upvotes · 0 comments
- [\[Webinar\] Securing Agentic AI: From MCPs and Tool Access to Shadow API Key Sprawl](https://daily.dev/posts/webinar-securing-agentic-ai-from-mcps-and-tool-access-to-shadow-api-key-sprawl-hokzzedlq) · The Hacker News · 0 upvotes · 0 comments
- [“There is no accountability”: AI coding agents are installing packages no one owns](https://daily.dev/posts/there-is-no-accountability-ai-coding-agents-are-installing-packages-no-one-owns-95iq1ggkz) · The New Stack · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#ai-agents](https://daily.dev/tags/ai-agents), [#mcp](https://daily.dev/tags/mcp), [#appsec](https://daily.dev/tags/appsec)

[View this post on daily.dev](https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn","headline":"Nobody Told Your AI Agent It Wasn't Allowed to Freelance","text":"AI coding agents are being given autonomy to install packages and write code without human review, creating new attack surfaces. Threats highlighted include invisible Unicode prompt injection in config files read by Copilot and Cursor, a vulnerable MCP bridge downloaded 400K+ times that allowed remote code execution on client connection, and 'slopsquatting' where attackers register fake package names that AI models are known to hallucinate. Roughly 40% of AI-generated code reportedly ships with a vulnerability, and traditional SAST/SCA tools can't detect rogue agent or MCP behavior. The piece promotes 'AI Security Posture Management' (AI-SPM) as a new category to address this, linking to a vendor blog and promoting a conference booth.","url":"https://daily.dev/posts/nobody-told-your-ai-agent-it-wasn-t-allowed-to-freelance-w8afoopzn","datePublished":"2026-08-26T07:26:47.028Z","dateModified":"2026-08-26T07:27:08.386Z","author":{"@type":"Person","name":"Julia","url":"https://daily.dev/julia7","image":"https://media.daily.dev/image/upload/s--Vye82kCe--/f_auto/v1752235114/avatars/avatar_JI6NHO2CHs2BU4FFm4NUw?_a=BAMClqZW0","description":"DevSecOps Lover and Software Supply Chain Security Advocate | Solutions Manager at Xygeni","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":290}},"image":"https://media.daily.dev/image/upload/s--UnAELUmK--/f_auto/v1787729207/posts/W8afOopZN?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/misfitsdevelopers","name":"Misfits Developers"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Misfits Developers","item":"https://daily.dev/squads/misfitsdevelopers"},{"@type":"ListItem","position":3,"name":"Nobody Told Your AI Agent It Wasn't Allowed to Freelance"}]}
```

