---
title: "Discussion on \"How I Hacked Large Language Models(LLMs) Using Prompt Injection (And It Worked)\" | Hashnode"
description: "Discussion on \"How I Hacked Large Language Models(LLMs) Using Prompt Injection (And It Worked)\". Prompt injection attacks exploit vulnerabilities in models like ChatGPT and Anthropic Gemini, revealing risks and security measures"
url: "https://hashnode.com/posts/how-i-hacked-large-language-modelsllms-using-prompt-injection-and-it-worked/66f9ec90f63fe52f1a983374"
---

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

Discussion

# [How I Hacked Large Language Models(LLMs) Using Prompt Injection (And It Worked)](https://blog.fotiecodes.com/how-i-hacked-large-language-modelsllms-using-prompt-injection-and-it-worked?utm_source=hashnode&utm_medium=feed)

Prompt injection attacks exploit vulnerabilities in models like ChatGPT and Anthropic Gemini, revealing risks and security measures

Sep 30, 2024 · 6 min read · blog.fotiecodes.com  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#chatgpt](https://hashnode.com/tag/chatgpt)
-   [#chatbot](https://hashnode.com/tag/chatbot)
-   [#gpts](https://hashnode.com/tag/gpts)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#ai](https://hashnode.com/tag/ai)
-   [#ai-tools](https://hashnode.com/tag/ai-tools)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#cybersecurity-1](https://hashnode.com/tag/cybersecurity-1)
-   [#promptengineering](https://hashnode.com/tag/promptengineering)
-   [#promptinjections](https://hashnode.com/tag/promptinjections)

## Written by

[Fotie M. Constant](https://hashnode.com/@fotiecodes)

@fotiecodes · Lisbon, Portugal

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

Software Engineer

Widely known as fotiecodes, an open source enthusiast, software developer, mentor and SaaS founder. I'm passionate about creating software solutions that are scalable and accessible to all, and i am dedicated to building innovative SaaS products that empower businesses to work smarter, not harder.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
