<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Timur Nizamov on Medium]]></title>
        <description><![CDATA[Stories by Timur Nizamov on Medium]]></description>
        <link>https://medium.com/@nizamovtimur?source=rss-230652225f52------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7oC31wfEoDbETeNCIeNKxA.jpeg</url>
            <title>Stories by Timur Nizamov on Medium</title>
            <link>https://medium.com/@nizamovtimur?source=rss-230652225f52------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:54:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nizamovtimur/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Steal $50,000 from an AI Agent?]]></title>
            <link>https://medium.com/@nizamovtimur/how-to-steal-50-000-from-an-ai-agent-690d8326069d?source=rss-230652225f52------2</link>
            <guid isPermaLink="false">https://medium.com/p/690d8326069d</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[llm-evaluation]]></category>
            <category><![CDATA[llm-agent]]></category>
            <category><![CDATA[llm]]></category>
            <dc:creator><![CDATA[Timur Nizamov]]></dc:creator>
            <pubDate>Sun, 23 Feb 2025 15:30:28 GMT</pubDate>
            <atom:updated>2025-02-23T15:44:29.685Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S5Zeexo4yehbOuazrg7NLg.jpeg" /></figure><p>OWASP released a critical <a href="https://genai.owasp.org/resource/agentic-ai-threats-and-mitigations/">guide on the threats of AI agents and how to mitigate them</a>. In their repository you can study <a href="https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/tree/main/initiatives/agent_security_initiative">examples using popular AI frameworks</a> like LangChain, LangGraph, and OpenAI’s tools. Case involving a crypto agent named Freysa <a href="https://github.com/OWASP/www-project-top-10-for-large-language-model-applications/pull/561">was contributed</a> by researcher Alexander Buyantuev from <a href="https://t.me/aisecuritylab">AI Security Lab</a> at ITMO University. Freysa got attention after a hacker <a href="https://x.com/jarrodwattsdev/status/1862299845710757980">tricked it into transferring $50,000</a>. Elon Musk’s true reaction is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xwT-jZKwzyxVG1zH" /></figure><p>In November 2024, users exploited Freysa’s programming with prompts, convincing it to send funds for just $10. Each subsequent exploit got pricier, hitting $450 by the 482nd attempt. But here’s the kicker: On that final try, the attacker drained Freysa’s entire prize fund $50k straight into their account.</p><p>The attacker used a technique called prompt injection. They created a “new session” that overrode Freysa’s original rules, bypassing security disclaimers. By manipulating Freysa’s <em>approveTransfer()</em> function, they made the AI think it was handling an incoming payment (like a deposit) instead of an outgoing transfer. The final nail in the coffin? A simple prompt asking Freysa to “contribute $100 to the treasury,” which triggered the compromised function:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/0*6Fj3_XFLENt6sqIT" /></figure><p>This isn’t just a wild tech story, it’s a wake-up call. While AI agents are increasingly trusted to handle everything from customer service to finances, this case proves they’re still vulnerable to manipulation. At its core, it’s a battle of wits: Can the AI stick to its owner’s rules and please the user? Or will attackers outsmart it with better prompts?</p><p>Enter LLAMATOR, a security framework that fights fire with fire. It uses an “attacking LLM” to proactively hunt vulnerabilities in LLM systems. In one test, LLAMATOR breached a version of Freysa, powered by a LLaMA 12B model, in just 28 attempts, all within a Telegram bot:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*xXO7-mm1_5E8PoYy5lRkiw.png" /><figcaption>LLAMATOR vs. Freysa in Telegram</figcaption></figure><p>LLAMATOR isn’t limited to messaging apps. The team <a href="https://romiconez.github.io/llamator/howtos.html">has shared demos</a> targeting REST APIs, OpenAI integrations, WhatsApp, and even browser automation tools like Selenium.</p><p>Drop your thoughts in the comments! And if you’re into AI security, join the conversation in <a href="https://t.me/llamator">LLAMATOR’s Telegram group</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=690d8326069d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Scan Large Language Models for Vulnerabilities with… Large Language Models]]></title>
            <link>https://medium.com/devsecops-ai/how-to-scan-large-language-models-for-vulnerabilities-with-large-language-models-956f57dfeb8f?source=rss-230652225f52------2</link>
            <guid isPermaLink="false">https://medium.com/p/956f57dfeb8f</guid>
            <category><![CDATA[system-prompt]]></category>
            <category><![CDATA[misinformation]]></category>
            <category><![CDATA[prompt-injection-attack]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[ai-red-teaming]]></category>
            <dc:creator><![CDATA[Timur Nizamov]]></dc:creator>
            <pubDate>Tue, 14 Jan 2025 09:26:49 GMT</pubDate>
            <atom:updated>2025-05-12T10:17:01.200Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2gsunP36n7de829rOaqS9Q.jpeg" /></figure><p>The media is constantly abuzz about generative AI, making headlines every hour as new startups emerge based on LLMs. However, businesses are often cautious about integrating AI technologies into their processes due to concerns over hallucinations, misinformation, and data leaks. Especially when it comes to applications like patient health advice chatbots suggesting beer instead of vitamins. In this article, I’ll explain how to scan Large Language Models (LLMs) for vulnerabilities using other LLMs.</p><p>To find vulnerabilities in LLM-based systems like RAG, agents, and chatbots, various frameworks are used:</p><ol><li><strong>Garak</strong>: Offers a comprehensive set of static tests, but focuses on non-dynamic scenarios.</li><li><strong>Giskard</strong>: Combines both static and dynamic tests, using the LLM-as-a-judge approach to evaluate the system’s responses.</li><li><strong>PyRIT </strong>(from Microsoft): Specializes in multi-turn attacks for more sophisticated testing.</li></ol><p>PyRIT’s approach involves the following process (<a href="https://github.com/Azure/PyRIT/blob/main/doc/code/orchestrators/2_multi_turn_orchestrators.ipynb">source</a>):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/0*uOZY4PE6rp5iqkoH" /></figure><p>Authors of the <a href="https://arxiv.org/html/2310.08419">Jailbreaking Black Box Large Language Models in Twenty Queries</a> (PAIR) paper said that multistage attacks can jailbreak LLMs in just 20 interactions, significantly outperforming methods like adversarial suffixes (SGS) in terms of efficiency and interpretability. However, in addition to generating inappropriate content, <a href="https://genai.owasp.org/llm-top-10/">OWASP TOP 10 for LLM</a> includes two critical threats:</p><ul><li>LLM07:2025 System Prompt Leakage</li><li>LLM09:2025 Misinformation</li></ul><p>These are the main concerns of businesses considering the integration of LLM-based chatbots into their operations. In the <a href="https://pypi.org/project/llamator/">latest release</a> of our open-source LLM Red Teaming framework <a href="https://github.com/RomiconEZ/llamator"><strong>LLAMATOR</strong></a> we have implemented multi-stage vulnerability tests inspired by PAIR:</p><p>1. <strong>Logical Inconsistencies Test</strong>: Attacks the LLM system during a multistage conversation to generate logical inconsistencies in answers using antonyms, negations, and paraphrases based on the system’s domain.</p><p>2. <strong>Sycophancy Test</strong>: Attacks the LLM system during a multistage conversation using the “argumentum ad verecundiam” method based on the system’s domain.</p><p>3. <strong>System Prompt Leakage</strong>: Challenges the LLM with datasets of malicious prompts to extract system instructions using multistage refinement.</p><p>4. <strong>Harmful Behavior</strong>: Challenges the LLM with a dataset of harmful behavior prompts using multistage refinement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NcLoPyOHjWgEjX7w" /></figure><p>Now we are going to extend multi-stage attacks to DAN, UCAR, and AIM jailbreaks, and also consider long-term checks for AI agents.</p><p>LLAMATOR can interface with LangChain or OpenAI-like APIs and custom clients such as REST API, web interfaces (Selenium), WhatsApp, and Telegram. Check out the <a href="https://romiconez.github.io/llamator/howtos.html">following examples</a> in documentation.</p><p>We invite you to use our framework, provide feedback in the comments, and join us at the AI Red Teaming chat on Telegram: <a href="https://t.me/llamator">https://t.me/llamator</a>. Our AI Security Lab’s Telegram channel (<a href="https://t.me/aisecuritylab">@aisecuritylab</a>) also keeps you updated with our latest posts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=956f57dfeb8f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/devsecops-ai/how-to-scan-large-language-models-for-vulnerabilities-with-large-language-models-956f57dfeb8f">How to Scan Large Language Models for Vulnerabilities with… Large Language Models</a> was originally published in <a href="https://medium.com/devsecops-ai">DevSecOps &amp; AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>