<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56" -->

---
title: AI agent hacked McKinsey chatbot for read-write access
description: Security startup CodeWall demonstrated how their autonomous AI agent compromised McKinsey's internal AI chatbot Lilli in under two hours, gaining full...
canonical: https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI agent hacked McKinsey chatbot for read-write access | daily.dev
og:description: Security startup CodeWall demonstrated how their autonomous AI agent compromised McKinsey's internal AI chatbot Lilli in under two hours, gaining full...
og:url: https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56
og:image: https://api.daily.dev/og/posts/zRx6gMy56.png
og:image:alt: AI agent hacked McKinsey chatbot for read-write access
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.

# AI agent hacked McKinsey chatbot for read-write access

**[The Register](https://daily.dev/sources/theregister)** · 4 min read · 1 upvotes · 1 comments

## Summary

Security startup CodeWall demonstrated how their autonomous AI agent compromised McKinsey's internal AI chatbot Lilli in under two hours, gaining full read-write access to a production database containing 46.5 million chat messages, 728,000 files of confidential client data, 57,000 user accounts, and 95 writable system prompts. The attack exploited publicly exposed, unauthenticated API endpoints vulnerable to SQL injection, where JSON keys were concatenated directly into SQL queries. Because Lilli's system prompts were stored in the same database, an attacker could silently rewrite them to poison the chatbot's responses for all 40,000+ McKinsey employees using it. McKinsey patched the vulnerabilities within hours of disclosure and says no client data was accessed. The incident highlights the growing threat of fully autonomous AI agents conducting machine-speed cyberattacks against other AI systems.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://go.theregister.com/feed/www.theregister.com/2026/03/09/mckinsey_ai_chatbot_hacked/>

## Community discussion

Top comments from developers on daily.dev.

**@thecoverliker** · 0 upvotes

> nice!

## Similar posts on daily.dev

- [How We Hacked McKinsey's AI Platform](https://daily.dev/posts/how-we-hacked-mckinsey-s-ai-platform-0ytld3sed) · Hacker News · 0 upvotes · 0 comments
- [Jack & Jill went up the hill — and an AI tried to hack them](https://daily.dev/posts/jack-jill-went-up-the-hill-and-an-ai-tried-to-hack-them-9pxzatrwe) · CSO Online · 1 upvotes · 0 comments
- [An AI Agent Didn’t Hack McKinsey. Its Exposed APIs Did.](https://daily.dev/posts/an-ai-agent-didn-t-hack-mckinsey-its-exposed-apis-did--qmr76ddrf) · Security Boulevard · 1 upvotes · 0 comments
- [When AI Agents Stop Asking for Permission](https://daily.dev/posts/when-ai-agents-stop-asking-for-permission-mmplupqog) · Medium · 3 upvotes · 1 comments

---

Tags: [#sql](https://daily.dev/tags/sql), [#ai-security](https://daily.dev/tags/ai-security), [#prompt-injection](https://daily.dev/tags/prompt-injection), [#agentic-ai](https://daily.dev/tags/agentic-ai), [#red-teaming](https://daily.dev/tags/red-teaming)

[View this post on daily.dev](https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56)

```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":"TechArticle","headline":"AI agent hacked McKinsey chatbot for read-write access","url":"https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56"},"datePublished":"2026-03-09T22:24:42.426Z","dateModified":"2026-03-09T22:25:06.363Z","description":"Security startup CodeWall demonstrated how their autonomous AI agent compromised McKinsey's internal AI chatbot Lilli in under two hours, gaining full...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9790a5462783f5f0797bfbaeceeff8a9?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9790a5462783f5f0797bfbaeceeff8a9?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"The Register","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Register","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/66aa2113fdad463992ffcbf0e8963fda","url":"https://daily.dev/sources/theregister"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"sql,ai-security,prompt-injection,agentic-ai,red-teaming","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Register","item":"https://daily.dev/sources/theregister"},{"@type":"ListItem","position":3,"name":"AI agent hacked McKinsey chatbot for read-write access"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/ai-agent-hacked-mckinsey-chatbot-for-read-write-access-zrx6gmy56","comment":[{"@type":"Comment","text":"nice!","datePublished":"2026-03-10T17:53:13.006Z","url":"https://daily.dev/posts/zRx6gMy56#c-ICdqSiO6M","author":{"@type":"Person","name":"TheCoverLiker","url":"https://daily.dev/thecoverliker","image":"https://media.daily.dev/image/upload/v1681623072/avatars/avatar_sDzCovimjL.jpg"}}]}
```

