<?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 Ali Dak on Medium]]></title>
        <description><![CDATA[Stories by Ali Dak on Medium]]></description>
        <link>https://medium.com/@alidak?source=rss-45dd63f48857------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*S2q51yOBy_kCI2zSrzVYSg.jpeg</url>
            <title>Stories by Ali Dak on Medium</title>
            <link>https://medium.com/@alidak?source=rss-45dd63f48857------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 01:57:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alidak/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[Your Company Shipped an AI Feature. Who Tested It?]]></title>
            <link>https://medium.com/@alidak/your-company-shipped-an-ai-feature-who-tested-it-168f6a244c4c?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/168f6a244c4c</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[prompt-injection-attack]]></category>
            <category><![CDATA[ciso]]></category>
            <category><![CDATA[ai-security]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 15:01:07 GMT</pubDate>
            <atom:updated>2026-11-23T15:01:07.168Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mrmcy3B69rNTg4KJPU1xjQ.png" /></figure><p>I am a penetration tester and the founder of DAKCYBER, a pentest firm in Istanbul. A year ago, AI came up in security conversations mostly as a tool attackers or defenders might use. Now it comes up as something companies have already deployed: a support chatbot, a search assistant over internal documents, Copilot in every mailbox, an agent that can open tickets and query the CRM.</p><p>Most of these systems went live through the product or IT team. Very few went through the same review a new web application or a new vendor would get. This article is about that gap.</p><h3>The AI surface you already have</h3><p>AI inside a company usually falls into five groups.</p><ol><li><strong>Customer-facing chatbots.</strong> They answer questions, and in some cases they make promises on the company’s behalf.</li><li><strong>Retrieval assistants (RAG).</strong> A model answers questions from internal documents, wikis and tickets, so it can only be as careful as the permissions on those documents.</li><li><strong>Agents with tools.</strong> The model can call APIs, run queries, send email, change records. This is where a wrong answer turns into a wrong action.</li><li><strong>Built-in assistants.</strong> Microsoft 365 Copilot, Slack AI, Gemini in Workspace. They read the same mail and files your staff can read.</li><li><strong>Shadow AI.</strong> Staff pasting code, contracts and customer data into public tools nobody approved.</li></ol><p>The connective tissue between groups 3 and 4 is increasingly MCP, the Model Context Protocol, which lets an assistant plug into tools and data sources. Every MCP server is a new integration with its own permissions, and often it was installed by a developer on their own laptop.</p><h3>Why existing controls miss it</h3><p>A firewall, an EDR agent and a web application scan do not see the problem in an AI feature, because the problem is usually in the text.</p><p>The core weakness is prompt injection. A model receives instructions and data in the same channel, and it cannot reliably tell them apart. If an attacker can get text in front of the model, through an email, a document, a web page, a support ticket or a GitHub issue, that text can steer what the model does next. OWASP puts it at the top of its <a href="https://genai.owasp.org/llm-top-10/">Top 10 for LLM Applications</a>, followed by sensitive information disclosure, supply chain, data and model poisoning, improper output handling and excessive agency.</p><p>Excessive agency is the one I would underline for any company building agents. A chatbot that says something wrong is an embarrassment. An agent with write access to the CRM that does something wrong is an incident. OWASP published a separate <a href="https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/">Top 10 for Agentic Applications</a> in December 2025, with goal hijacking, tool misuse and identity and privilege abuse as its first three entries.</p><h3>What has already gone wrong</h3><p>None of these needed an exotic attack. They are the kind of issues a test of the feature would look for.</p><p><strong>EchoLeak, Microsoft 365 Copilot (2025).</strong> Researchers at Aim Security showed that a crafted email could make Copilot pull data from the user’s context and send it out, without the user clicking anything. Microsoft fixed it server-side and published it as <a href="https://thehackernews.com/2025/06/zero-click-ai-vulnerability-exposes.html">CVE-2025–32711</a> in June 2025, rated 9.3. There was no evidence of exploitation in the wild.</p><p><strong>Slack AI (August 2024).</strong> PromptArmor <a href="https://promptarmor.substack.com/p/data-exfiltration-from-slack-ai-via">showed</a> that a message planted in a public channel could make Slack AI leak data from private channels the attacker could not read, through a link the victim was invited to click. Slack first described the behaviour as intended, and <a href="https://www.theregister.com/2024/08/21/slack_ai_prompt_injection/">later patched it</a>.</p><p><strong>GitHub MCP (May 2025).</strong> Invariant Labs <a href="https://invariantlabs.ai/blog/mcp-github-vulnerability">demonstrated</a> that a malicious issue in a public repository could hijack a coding agent connected through the GitHub MCP server, and make it copy data from the user’s private repositories into a public pull request. The server code had no bug. The agent had access to both public and private repositories and trusted what it read.</p><p><strong>mcp-remote (July 2025).</strong> JFrog found an OS command injection in mcp-remote, a widely used tool for connecting to remote MCP servers. Connecting to an untrusted server could run commands on the developer’s machine. It is tracked as <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-6514">CVE-2025–6514</a>.</p><p><strong>Air Canada (February 2024).</strong> The airline’s chatbot told a customer he could claim a bereavement fare refund after travel. He could not. A Canadian tribunal <a href="https://www.cbc.ca/news/canada/british-columbia/air-canada-chatbot-lawsuit-1.7116416">held the airline liable</a> and rejected the argument that the chatbot was responsible for its own words. The amount was small. The principle is that a company owns what its bot says.</p><p><strong>Samsung (2023).</strong> Engineers pasted internal source code into ChatGPT, and the company <a href="https://www.bloomberg.com/news/articles/2023-05-02/samsung-bans-chatgpt-and-other-generative-ai-use-by-staff-after-leak">banned generative AI tools</a> for staff. This is the shadow AI problem in its simplest form.</p><p>The pattern continues into 2026. OWASP’s <a href="https://genai.owasp.org/2026/04/14/owasp-genai-exploit-round-up-report-q1-2026/">GenAI exploit round-up for Q1 2026</a> lists eight incidents in the first three months of the year, including an actively exploited remote code execution in Flowise, a popular platform for building LLM apps, and a supply chain compromise in LiteLLM, a common gateway in front of model APIs.</p><h3>What the numbers say</h3><p>IBM’s <a href="https://newsroom.ibm.com/2025-07-30-ibm-report-13-of-organizations-reported-breaches-of-ai-models-or-applications,-97-of-which-reported-lacking-proper-ai-access-controls">Cost of a Data Breach 2025</a> report is the clearest data I have found. 13% of organizations reported a breach involving their AI models or applications. Of those, 97% said they lacked proper access controls on AI. The most common entry point was the AI supply chain: compromised apps, APIs and plug-ins.</p><p>Shadow AI showed up in about one in five breaches, and organizations with high levels of it paid about <a href="https://www.ibm.com/think/insights/data-matters/cost-of-a-data-breach">$670,000 more</a> per breach.</p><p>Gartner <a href="https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027">predicts</a> that over 40% of agentic AI projects will be cancelled by the end of 2027, and lists inadequate risk controls among the reasons.</p><h3>What a security test of an AI feature covers</h3><p>An AI test is still an application test. The model sits inside a web app, behind an API, with a database and an identity provider around it, and most findings are still in those classic parts. The AI-specific work adds a few questions on top.</p><ul><li><strong>Can untrusted text reach the model?</strong> Map every source the model reads: user input, retrieved documents, emails, web pages, tool output. Each one is an injection path.</li><li><strong>What can the model do once it is steered?</strong> List every tool and permission. Test whether injected instructions can trigger them, and whether a human confirms anything that changes data or sends something outside.</li><li><strong>Can it leak?</strong> Try to extract the system prompt, other users’ data, data from documents the current user should not see, and secrets in the context. Test exfiltration channels such as links, images and markdown rendering.</li><li><strong>Does retrieval respect permissions?</strong> A RAG assistant that indexes a SharePoint site with broken permissions will answer questions from documents the user could never open directly.</li><li><strong>Is the output trusted downstream?</strong> If model output is rendered as HTML, passed into a query, or executed, the old injection classes come back.</li><li><strong>What is in the supply chain?</strong> Model gateways, plug-ins, MCP servers and their versions, checked against known CVEs.</li><li><strong>Can someone run up the bill?</strong> Unbounded consumption is on the OWASP list for a reason. A public endpoint with no limits is a cost problem as much as a security one.</li></ul><p>For structure, the <a href="https://owasp.org/www-project-ai-testing-guide/">OWASP AI Testing Guide</a> (v1, November 2025) covers application, model, data and infrastructure layers. <a href="https://atlas.mitre.org/">MITRE ATLAS</a> does for AI what ATT&amp;CK does for enterprise networks, and is useful for mapping findings to known adversary techniques. NIST’s <a href="https://csrc.nist.gov/pubs/ai/100/2/e2025/final">AI 100–2 E2025</a> gives the attack taxonomy if you need a shared vocabulary with auditors.</p><h3>The regulation is arriving</h3><p><strong>EU AI Act.</strong> It entered into force in August 2024, with obligations phasing in. Prohibited practices and AI literacy apply from February 2025, and general-purpose model obligations from August 2025. Most remaining rules apply from 2 August 2026. Under the Digital Omnibus agreed in 2026, the high-risk obligations moved later: December 2027 for the systems listed in Annex III and August 2028 for AI inside regulated products, according to the <a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act">Commission’s AI Act Service Desk</a>. Article 15 requires high-risk systems to be resilient against attempts to exploit their weaknesses, and names data poisoning, model poisoning, adversarial examples and confidentiality attacks.</p><p><strong>Standards.</strong> ISO/IEC 42001 is a certifiable management system standard for AI, the AI counterpart to what ISO 27001 does for information security. NIST’s <a href="https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence">AI RMF Generative AI Profile</a> (AI 600–1, July 2024) is voluntary and maps generative AI risks to controls.</p><p><strong>Turkey.</strong> There is no AI law yet; bills are pending in parliament. KVKK published a <a href="https://www.kvkk.gov.tr/Icerik/8547/uretken-yapay-zeka-ve-kisisel-verilerin-korunmasi-rehberi-15-soruda">15-question guide on generative AI and personal data</a> in November 2025, covering legal basis, cross-border transfer, transparency and security. For a Turkish company sending customer data to a model hosted abroad, the cross-border transfer question alone is worth a meeting with counsel.</p><h3>What I would do this quarter</h3><ol><li><strong>Make an inventory.</strong> Every AI feature, assistant, agent and MCP server, who owns it, what data it reads and what it can do.</li><li><strong>Write a short AI use policy</strong> and give staff an approved tool. Shadow AI shrinks when there is an approved alternative.</li><li><strong>Cut agent permissions.</strong> Read-only by default. Human confirmation for anything that writes, sends or pays. Separate credentials per agent, scoped to the task.</li><li><strong>Treat every AI input as untrusted.</strong> Documents, emails and web pages the model reads are attacker-controlled until proven otherwise.</li><li><strong>Log prompts, tool calls and outputs</strong> with the same retention as other security logs, so an incident can be reconstructed.</li><li><strong>Test the AI features you have already shipped</strong>, with prompt injection and agent abuse in scope, before you ship the next one.</li></ol><p>AI features belong in the same security program as everything else: inventory, ownership, least privilege, logging and testing. What changes is that the attack surface now includes every piece of text the model reads.</p><p>More of my notes are at <a href="https://yuznumara.com/">yuznumara.com</a>.</p><h3>Sources</h3><ul><li>OWASP, <a href="https://genai.owasp.org/llm-top-10/">Top 10 for LLM Applications 2025</a></li><li>OWASP, <a href="https://genai.owasp.org/2025/12/09/owasp-top-10-for-agentic-applications-the-benchmark-for-agentic-security-in-the-age-of-autonomous-ai/">Top 10 for Agentic Applications</a>, 9 December 2025</li><li>OWASP, <a href="https://genai.owasp.org/2026/04/14/owasp-genai-exploit-round-up-report-q1-2026/">GenAI Exploit Round-up Report Q1 2026</a>, 14 April 2026</li><li>The Hacker News, <a href="https://thehackernews.com/2025/06/zero-click-ai-vulnerability-exposes.html">Zero-click AI vulnerability exposes Microsoft 365 Copilot data</a>, June 2025</li><li>PromptArmor, <a href="https://promptarmor.substack.com/p/data-exfiltration-from-slack-ai-via">Data exfiltration from Slack AI via indirect prompt injection</a>, August 2024</li><li>Invariant Labs, <a href="https://invariantlabs.ai/blog/mcp-github-vulnerability">GitHub MCP exploited</a>, May 2025</li><li>JFrog, <a href="https://jfrog.com/blog/2025-6514-critical-mcp-remote-rce-vulnerability/">CVE-2025–6514 in mcp-remote</a>, July 2025</li><li>CBC, <a href="https://www.cbc.ca/news/canada/british-columbia/air-canada-chatbot-lawsuit-1.7116416">Air Canada found liable for chatbot’s bad advice</a>, February 2024</li><li>IBM, <a href="https://newsroom.ibm.com/2025-07-30-ibm-report-13-of-organizations-reported-breaches-of-ai-models-or-applications,-97-of-which-reported-lacking-proper-ai-access-controls">Cost of a Data Breach 2025 press release</a>, 30 July 2025</li><li>Gartner, <a href="https://www.gartner.com/en/newsroom/press-releases/2025-06-25-gartner-predicts-over-40-percent-of-agentic-ai-projects-will-be-canceled-by-end-of-2027">Over 40% of agentic AI projects will be canceled by end of 2027</a>, 25 June 2025</li><li>European Commission, <a href="https://ai-act-service-desk.ec.europa.eu/en/ai-act/timeline/timeline-implementation-eu-ai-act">AI Act implementation timeline</a></li><li>NIST, <a href="https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence">AI 600–1 Generative AI Profile</a>, July 2024; <a href="https://csrc.nist.gov/pubs/ai/100/2/e2025/final">AI 100–2 E2025</a>, March 2025</li><li>KVKK, <a href="https://www.kvkk.gov.tr/Icerik/8547/uretken-yapay-zeka-ve-kisisel-verilerin-korunmasi-rehberi-15-soruda">Üretken Yapay Zekâ ve Kişisel Verilerin Korunması Rehberi (15 Soruda)</a>, November 2025</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=168f6a244c4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Best Spotlight Alternatives for Mac in 2026 (And the Search None of Them Could Do)]]></title>
            <link>https://medium.com/@alidak/the-best-spotlight-alternatives-for-mac-in-2026-and-the-search-none-of-them-could-do-caa19a20b8fc?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/caa19a20b8fc</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[apps]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 08:45:23 GMT</pubDate>
            <atom:updated>2026-11-23T08:45:23.874Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSq33_1kw9t1hmjM6fn7ig.png" /></figure><p>Spotlight is fine for opening apps and finding a document by name. It gets frustrating the moment you ask for more: several conditions at once, a folder it refuses to index, or the words inside a screenshot.</p><p>Before you install anything, know one thing. Most &quot;Spotlight alternatives&quot; are not new search engines. They ask macOS for results from the same Spotlight index and show them better. That makes them fast and light, but if Spotlight can&#39;t see a file, neither can they. Only a few tools scan the disk themselves or keep their own index.</p><p>I made the last app on this list, so weigh that section accordingly.</p><h3>1. Raycast</h3><p>Raycast is a keyboard launcher first and a file searcher second. It opens apps, manages your clipboard, expands snippets, runs scripts and connects to a long list of services through extensions. There is a free tier; AI and sync features sit in the paid plans.</p><p>Its file search is a clean front end to Spotlight results.</p><p><strong>Pick it if</strong> you want to drive your whole Mac from the keyboard. <strong>Skip it if</strong> better file search is the only reason. Underneath, it is still Spotlight.</p><h3>2. Alfred</h3><p>Alfred has been the power user&#39;s launcher on the Mac for over a decade. Basic launching is free. The paid Powerpack adds workflows, clipboard history, snippets and much richer file actions, and it is a license, not a subscription.</p><p>File navigation in Alfred is excellent once you learn it: you can browse folders, act on files and chain actions without touching the mouse.</p><p><strong>Pick it if</strong> you like building your own automations and want to pay once. <strong>Skip it if</strong> you won&#39;t invest an afternoon in learning it. Most of its power is in the workflows.</p><h3>3. HoudahSpot</h3><p>HoudahSpot is built for the &quot;find it with seven conditions&quot; case. You build a query from rules (name, content, kind, dates, size, tags, author, image size), combine them with AND/OR, limit locations precisely and save the search as a template.</p><p>&quot;PDFs over 2 MB from March that mention <em>invoice</em> but not <em>draft</em>&quot; takes a minute here. In Spotlight&#39;s window it is close to impossible.</p><p><strong>Pick it if</strong> you search for files many times a day and know their attributes. <strong>Skip it if</strong> Spotlight indexing is broken on your Mac. HoudahSpot reads the same index.</p><h3>4. EasyFind</h3><p>EasyFind, from DEVONtechnologies, does not use the Spotlight index at all. It scans the disk when you search, so it finds files in folders Spotlight skips, including hidden ones. It is free.</p><p>Scanning is slower than an index, but when Spotlight says &quot;no results&quot; and you know the file exists, this is the tool to open.</p><p><strong>Pick it if</strong> Spotlight can&#39;t see a folder, an external drive or system files. <strong>Skip it if</strong> you want instant results as you type.</p><h3>5. Find Any File</h3><p>Find Any File, by Thomas Tempelmann, reads the file system directly and is excellent at exact searches: name patterns, sizes, dates, hidden files, and files inside system folders and bundles. It is low-cost shareware and has been maintained for many years.</p><p><strong>Pick it if</strong> you need precise searches by name and attribute anywhere on the disk. <strong>Skip it if</strong> you are searching by what is inside a file. That is not what it is for.</p><h3>6. Terminal: mdfind</h3><p>Free, built in and underrated. mdfind queries the Spotlight index from Terminal:</p><pre>mdfind -onlyin ~/Documents &#39;kMDItemContentType == &quot;com.adobe.pdf&quot; &amp;&amp; kMDItemFSName == &quot;*invoice*&quot;c&#39;</pre><p>The c makes the match case-insensitive. Save the queries you repeat as shell aliases and you have a small, free HoudahSpot.</p><h3>The search none of them could do</h3><p>Every tool above answers questions about <strong>file names and attributes</strong>. That is the part I never remember.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=caa19a20b8fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VmDak and Jordak: What I Wanted You to Learn From My TJnull Machines]]></title>
            <link>https://medium.com/@alidak/vmdak-and-jordak-what-i-wanted-you-to-learn-from-my-tjnull-machines-9a2923c55ff5?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a2923c55ff5</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[oscp]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 15:26:01 GMT</pubDate>
            <atom:updated>2026-11-22T15:26:01.500Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZPYl5payrOEf1zWq4QSj1g.png" /></figure><p>I have built 53 machines for OffSec Proving Grounds. Two of them, VmDak and Jordak, ended up on TJnull’s OSCP preparation list, which means a lot of people meet them a few weeks before their exam.</p><p>I built both in August 2024 on Ubuntu Server 24.04. This is what I had in mind when I designed them. It will not solve either machine for you. It should tell you what each one is testing, and which question to ask yourself when you stop making progress.</p><p>There are no credentials, file paths or commands in this article. If you want a full walkthrough, Proving Grounds has an official one.</p><h3>Jordak: the short one</h3><p>Jordak is a small machine with two vulnerabilities, one for the foothold and one for root. On paper it is easy. The difficulty is in two habits that the OSCP exam keeps checking.</p><h4>Lesson 1: the default page is not the end of enumeration</h4><p>The web server greets you with a page that tells you nothing. A lot of people stop there, or run a directory scan, see a wall of results that all look the same, and stop again.</p><p>The application is there. Your scanner is telling you about it, in the status codes and in where those responses send you. Read the responses instead of the counts. When every path returns the same code, the interesting part is what that code is and where it points.</p><p><strong>If you are stuck, ask:</strong> what is the server actually doing when I request a path that does not exist? Follow one of those requests in a browser or with curl and look at where you land.</p><h4>Lesson 2: a version number is a search query</h4><p>Once you find the application, the work is mostly research. Identify the product, find the version, look it up. A known CVE with a public proof of concept exists for it.</p><p>I chose a public CVE on purpose. On the exam, and on real tests, you will spend more time finding and adapting someone else’s exploit than writing your own. That skill has steps: find the version reliably, confirm the CVE applies to it, read the PoC before running it, and understand what it changes on the target.</p><p>The PoC for Jordak is worth reading line by line. It chains more than one weakness to reach code execution. If you can explain each step to someone else, you have learned the machine’s main lesson. If you just ran it and got a shell, go back and read it.</p><p><strong>If you are stuck, ask:</strong> do I know the exact version, and have I checked the exploit’s requirements against what this target actually has?</p><h4>Lesson 3: check what you are allowed to do before you look for anything clever</h4><p>Privilege escalation on Jordak is a single misconfiguration, and it is one of the first things any Linux privilege escalation checklist tells you to look at. I put it there because people under exam pressure skip the basics and go straight to kernel exploits and long enumeration scripts.</p><p><strong>If you are stuck, ask:</strong> what can this user run, and as whom? Then look the binary up on GTFOBins.</p><h3>VmDak: the chain</h3><p>VmDak is longer and was designed as a chain. Each step hands you something you need for the next one, and none of the steps is hard alone. The difficulty is keeping track of what you have collected and noticing when something you found earlier becomes useful.</p><h4>Lesson 1: the login form is the first test</h4><p>The web application has an admin area behind a login. Before you look for default credentials or start brute forcing, test how the form handles input. A classic web bug sits right there, and finding it with a few manual requests is faster than any tool.</p><p>Once you are in, look at what an admin can do in the application. One of those features does more than it should, and it gets you onto the box.</p><p><strong>If you are stuck, ask:</strong> have I tested every input on this page by hand? And once inside, which admin feature lets me put something on the server?</p><h4>Lesson 2: credentials move</h4><p>This is the part of VmDak I care about most. The account you land as is not the one you want. To move forward, you have to follow credentials from one place to the next: from the application’s configuration to the database, from the database to the system.</p><p>Web applications have to connect to something, and the connection details live in a file the web user can read. Databases hold data people typed in, and people type passwords into places they should not. And people reuse passwords across services.</p><p>OSCP rewards this kind of patient looting more than any single exploit, and on real internal tests it is how access usually spreads from one system to another.</p><p><strong>If you are stuck, ask:</strong> what configuration files does this application read? What is in the database beyond the user table? Have I tried every password I found against every service and every user?</p><h4>Lesson 3: not every service listens on the outside</h4><p>After the credentials step, your external port scan is out of date. There is a service on VmDak that only listens on the machine itself, and you will not see it from your Kali box.</p><p><strong>If you are stuck, ask:</strong> what is listening on this host that I could not see before? Then learn port forwarding properly, with SSH or a tool like Chisel or Ligolo-ng, because the exam’s Active Directory set will need it again.</p><h4>Lesson 4: the internal service has a public CVE too</h4><p>The last step is another known vulnerability, this time in the internal service. The same research habit from Jordak applies: find the version, find the CVE, read what it actually gives you. What it gives you directly is not root. You have to think about what you can read with it, and what that unlocks.</p><p><strong>If you are stuck, ask:</strong> this vulnerability gives me a primitive. Which file on this system, if I could read it, would give me more access?</p><h3>What both machines have in common</h3><p>Neither machine needs a zero-day, a custom exploit or a rare tool. Everything on them is public, documented and reachable with standard Kali tooling. That was the point.</p><p>A lot of OSCP attempts go wrong in enumeration. Someone missed a port, skipped a basic check, ran an exploit without understanding it, or forgot a password they found two hours earlier. Jordak tests whether you do the basics in order. VmDak tests whether you can keep a chain of small findings straight in your notes.</p><p>So whatever you solve, keep notes as you go. Write down every version, every credential, every service, and where you found it. On VmDak, being able to scroll up and find the password you saw an hour ago is most of the work.</p><p>My lab machines will also be on <a href="https://labs.dakcyber.com/">DAKCYBER Labs</a>, coming soon.</p><p>If you have solved one of them and want to tell me where you got stuck, I am on X as <a href="https://x.com/0xdak_">@0xdak_</a>. More of my work is at <a href="https://yuznumara.com/">yuznumara.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a2923c55ff5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The First 24 Hours After You Find Out You’ve Been Breached]]></title>
            <link>https://medium.com/@alidak/the-first-24-hours-after-you-find-out-youve-been-breached-700c2f924e96?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/700c2f924e96</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[ransomware]]></category>
            <category><![CDATA[data-breach]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 09:01:02 GMT</pubDate>
            <atom:updated>2026-11-21T09:01:02.152Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*auc3yzY5MohUn0oJCLkHUg.png" /></figure><p>I am a penetration tester. My job is to break into systems before someone else does, which means I spend a lot of time thinking about what an attacker leaves behind and what a defender destroys by accident.</p><p>Most damage in the first day of an incident is self-inflicted. A server gets wiped before anyone copies it. A password reset tells the attacker they have been seen. Someone emails the whole company about the breach from the mailbox the attacker is reading.</p><p>This is a checklist for the first 24 hours. It assumes you are not a security specialist and that you will bring one in. It covers what you can do before they arrive without making their job harder.</p><h3>Hour 0 to 1: stop, write, isolate</h3><p><strong>Start a written log before you touch anything.</strong> Time, what you saw, who told you, what you did. Use paper or a device you trust. Every later decision, from the insurance claim to the regulator notification, depends on this timeline, and memory gets rewritten within hours.</p><p><strong>Isolate, do not power off.</strong> Pull the network cable or disable the switch port, Wi-Fi and VPN for the affected machine. Leave it running. Memory holds running processes, network connections and sometimes encryption keys, and all of that is gone once the machine shuts down. Ransomware is the exception that needs judgment: if files are being encrypted as you watch, cutting the network still comes first, and a forensic responder can tell you on the phone whether to pull the power.</p><p><strong>Do not wipe, reimage or restore yet.</strong> Restoring from backup feels like progress. It also destroys the evidence that tells you how the attacker got in, and if you do not know that, they can come back the same way next week.</p><p><strong>Move the conversation off the compromised systems.</strong> If the attacker has a mailbox, a Slack account or a domain admin, they may be reading your response. Use phone calls, personal devices or a separate chat set up for the incident. Keep the group small for now.</p><h3>Hour 1 to 4: get the right people involved</h3><p>You need four kinds of people, and the order matters.</p><ol><li><strong>A decision-maker.</strong> Someone who can approve shutting down a revenue system, spending money on responders and speaking to regulators. Without one, the technical team stalls.</li><li><strong>Your cyber insurer, if you have one.</strong> Read the policy or call the claims line before hiring anyone. Many policies require you to use their panel of incident response firms and lawyers, and paying a firm outside that panel can leave the bill uncovered.</li><li><strong>Legal counsel.</strong> Breach notification rules depend on what data was involved and where your customers live. Some companies route the forensic investigation through their lawyer so that the findings are handled as legal advice. That decision has to be made at the start.</li><li><strong>An incident response team.</strong> Internal if you have one, external if you do not. Give them your log from hour zero.</li></ol><h3>Preserve what you can still preserve</h3><p>Logs expire on their own. Many cloud services keep activity history for a limited window by default, and once that window passes the record is gone. On AWS, for example, CloudTrail’s event history covers 90 days unless you have set up a trail to keep it longer.</p><p>Ask your team, or the responders when they arrive, to export now:</p><ul><li>Identity provider and email sign-in logs, including failed attempts and new MFA registrations</li><li>Firewall, VPN and remote access logs</li><li>Cloud audit logs for every account the attacker might have reached</li><li>Endpoint security alerts and their history, before anyone clears them</li></ul><p>Take disk and memory images of the affected machines before anything is rebuilt. If nobody on site knows how, wait for someone who does. A machine that is isolated and left running loses very little in a few hours.</p><h3>Contain in one move</h3><p>The instinct is to reset every password the moment you find a compromise. If you do it piecemeal, the attacker sees accounts disappear and uses the access they still have to dig in deeper, add persistence or start encrypting.</p><p>Responders usually plan containment as a single coordinated action: disable the compromised accounts, revoke active sessions and tokens, rotate privileged credentials and service account secrets, block the known attacker infrastructure, all within the same short window. Revoking sessions matters as much as resetting passwords, because a stolen session cookie or OAuth token keeps working after the password changes.</p><p>If the way in looks like a vulnerability in a product you run, such as a VPN appliance, a file transfer server or a web framework, look up its CVE early. Whether it is already being exploited in the wild, and whether a patch or workaround exists, changes how fast you need to contain. I keep a CVE tracker for this at <a href="https://vulntracker.io/?ref=medium">VulnTracker</a>.</p><p>Until that plan is ready, watch more than you change. Some things cannot wait, such as an attacker actively exfiltrating data or encrypting file shares. Those call for immediate action even if it tips them off.</p><h3>The legal clocks</h3><p>Several regulations start their deadlines when you become aware of the breach. The investigation can run for weeks after that. Your counsel decides which rules apply. The common ones:</p><ul><li><strong>GDPR (EU):</strong> notify the supervisory authority within 72 hours of becoming aware of a personal data breach, unless it is unlikely to result in a risk to people. Affected individuals must be told without undue delay when the risk is high.</li><li><strong>KVKK (Turkey):</strong> the Personal Data Protection Board’s decision 2019/10 sets 72 hours for notifying the Board after the breach is learned, and affected people must be informed as soon as reasonably possible.</li><li><strong>NIS2 (EU):</strong> entities in scope must send an early warning to their CSIRT or authority within 24 hours of becoming aware of a significant incident, followed by a fuller notification within 72 hours.</li><li><strong>SEC (US listed companies):</strong> a Form 8-K within four business days after the company determines the incident is material.</li></ul><p>You will not have the full picture at the 72-hour mark. The regulations expect that, and most allow a first notification that is later updated. Missing the deadline because the investigation was not finished is the worse outcome.</p><h3>Say little, and say it accurately</h3><p>Within the first day someone will ask what happened: staff, a customer, sometimes a journalist. Prepare a short holding statement that says you are investigating an incident, what people should do if anything (watch for phishing, reset a password), and when you will update them.</p><p>Do not guess the cause or the scope in public. “No customer data was affected” is a sentence companies often have to retract a week later.</p><h3>Things that make it worse</h3><ul><li><strong>Contacting the attacker yourself.</strong> If there is a ransom note, leave negotiation to specialists and your insurer. Check <a href="https://www.nomoreransom.org/">No More Ransom</a> for a free decryptor for the strain before anything else.</li><li><strong>Paying quickly.</strong> Payment does not guarantee working keys, and in some cases it can breach sanctions rules. It is a decision for the decision-maker, counsel and insurer together.</li><li><strong>Running cleanup tools on affected machines.</strong> Antivirus “fix” actions and cleanup scripts delete the files responders need to see.</li><li><strong>Deleting the attacker’s account the moment you find it.</strong> That account shows what they did. Disable it as part of the coordinated containment, and keep it.</li><li><strong>Assuming the first machine you found is the first one they touched.</strong> It rarely is.</li></ul><h3>What to prepare before it happens</h3><p>Everything above is easier if a few things exist in advance:</p><ul><li>A one-page plan with phone numbers for the decision-maker, counsel, insurer and an incident response firm, printed or stored somewhere outside your company network</li><li>Log retention set longer than the defaults, for identity, email and cloud audit logs</li><li>Backups that are offline or immutable, and a restore you have actually tested</li><li>A list of your internet-facing products and their versions, and a way to hear about new CVEs for them</li><li>A decision, made in calm conditions, about who can approve taking a production system offline</li></ul><p>A tabletop exercise, where the people on that list walk through a scenario for an hour, finds most of the gaps. A penetration test finds the way in before an attacker does, but the first 24 hours depend on preparation that happens well before either.</p><p>I write about offensive security and the defence that follows from it at <a href="https://yuznumara.com/">yuznumara.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=700c2f924e96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Top 5 Finder Replacements for Mac in 2026 (And Why I Ended Up Building a Sixth)]]></title>
            <link>https://medium.com/@alidak/the-top-5-finder-replacements-for-mac-in-2026-and-why-i-ended-up-building-a-sixth-6ab6ffbfa992?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ab6ffbfa992</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 13:20:17 GMT</pubDate>
            <atom:updated>2026-11-20T13:20:17.488Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSq33_1kw9t1hmjM6fn7ig.png" /></figure><p>Finder handles folders, Quick Look and iCloud Drive well enough. People go looking for something else when one job keeps hurting: copying between two folders all day, uploading to a server, or hunting for a file whose name they never knew.</p><p>The apps sold as Finder replacements split into two groups. File managers change how you browse and move files. Search tools change how you find them. I made the last app on this list, so weigh that section accordingly.</p><p>Prices change and several of these apps sell more than one kind of license, so I left them out. Check each developer’s site before you buy.</p><h3>1. ForkLift</h3><p>ForkLift, from BinaryNights, is a dual-pane file manager and a file transfer client. The transfer side is where it earns its place. It connects to SFTP, FTP, WebDAV, SMB, Amazon S3, Google Drive, Dropbox and more, and shows them like local folders. You can sync folders in one direction or both, edit remote files in place and limit bandwidth.</p><p>Developers get Git support, file compare, archive handling and a shortcut to open the current folder in Terminal.</p><p><strong>Pick it if</strong> you move files between your Mac and servers or cloud storage every day.<br><strong>Skip it if</strong> all your files live on one Mac. Most of what you pay for will sit unused.</p><h3>2. Path Finder</h3><p>Path Finder, from Cocoatech, has been around for many years, and you can tell from the number of settings. The window is modular. You add panels for previews, file info and a built-in terminal around a single or dual browser.</p><p>Long-time users talk about the Drop Stack, a holding area where you collect files from several folders and then move them together.</p><p><strong>Pick it if</strong> you want one window that does everything and you enjoy configuring it.<br><strong>Skip it if</strong> you like a quiet interface. The depth that fans love is also the most common complaint.</p><h3>3. Commander One</h3><p>Commander One, from Electronic Team, follows the two-panel layout that Total Commander and Midnight Commander users will recognise. It opens and edits ZIP, RAR, 7Z and TAR archives, connects to S3, Google Drive, Dropbox, OneDrive, Backblaze B2, FTP, SFTP and WebDAV, and can browse iOS, Android and MTP devices over USB.</p><p>Search supports regular expressions and case-sensitive matching. There is a free version with the dual-pane browser; remote connections and archives are in the paid Pro version, and the App Store build has some limits compared with the one on the developer’s site.</p><p><strong>Pick it if</strong> you work from the keyboard, or you regularly open RAR files or plug in an Android phone.<br><strong>Skip it if</strong> you want an app that looks and feels like it was designed for the Mac first.</p><h3>4. Marta</h3><p>Marta is a free dual-pane file manager built for macOS. It is fast, light, and set up for people who want to do everything from the keyboard.</p><p><strong>Pick it if</strong> you want a commander-style manager and you do not want to pay.<br><strong>Skip it if</strong> you need remote connections or a large feature set out of the box.</p><h3>5. HoudahSpot</h3><p>HoudahSpot, from Houdah Software, does not browse files at all. It is a search tool built on Spotlight, the index macOS already keeps. Where Spotlight gives you one field, HoudahSpot lets you combine name, text content, extension, tags, dates, size, image resolution and author with AND/OR logic, then save the search as a template.</p><p>A query like “PDFs over 2 MB created in March that mention invoice and do not mention draft” takes a minute to build here. In Finder it is close to impossible.</p><p><strong>Pick it if</strong> you know which attributes a file has and you like building precise queries.<br><strong>Skip it if</strong> Spotlight indexing is off or broken on your Mac. HoudahSpot cannot see what Spotlight cannot see.</p><h3>The job none of them did</h3><p>All five are good at what they set out to do. My problem was different. I rarely remember what a file is called. I remember the error message in a screenshot, that a PDF arrived on Slack, or that it was something from last week.</p><p>The file managers above help once you know where a file is. HoudahSpot comes closest, but it expects me to know the attributes and turn them into criteria. What I have in my head is a sentence, and a screenshot’s text is not in its file name.</p><p>So I made a sixth app for that.</p><h3>6. Bowerbird</h3><p><a href="https://getbowerbird.app/?ref=medium">Bowerbird</a> is a Mac app that sits next to Finder. You keep browsing in Finder and open Bowerbird when you need to find or clean something.</p><ul><li><strong>Search in a sentence.</strong> Type pdfs from last week over 5 mb or images from slack. Bowerbird turns the sentence into filter chips you can see and edit, so you know how it read you. The phrases are English only for now.</li><li><strong>Text inside screenshots, photos and PDFs.</strong> Apple’s on-device text recognition makes that text searchable.</li><li><strong>Where each download came from.</strong> macOS records the source of every download. Bowerbird reads it and groups files by Gmail, Slack, GitHub, WhatsApp and others.</li><li><strong>Duplicates and look-alike photos.</strong> Exact copies are matched by content. Look-alikes are found visually.</li><li><strong>Clean Up with a reason.</strong> Old installers, old screenshots, big videos and stale downloads are listed with why each one is there. Removing anything only moves it to the Trash.</li><li><strong>Shelves.</strong> Images, videos, documents, installers and more, each on a live shelf with a storage bar.</li></ul><p>Indexing, text recognition and duplicate detection run on the Mac. There is no account and no analytics in the app, and the only network call is license activation. It is a one-time license with no subscription, for macOS 14 Sonoma or later on Apple silicon and Intel.</p><p>It also has clear limits. It is not a dual-pane file manager and it has no remote connections. If you live in SFTP, ForkLift or Commander One will serve you better. It is also the youngest app here.</p><h3>How to choose</h3><p>Most people need one of these sentences:</p><ol><li>“I move files between my Mac and servers all day.” ForkLift, or Commander One if you prefer the commander layout.</li><li>“I want one window that does everything.” Path Finder.</li><li>“I want a fast dual-pane manager for free.” Marta.</li><li>“I know the file’s attributes and want a precise search.” HoudahSpot.</li><li>“I remember what was in the file, not what it was called.” Bowerbird.</li></ol><p>Plenty of people end up with two: a file manager and a search tool. Use the trials on your own files for a normal week before you decide.</p><p>Before you install anything, try three Finder settings. In Finder ▸ Settings ▸ Advanced, turn on <strong>Show all filename extensions</strong> and set searches to <strong>Search the Current Folder</strong>. Then turn on <strong>View ▸ Show Path Bar</strong>. Some of the frustration goes away with those alone.</p><p>A longer comparison with free options is on the <a href="https://getbowerbird.app/blog/finder-alternatives-mac/?ref=medium">Bowerbird blog</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ab6ffbfa992" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What AI Agents Already Take Off a Penetration Test, and What They Leave]]></title>
            <link>https://medium.com/@alidak/what-ai-agents-already-take-off-a-penetration-test-and-what-they-leave-b62bc74724d6?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/b62bc74724d6</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[offensive-security]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 09:27:15 GMT</pubDate>
            <atom:updated>2026-11-19T09:27:15.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wY_ar01je3RRL-1rbbxfIQ.png" /></figure><p>I am a penetration tester (OSCP) and the founder of DAKCYBER, a pentest firm in Istanbul. I have written 53 machines for OffSec Proving Grounds, two of which, VmDak and Jordak, are on TJnull’s OSCP preparation list. I have also published 16 n-day proof-of-concept exploits on <a href="https://github.com/0xdak">github.com/0xdak</a>. I did not discover those CVEs; I wrote working exploits for bugs other people reported.</p><p>Clients now ask whether they still need a human tester at all. My answer is that AI has already taken over a measurable part of the work, and the evidence for that is good. The same evidence also shows which parts it has not taken, and those parts happen to be where the expensive findings and the legal responsibility sit.</p><h3>What the public results show</h3><p>The strongest results come from settings with a clear oracle: a crash, a payload that executes, a test harness that says yes or no.</p><p><strong>Bug bounty.</strong> On 24 June 2025 XBOW <a href="https://xbow.com/blog/top-1-how-xbow-did-it/">announced</a> that its autonomous pentester had reached first place on HackerOne’s US leaderboard after submitting nearly 1,060 vulnerabilities. The classes it lists are RCE, SQL injection, XXE, path traversal, SSRF, XSS, information disclosure, cache poisoning and secret exposure. The same post is candid about the numbers behind the rank: 130 reports resolved, 303 triaged, 208 duplicates, 209 informative, and its security team reviewed every finding before submission to comply with HackerOne’s policy on automated tools. XBOW also used validators, such as a headless browser that confirms an XSS payload fires. That is a sensible design, and it explains the bug mix: these are classes where success can be checked by a program.</p><p><strong>Open source memory bugs.</strong> Google’s Big Sleep, built by DeepMind and Project Zero, found <a href="https://www.techrepublic.com/article/news-google-big-sleep-sqlite-zero-day/">CVE-2025–6965 in SQLite</a>, which Google disclosed on 15 July 2025. In August 2025 Google <a href="https://techcrunch.com/2025/08/04/google-says-its-ai-based-bug-hunter-found-20-security-vulnerabilities/">reported Big Sleep’s first 20 vulnerabilities</a> in projects including FFmpeg and ImageMagick, with a human expert reviewing each before reporting. Anthropic’s Frontier Red Team <a href="https://www.anthropic.com/research/zero-days">wrote on 5 February 2026</a> that Claude Opus 4.6 had found and validated more than 500 high-severity vulnerabilities in open source code. The post says the team chose memory corruption because it is easy to identify and validate. By May 2026 Anthropic <a href="https://www.helpnetsecurity.com/2026/05/26/anthropic-project-glasswing-update">reported</a> that Claude Mythos Preview had flagged 23,019 issues across more than 1,000 projects, 6,202 of them high or critical, and that of the 1,752 assessed so far more than 90% were true positives. Anthropic also called maintainers the bottleneck: finding bugs has become easier than fixing them.</p><p><strong>Find and patch at scale.</strong> DARPA’s AI Cyber Challenge final, <a href="https://www.darpa.mil/news/2025/aixcc-results">announced 8 August 2025</a>, had autonomous systems analyse more than 54 million lines of code. They found 54 of the 63 synthetic vulnerabilities, patched 43, and found 18 real ones along the way. Patches arrived in an average of 45 minutes at about $152 per task. Team Atlanta won.</p><p><strong>N-day exploitation.</strong> A 2024 UIUC paper, <a href="https://arxiv.org/abs/2404.08144">LLM Agents can Autonomously Exploit One-day Vulnerabilities</a>, gave a GPT-4 agent 15 real one-day bugs. With the CVE description it exploited 87%. Without the description it managed 7%. That gap matches how n-day work looks from the PoC side: once you know where the bug is, from an advisory or a patch diff, getting to a working exploit is mostly reading code and iterating, and a model is good at both. Locating the bug in the first place is the harder half.</p><p>Add recon and report drafting, which are text and enumeration problems, and a large share of a standard external or web test is now within reach of a well-built agent.</p><h3>The closest thing to a real engagement</h3><p>Most benchmarks are CTFs or curated targets. The Stanford, CMU and Gray Swan study <a href="https://arxiv.org/abs/2512.09882">Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing</a> (first posted December 2025, revised March 2026) is different. Ten professionals, six existing agents and the authors’ own ARTEMIS scaffold tested a live university network of about 8,000 hosts across 12 subnets.</p><p>ARTEMIS placed second overall with 9 valid vulnerabilities and an 82% valid submission rate, ahead of 9 of the 10 humans. Some variants cost about $18 an hour against roughly $60 for a professional. The authors credit agents with advantages in enumeration, parallel exploitation and cost. That result should be taken seriously by anyone who sells pentests.</p><p>The details are just as useful. According to the <a href="https://arxiv.org/html/2512.09882v1">paper</a>, 80% of the human participants found a remote code execution path on a Windows machine reachable through a TinyPilot web interface. ARTEMIS did not find it in its main runs; it reported a CORS wildcard and cookie flags on the same target, and reached the RCE only when given hints. The paper also describes agents being more prone to false positives, including one that read “200 OK” redirects back to a login page as successful default-credential logins. And the safety setup was heavy: a researcher watched agent trajectories at all times with the ability to kill the session, and the target’s IT team monitored logs and manually approved some flagged actions.</p><p>So the agent was strong where the work is breadth, and weaker where it had to recognise that a particular interface on a particular box was the way in.</p><h3>Where the agent runs out</h3><p><strong>Business logic.</strong> A logic flaw is a gap between what the application does and what the business intended. A refund that can be issued twice, a coupon that stacks with a staff discount, an approval workflow that skips a step when the amount is edited after submission. There is no crash and no payload that fires. The oracle is the business rule, and it usually lives in someone’s head or a contract, not in the code. Every success story above relies on a checkable signal, and Anthropic’s post says outright that it targeted memory corruption because it is easy to validate.</p><p><strong>Multi-role and multi-tenant authorization.</strong> Testing authorization properly means holding a matrix of roles, tenants and objects, and asking for each cell whether the response is allowed. A 200 from another tenant’s invoice endpoint is a critical finding in one product and intended behaviour in another, because that product has a shared-ledger feature. An agent can generate the requests. Deciding which responses are violations needs the same knowledge of intent that logic testing does.</p><p><strong>Chains.</strong> Internal and Active Directory work is mostly about combining findings that are individually low or medium: a readable share with an old deployment script, a service account with a weak password, a delegation setting nobody reviewed, a path from there to a privileged group. Each step is ordinary, and the finding is the path that connects them. Agents enumerate these pieces well; the ARTEMIS result shows that. Deciding which of fifty mediums is worth three hours of follow-up, and when to stop, is judgment built from many engagements. Writing 53 Proving Grounds machines meant designing exactly these chains for other people to find, and the interesting ones are rarely the step a scanner flags first.</p><p><strong>Safety on production.</strong> A real engagement runs against systems that make money. Knowing that a particular endpoint triggers an SMS to real customers, that a fuzzing run will fill a ticket queue, or that a password spray will lock out the finance team at month-end is part of the job. The Stanford team handled this with a human watching every agent session and a kill switch. Clients will need that same layer. I built <a href="https://github.com/0xdak/warden">Warden</a>, a free MIT-licensed macOS guard for AI coding agents, because agents with shell access do things you did not ask for; an agent with network access to a client’s production systems needs at least that much supervision.</p><h3>Somebody has to sign the report</h3><p>Regulated testing needs an accountable party. PCI DSS v4.0 requirements 11.4.2 and 11.4.3 require internal and external penetration tests by a <a href="https://secureideas.com/knowledge/what-is-required-for-a-pci-penetration-test">qualified, organizationally independent</a> resource, internal or external. Auditors working to ISO 27001 or to a banking regulator’s rules ask a similar question in their own terms: who tested this, against what scope, and who stands behind the result if a breach later shows the test missed something. A model can draft that report. It cannot be the qualified party, and it cannot carry the liability. Even XBOW and Big Sleep put a human review step before anything was submitted.</p><h3>What this does to the market</h3><p>The part of the market that sells a scanner run with a cover page will get cheaper and mostly automated. Agents already do that work more thoroughly than the scanners did, and some of them validate their findings. Buyers who need a PDF for a checkbox will pay less for it, and they should.</p><p>The value moves in two directions. One is speed: AI-assisted delivery where recon, known-vulnerability checks and first-draft reporting take hours instead of days, so a client gets results within the week. The other is depth: human time spent on authorization models, business logic and attack paths, which is where the critical findings in a mature environment usually come from and where agents in the studies above were weakest.</p><h3>Where I think the line sits</h3><p>I already use AI when I write n-day PoCs. Given an advisory and a patch diff, a model reads the changed code quickly, proposes a trigger, and iterates on errors, which shortens the path from advisory to working exploit. That matches the UIUC result: the hard half is knowing where the bug is, and an advisory hands you that.</p><p>For a full engagement I think the work should split the same way. Recon, enumeration, checks for known CVEs, n-day reproduction and the first draft of the report are the parts AI shortens. The time saved should go to what the agents above missed: reading the application’s roles and tenancy model, testing the business rules, chaining findings on internal networks, and deciding what is safe to run on a live system. The report still has to go out under a human name, because a client and an auditor need one.</p><p>None of this is fixed. Computer-use agents may close the GUI gap the Stanford authors describe, and the benchmarks will move. For now, AI has taken the parts of a pentest that a program can verify, and left the parts that need someone to understand what the business meant.</p><p>More of my notes are at <a href="https://yuznumara.com/">yuznumara.com</a>, and my lab machines are at <a href="https://labs.dakcyber.com/">labs.dakcyber.com</a>.</p><h3>Sources</h3><ul><li>XBOW, <a href="https://xbow.com/blog/top-1-how-xbow-did-it/">Top 1: how XBOW did it</a>, 24 June 2025</li><li>TechRepublic, <a href="https://www.techrepublic.com/article/news-google-big-sleep-sqlite-zero-day/">Google’s Big Sleep Foils Hackers by Spotting SQLite Flaw Before Exploit</a>, July 2025</li><li>TechCrunch, <a href="https://techcrunch.com/2025/08/04/google-says-its-ai-based-bug-hunter-found-20-security-vulnerabilities/">Google says its AI-based bug hunter found 20 security vulnerabilities</a>, 4 August 2025</li><li>Anthropic Frontier Red Team, <a href="https://www.anthropic.com/research/zero-days">Zero-days</a>, 5 February 2026</li><li>Help Net Security, <a href="https://www.helpnetsecurity.com/2026/05/26/anthropic-project-glasswing-update">Anthropic: Claude Mythos identified 10,000+ software flaws</a>, 26 May 2026</li><li>DARPA, <a href="https://www.darpa.mil/news/2025/aixcc-results">AIxCC results</a>, 8 August 2025</li><li>Fang et al., <a href="https://arxiv.org/abs/2404.08144">LLM Agents can Autonomously Exploit One-day Vulnerabilities</a>, 2024</li><li>Lin et al., <a href="https://arxiv.org/abs/2512.09882">Comparing AI Agents to Cybersecurity Professionals in Real-World Penetration Testing</a>, 2025/2026</li><li>Secure Ideas, <a href="https://secureideas.com/knowledge/what-is-required-for-a-pci-penetration-test">What is required for a PCI penetration test?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b62bc74724d6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Coding Agent Never Has to Type cat .env]]></title>
            <link>https://medium.com/@alidak/your-coding-agent-never-has-to-type-cat-env-7fb2127ce0be?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fb2127ce0be</guid>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 14:29:37 GMT</pubDate>
            <atom:updated>2026-11-18T14:32:09.760Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wyhAPc2OQyl6DM6HjyEHvw.png" /></figure><p>I am a penetration tester (OSCP) and I have written 53 machines for OffSec Proving Grounds. A lot of that work comes down to finding the second path to something once the obvious one is closed. Coding agents bring the same question onto a developer’s laptop. When Claude Code runs with its permission prompts switched off, or in auto mode where a classifier decides what needs a prompt, what actually stands between the agent and ~/.ssh?</p><p>This post covers the shapes of indirect access a defender should expect, the hook layer that can check them, and the places where that layer is blind. I built a tool in this space, Warden. It gets one section near the end; the rest applies whatever you run.</p><h3>Prompts are a convenience control</h3><p>Anthropic described how auto mode works in <a href="https://www.anthropic.com/engineering/claude-code-auto-mode">How we built Claude Code auto mode: a safer way to skip permissions</a> (March 2026). The post reports a 17% false-negative rate on a set of 52 real overeager actions, and says auto mode is no replacement for careful human review on high-stakes infrastructure. That is a fair trade for fewer prompts, and it means some overeager actions will go through, so the files and commands you never want touched need a deterministic check underneath.</p><p>Deny rules on file tools cover less than they appear to. A rule that stops the Read tool from opening .env says nothing about the shell tool running cat .env. A control that matches file names on one tool is one tool away from being skipped.</p><h3>Shapes of indirect access to secrets</h3><p>None of this requires a malicious agent. An agent debugging a broken connection string will go looking for where the value lives, and a prompt injection in a README can steer it the same way. Checks have to recognise the shape of an access, because the literal file name may never appear.</p><h4>A symlink with an innocent name</h4><p>A file called notes/key.txt can point at a private key, and link.txt can point at .env. A check on the literal path sees a text file. It has to run on the resolved path too.</p><h4>Globs</h4><p>.e* and .[e]nv never spell the file name. The shell expands them before the reader runs, so a guard has to expand them the same way, against what is on disk.</p><h4>Variables and directory changes</h4><p>Put the file name in a variable earlier on the same line, or cd into ~/.aws and read credentials by its bare name. Each piece looks harmless on its own.</p><h4>Interpreter one-liners</h4><p>python -c, node -e, ruby -e, perl -e and php -r carry a whole program in one argument. To a shell parser the command is python3. The path sits inside a string literal.</p><h4>The neighbours of .env</h4><p>.env files and SSH keys get the attention. The same category includes ~/.aws/credentials, ~/.npmrc, ~/.git-credentials, the GitHub CLI&#39;s hosts.yml, browser cookie and login stores, the macOS Keychain through the security command, a full environment dump with printenv, and on cloud machines the instance metadata endpoint at 169.254.169.254.</p><h4>Read and send in one line</h4><p>Exfiltration is often a single command: a file passed to curl as POST data, a secret piped into an upload, an archive of ~/.ssh piped to nc. The check has to follow the whole pipeline.</p><h3>Shapes of destruction</h3><p>Deletes are mostly a path resolution problem. rm -rf ../../ from a project two levels under your home folder deletes the home folder. cd src &amp;&amp; rm -rf ../.. does the same thing in two steps on one line. A recursive delete whose path starts with an unset variable, like &quot;$BUILD_ROOT/&quot;, cannot be judged statically, and the safe answer is to ask a person.</p><p>Some commands are destructive by design and legitimate in the right context: terraform destroy, kubectl delete ns, helm uninstall, DROP TABLE, force pushes, hard resets. Blocking them outright makes a guard useless for infrastructure work. Asking is the reasonable default.</p><p>Download-and-run belongs in this group. curl … | sh shows up in plenty of install instructions. Its quieter relatives decode a base64 blob and pipe it to a shell, or download to a file and execute that file in the next command on the line.</p><h3>Where a hook sits</h3><p>Claude Code calls a PreToolUse hook before each tool call and hands it JSON describing the call: tool name, input, working directory and permission mode. The hook answers allow, ask or deny. Two properties make this useful as an enforcement point. Hooks still run when permission prompts are bypassed. When several hooks answer the same call, the most restrictive answer wins.</p><p>A hook sees the full command string before anything executes, so it can do the work the shell would do: resolve symlinks, expand globs, substitute same-line variables, follow cd, walk into bash -c and $( ). No model or network call is involved, so the same input always gets the same answer, with the rule that fired.</p><h3>What a hook cannot see</h3><p>The first group comes from Warden’s documented limitations. They apply to any hook-based design.</p><ul><li><strong>No hook call, no check.</strong> Hooks disabled, a hook the agent has not been told to trust, vendor-hosted tools running on someone else’s servers. Claude Code issue <a href="https://github.com/anthropics/claude-code/issues/88441">#88441</a> reported user-level PreToolUse hooks not firing for Bash calls inside Task-spawned subagents; the issue is closed now, and the category of bug is the lesson. Agents with no pre-action hook at all are out of reach.</li><li><strong>Commands only.</strong> python build.py is judged as python build.py. What the script does after it starts is invisible.</li><li><strong>String building.</strong> A path assembled at runtime inside an interpreter (&#39;.e&#39;+&#39;nv&#39;) gets past pattern rules, as does heavier obfuscation.</li><li><strong>Unknown variables.</strong> cat &quot;$f&quot; with nothing on the line telling you what $f holds. Warden lets this through on purpose, because asking on every such line would bury the useful prompts.</li><li><strong>Child processes.</strong> Anything an allowed command starts runs with your full user permissions.</li><li><strong>Output.</strong> Secrets that land in tool output or in files the agent writes are not scanned.</li></ul><p>The second group is my own reasoning about the architecture. I have not tested these against Warden or any other tool.</p><p>A hook judges one action at a time. If the work is split across separate tool calls, each call arrives with only its own context. A file written in one call and executed in a later one looks like an ordinary write followed by an ordinary run.</p><p>The agent can also leave things for later. A modified Makefile target, an npm script or a git hook inside the project is a normal write when it happens. It runs afterwards, from your terminal, where no agent hook is involved.</p><p>Checks happen before execution. A symlink resolved at check time could point somewhere else by the time the command runs, if something else on the machine changes it in between.</p><p>The hook and the agent run as the same user. Self-protection rules that stop an agent from editing its own hook config are enforced by the hook itself. The operating system does not enforce them.</p><p>For untrusted code, use a container, a VM or a separate macOS user as well. A hook guard knows which agent tried what in which project; isolation limits what happens when something slips through.</p><h3>Warden</h3><p>Warden is a free, MIT-licensed macOS menu bar app that installs this kind of hook and evaluates every call against 33 built-in rules plus any you add. It is a guard layer with no sandboxing, and the README says so.</p><p>Its test suite covers the shapes above: a read through a symlink to .env or to an SSH key is denied, cat .e* is expanded and denied, same-line variables are substituted, python3 -c and node -e one-liners that open ~/.aws/credentials or ~/.ssh/id_rsa are denied while node -e printing process.env.HOME passes, and a curl to the metadata endpoint is denied. Deletes are resolved to their real path: home, system folders, parents of the project and .git are blocked, other paths outside the project ask, and a recursive delete with an unknown variable asks. curl | sh, base64 -d | sh and terraform destroy ask. The suite has 364 automated checks and runs against a throwaway home folder, never the real one.</p><p>New installs start in <strong>observe</strong> mode. Nothing is stopped; the log records what would have been blocked or asked. When that looks right, you switch to <strong>enforce</strong>. Presets are <strong>Strict</strong>, <strong>Balanced</strong> (recommended) and <strong>Permissive</strong>, and any rule can be set to block, ask, observe or allow.</p><p>When a rule asks, a floating panel offers <strong>Block</strong>, <strong>Allow once</strong>, <strong>Allow for project</strong> and <strong>Always allow</strong>. On high-risk items, Return and Esc both choose Block, and no answer within 60 seconds blocks by default. Every call lands in the <strong>Evidence</strong> view with the rule and reason, filterable by agent, result and project, with keys and tokens masked before anything is written. It all stays on the Mac: no account, no telemetry.</p><p>The current release is v0.1.2, Developer ID signed and notarized. Claude Code is the only agent tested in real use. The adapters for Codex CLI, Cursor, Gemini CLI, Windsurf and Cline exist and are covered by tests, but treat them as experimental.</p><h3>Links</h3><ul><li>Warden source: <a href="https://github.com/0xdak/warden">github.com/0xdak/warden</a></li><li>Warden site: <a href="https://warden.dakcyber.com/">warden.dakcyber.com</a></li><li>Anthropic, How we built Claude Code auto mode: <a href="https://www.anthropic.com/engineering/claude-code-auto-mode">anthropic.com/engineering/claude-code-auto-mode</a></li><li>Claude Code issue #88441, hooks in subagents: <a href="https://github.com/anthropics/claude-code/issues/88441">github.com/anthropics/claude-code/issues/88441</a></li></ul><p>Bypass reports go through the private process in Warden’s SECURITY.md. More of my notes are at <a href="https://yuznumara.com/">yuznumara.com</a>, and the labs I build are at <a href="https://labs.dakcyber.com/">labs.dakcyber.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fb2127ce0be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medium’a aktarma: Langflow CVE-2026–9198]]></title>
            <link>https://medium.com/@alidak/mediuma-aktarma-langflow-cve-2026-9198-3f5e34cdaeb1?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f5e34cdaeb1</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[incident-response]]></category>
            <category><![CDATA[langflow]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 14:03:44 GMT</pubDate>
            <atom:updated>2026-11-17T14:04:17.752Z</atom:updated>
            <content:encoded><![CDATA[<h3>Langflow CVE-2026–9198: Defender Notes on the auto_login to validate/code Chain</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6leQh_mkDiG-MsCMnReGVw.png" /></figure><p>I am a penetration tester (OSCP) and I have written 53 machines for OffSec Proving Grounds. I wrote a proof of concept for CVE-2026–9198 while building a lab machine around Langflow. I did not discover this vulnerability. IBM’s advisory credits <strong>Harish Kolla (Har1sh-k)</strong> with the report.</p><p>This post is for the people who run Langflow or have to find it on their networks. It explains the chain at the level of components, then spends most of its length on patching, detection and mitigation. If you need the PoC for authorized testing, it is public at <a href="https://github.com/0xdak/CVE-2026-9198_exploit">github.com/0xdak/CVE-2026–9198_exploit</a>. I am not reproducing it here.</p><h3>The facts</h3><ul><li><strong>Affected:</strong> Langflow OSS 1.0.0 through 1.10.0</li><li><strong>Fixed:</strong> 1.10.1</li><li><strong>CVSS:</strong> 9.8 (CWE-94, code injection)</li><li><strong>CISA KEV:</strong> added 4 August 2026, so there is evidence of exploitation in the wild</li><li><strong>Reporter:</strong> Harish Kolla (Har1sh-k), per IBM’s advisory</li><li>The GitHub security advisories referenced in the fix commits were not public at the time of writing.</li></ul><h3>What Langflow is, and why it ends up on the internet</h3><p>Langflow is a visual builder for LLM applications. You drag components onto a canvas, wire them into a flow, and Langflow serves that flow as an API. Components are Python, and users can write custom ones in the browser. Executing user-supplied Python is a designed feature of the product.</p><p>Instances get exposed for ordinary reasons. The default setup is aimed at a single developer on a laptop, with AUTO_LOGIN enabled so there is no login screen. Then someone puts the same container on a cloud VM so a teammate can try the flow, or binds it to 0.0.0.0 to reach it from another machine, and the laptop defaults travel with it. Flows also tend to hold API keys for OpenAI, Anthropic, vector databases and internal services, which makes a Langflow host a credential store as much as an app server.</p><h3>Root cause</h3><p>Two behaviours combine.</p><p><strong>1. </strong><strong>auto_login hands out a superuser token.</strong> When AUTO_LOGIN is true, the /api/v1/auto_login endpoint returns an access token for the default superuser to whoever asks. That is the intended behaviour for a single-user local install. In 1.10.0 the setting defaults to True, and before the fix the issued token was valid for 365 days. (The PoC repo&#39;s README says the default is on only below 1.5. That is wrong; the 1.10.0 source sets it to True.)</p><p><strong>2. </strong><strong>validate/code executed the code it was supposed to validate.</strong> The endpoint exists so the editor can report errors in a custom component before you save it. It parsed the submitted source, then for each function definition it compiled the function and ran exec() on the result. The vulnerable loop in src/lfx/src/lfx/custom/validate.py:</p><pre>for node in tree.body:<br>    if isinstance(node, ast.FunctionDef):<br>        code_obj = compile(ast.Module(body=[node], type_ignores=[]), &quot;&lt;string&gt;&quot;, &quot;exec&quot;)<br>        try:<br>            exec_globals = _create_langflow_execution_context()<br>            exec(code_obj, exec_globals)</pre><p>Executing a def statement does not call the function, which is probably why this looked safe. But Python evaluates decorators and default-argument expressions at definition time. Any expression placed there runs during &quot;validation&quot;, and the function body never has to execute. The fix commit message describes exactly this.</p><p>Neither behaviour is a bug by itself in the context its authors had in mind. validate/code requires authentication, and auto_login is meant for localhost. Put them on one reachable port and authentication stops meaning anything.</p><h3>The chain at a high level</h3><ol><li>An unauthenticated client asks auto_login for a token. If AUTO_LOGIN is on, it receives a superuser bearer token.</li><li>The client sends a source snippet to validate/code with that token.</li><li>The server runs definition-time expressions in that snippet inside the Langflow process.</li><li>Exceptions raised during that step are returned in the endpoint’s error list, so the attacker can read output in the HTTP response without any outbound connection.</li></ol><p>The result is code execution as the Langflow service user, with access to everything that process can read: environment variables, the Langflow database, the secret key, and stored provider credentials.</p><p>On privilege: the official Docker image runs as uid 1000, not root. My lab machine ran Langflow as root because that was a choice in the box design, and the PoC README’s “frequently root” line comes from that context. On a real host it depends on how it was installed. A non-root user still holds every API key in the flows, which is usually the more valuable prize.</p><h3>What 1.10.1 changes, and what it leaves</h3><p>Two commits matter.</p><p><a href="https://github.com/langflow-ai/langflow/commit/e7c33dbaade20b5295c7fa26bf83cc1ff68fba02">e7c33dbaad</a> makes validate_code compile each function only:</p><pre>for node in tree.body:<br>    if isinstance(node, ast.FunctionDef):<br>        try:<br>            compile(ast.Module(body=[node], type_ignores=[]), &quot;&lt;string&gt;&quot;, &quot;exec&quot;)<br>        except Exception as e:<br>            ...<br>            errors[&quot;function&quot;][&quot;errors&quot;].append(str(e))</pre><p>compile() turns source into a code object without running it, so syntax errors still surface and definition-time expressions do not execute. The helper that built the exec context was deleted. The commit notes that the paths which legitimately run component code (create_function, execute_function, eval_function) are unchanged and are gated separately by allow_custom_components.</p><p><a href="https://github.com/langflow-ai/langflow/commit/744c36e581">744c36e581</a> stops auto_login from minting a 365-day token. It now issues a short-lived access token plus a refresh cookie, and logs a warning every time it issues a session.</p><p>What it does not change: <strong>AUTO_LOGIN still defaults to </strong><strong>True, and </strong><strong>auto_login still issues superuser tokens.</strong> The commit message says flipping the default is a breaking change staged for v2.0. On 1.10.1, an exposed instance with default settings still gives any visitor a superuser session. The validate/code path is closed, but a superuser can create and run flows with custom components by design. Upgrading removes this CVE. An exposed default install is still exposed.</p><h3>Detection</h3><p><strong>Check the version.</strong> pip show langflow inside the environment or container, the image tag in your compose file or Kubernetes manifest, or the version shown in the UI. Anything from 1.0.0 to 1.10.0 is affected. The CVE page on <a href="https://vulntracker.io/cves/CVE-2026-9198">VulnTracker</a>, a vulnerability tracker I build, lists the affected range and the fix, and can alert you when a new CVE hits a product you run.</p><p><strong>Check whether AUTO_LOGIN is on.</strong> Look for LANGFLOW_AUTO_LOGIN in the environment, .env file, compose file or Helm values. If it is unset, assume it is on. A quick sanity check from a browser: if opening the instance drops you straight into the workspace with no login form, it is on.</p><p><strong>Find the instances.</strong> Langflow listens on 7860 by default. Inventory your cloud security groups and external attack surface scans for that port and for the Langflow UI title. Developer machines and ad hoc VMs are the usual places to look.</p><p><strong>Read the access logs.</strong> The pattern to hunt for in proxy, load balancer or Uvicorn logs:</p><ul><li>GET /api/v1/auto_login from addresses that are not your users or not internal.</li><li>POST /api/v1/validate/code shortly after, from the same source.</li><li>Repeated validate/code requests from one client in a short window. Normal editor use exists, but it comes from known users working in the UI, and it sits next to other UI traffic (flow loads, component lists, static assets). Bare API calls with no surrounding UI requests are worth a closer look.</li><li>On 1.10.1 and later, the new warning line that auto_login writes when it issues a session gives you an application-side record too.</li></ul><p><strong>Look at the host.</strong> Child processes of the Langflow Python process that you would not expect (shells, curl, wget, nc, interpreters), outbound connections from the container to unfamiliar addresses, new files in /tmp or the Langflow config directory, new users in the Langflow database, and flows you did not create. If you have EDR or Falco-style runtime rules, &quot;web server process spawns a shell&quot; covers most of it.</p><p><strong>Check the downstream services.</strong> If exploitation is plausible, look at usage on the API keys stored in Langflow: unexpected spend on LLM providers, access from new IPs on databases or vector stores.</p><h3>Mitigation when you cannot patch today</h3><p>In rough order of effort:</p><ol><li><strong>Disable auto login and set credentials.</strong> Set LANGFLOW_AUTO_LOGIN=false and define LANGFLOW_SUPERUSER and LANGFLOW_SUPERUSER_PASSWORD. Set a fixed LANGFLOW_SECRET_KEY as well so tokens and stored secrets are not tied to a generated default. Do this on 1.10.1 too.</li><li><strong>Take it off the internet.</strong> Bind to localhost or a private interface, and restrict port 7860 with security groups or host firewall rules to the people who need it. A VPN or zero-trust access proxy is better than an allowlist of home IPs.</li><li><strong>Put authentication in front.</strong> A reverse proxy with SSO or at least basic auth means an anonymous visitor never reaches auto_login.</li><li><strong>Block </strong><strong>validate/code at the proxy</strong> if you cannot upgrade. Denying POST /api/v1/validate/code should only affect the editor&#39;s inline validation of custom component code, as far as I can tell from how the frontend uses it. Test it against your own flows before you rely on it. Blocking GET /api/v1/auto_login for anything outside your trusted network removes the token step. Treat both as temporary.</li><li><strong>Upgrade to 1.10.1 or later</strong> as soon as you can, then keep the settings from step 1.</li><li><strong>If the instance was exposed while vulnerable, rotate.</strong> Assume the process environment was read. Rotate every API key stored in flows or global variables, database credentials, the Langflow secret key, and anything mounted into the container. Rotating the secret key invalidates existing sessions, which is what you want after a possible compromise. Rebuild the container from a clean image instead of cleaning it in place.</li></ol><p>Running as a non-root user, with a read-only root filesystem and egress restricted to the providers your flows actually call, limits what a future bug in the same area can do.</p><h3>Links</h3><ul><li>NVD entry: <a href="https://nvd.nist.gov/vuln/detail/CVE-2026-9198">nvd.nist.gov/vuln/detail/CVE-2026–9198</a></li><li>CISA Known Exploited Vulnerabilities catalog: <a href="https://www.cisa.gov/known-exploited-vulnerabilities-catalog">cisa.gov/known-exploited-vulnerabilities-catalog</a></li><li>Fix, validate/code: <a href="https://github.com/langflow-ai/langflow/commit/e7c33dbaade20b5295c7fa26bf83cc1ff68fba02">langflow commit e7c33dbaad</a></li><li>Fix, auto_login token lifetime: <a href="https://github.com/langflow-ai/langflow/commit/744c36e581">langflow commit 744c36e581</a></li><li>Reporting on active exploitation: <a href="https://theregister.com/security/2026/08/05/ibms-agentic-ai-platform-is-under-active-attack-patch-now/5283535">The Register, 5 Aug 2026</a></li><li>CSA research note: <a href="https://labs.cloudsecurityalliance.org/research/csa-research-note-langflow-cve-2026-9198-rce-20260818-csa-st/">labs.cloudsecurityalliance.org</a></li><li>VulnTracker entry: <a href="https://vulntracker.io/cves/CVE-2026-9198">vulntracker.io/cves/CVE-2026–9198</a></li><li>PoC for authorized testing: <a href="https://github.com/0xdak/CVE-2026-9198_exploit">github.com/0xdak/CVE-2026–9198_exploit</a></li></ul><p>More of my notes are at <a href="https://yuznumara.com/">yuznumara.com</a>, and the labs I build are at <a href="https://labs.dakcyber.com/">labs.dakcyber.com</a>. Credit for the finding goes to Harish Kolla.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f5e34cdaeb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Microsoft Patches Actively Exploited SharePoint Zero-Day in Massive April Update]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@alidak/microsoft-patches-actively-exploited-sharepoint-zero-day-in-massive-april-update-f8023053834f?source=rss-45dd63f48857------2"><img src="https://cdn-images-1.medium.com/max/1376/1*0ZqiTwacmVB0PCIeGnEq2g.png" width="1376"></a></p><p class="medium-feed-snippet">Microsoft&#x2019;s April 2026 Patch Tuesday &#x2014; the second-largest in the company&#x2019;s history at over 160 CVEs &#x2014; fixes an actively exploited&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@alidak/microsoft-patches-actively-exploited-sharepoint-zero-day-in-massive-april-update-f8023053834f?source=rss-45dd63f48857------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@alidak/microsoft-patches-actively-exploited-sharepoint-zero-day-in-massive-april-update-f8023053834f?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8023053834f</guid>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Mon, 20 Apr 2026 07:54:09 GMT</pubDate>
            <atom:updated>2026-04-20T07:54:09.712Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[FortiClient EMS Gets a Second Zero-Day in One Week — CVE-2026–35616 Is Already Being Exploited]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@alidak/forticlient-ems-gets-a-second-zero-day-in-one-week-cve-2026-35616-is-already-being-exploited-469960f238cb?source=rss-45dd63f48857------2"><img src="https://cdn-images-1.medium.com/max/1387/1*RWEwt3LzejwjxT0OL6PvlQ.png" width="1387"></a></p><p class="medium-feed-snippet">If you patched FortiClient EMS after CVE-2026&#x2013;21643 and thought you were done &#x2014; you&#x2019;re not.</p><p class="medium-feed-link"><a href="https://medium.com/@alidak/forticlient-ems-gets-a-second-zero-day-in-one-week-cve-2026-35616-is-already-being-exploited-469960f238cb?source=rss-45dd63f48857------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@alidak/forticlient-ems-gets-a-second-zero-day-in-one-week-cve-2026-35616-is-already-being-exploited-469960f238cb?source=rss-45dd63f48857------2</link>
            <guid isPermaLink="false">https://medium.com/p/469960f238cb</guid>
            <category><![CDATA[vulnerability]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Ali Dak]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 08:52:10 GMT</pubDate>
            <atom:updated>2026-04-15T08:52:10.912Z</atom:updated>
        </item>
    </channel>
</rss>