<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><title>Khagan Aydin: Writing</title><link>https://khaganaydin.com/writing/</link><description>Essays on security, AI and how decisions are made.</description><language>en</language><item><title>How Hackers Took $6.3 Billion from Binance Without Stealing a Key</title><link>https://khaganaydin.com/writing/how-hackers-took-6-billion-from-binance-without-a-key/</link><guid>https://khaganaydin.com/writing/how-hackers-took-6-billion-from-binance-without-a-key/</guid><pubDate>Fri, 30 Oct 2026 12:00:00 GMT</pubDate><description>The largest crypto theft in history did not start with a stolen key. It started with one engineer&#x27;s laptop and ended with Binance&#x27;s own systems signing the attacker&#x27;s withdrawals. What happened, and the lesson under it.</description></item><item><title>Your GitHub Is a Vault, Not a Graveyard</title><link>https://khaganaydin.com/writing/your-github-is-a-vault-not-a-graveyard/</link><guid>https://khaganaydin.com/writing/your-github-is-a-vault-not-a-graveyard/</guid><pubDate>Fri, 30 Oct 2026 12:00:00 GMT</pubDate><description>Your GitHub holds your code, your pipeline and your keys. Most people run it like a junk drawer: forgotten integrations, zombie tokens, and bots opening pull requests nobody reads. How the graveyard gets you breached, and the old rule for handing over a key.</description></item><item><title>I spent 20 years breaking into systems that looked safe. Then I asked an AI which SUV to buy.</title><link>https://khaganaydin.com/writing/i-asked-an-ai-which-suv-to-buy/</link><guid>https://khaganaydin.com/writing/i-asked-an-ai-which-suv-to-buy/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 GMT</pubDate><description>What security taught me about trusting an answer, and the decision framework I built Argumont on.</description></item><item><title>How to Build a Robot From Zero</title><link>https://khaganaydin.com/writing/how-to-build-a-robot-from-zero/</link><guid>https://khaganaydin.com/writing/how-to-build-a-robot-from-zero/</guid><pubDate>Sun, 20 Sep 2026 12:00:00 GMT</pubDate><description>You do not need AI or humanoids to start. A plain-language guide to the parts of a simple robot: body, motors, drivers, controllers, power and sensors.</description></item><item><title>The Hidden Risks of Offshoring Cybersecurity</title><link>https://khaganaydin.com/writing/hidden-risks-of-offshoring-cybersecurity/</link><guid>https://khaganaydin.com/writing/hidden-risks-of-offshoring-cybersecurity/</guid><pubDate>Fri, 11 Apr 2025 12:00:00 GMT</pubDate><description>Why outsourcing security might cost you more than it saves: culture gaps, access, local law, and the real breaches that went through outside teams.</description></item><item><title>The PHP Bug That Gave Away Windows Servers in a Day</title><link>https://khaganaydin.com/writing/the-php-bug-that-gave-away-windows-servers/</link><guid>https://khaganaydin.com/writing/the-php-bug-that-gave-away-windows-servers/</guid><pubDate>Tue, 11 Jun 2024 12:00:00 GMT</pubDate><description>CVE-2024-4577 let anyone run code on a Windows PHP server with one web request. How a single hidden character revived a twelve-year-old bug, how attackers used it, and how to close it.</description></item><item><title>Understanding and Implementing FedRAMP</title><link>https://khaganaydin.com/writing/understanding-and-implementing-fedramp/</link><guid>https://khaganaydin.com/writing/understanding-and-implementing-fedramp/</guid><pubDate>Sat, 17 Feb 2024 12:00:00 GMT</pubDate><description>FedRAMP is how a federal agency reuses someone else&#x27;s security review instead of doing its own. What it really is, the parts that carry the weight, the honest cost, and a worked example.</description></item><item><title>Model Theft</title><link>https://khaganaydin.com/writing/model-theft/</link><guid>https://khaganaydin.com/writing/model-theft/</guid><pubDate>Wed, 27 Dec 2023 12:00:00 GMT</pubDate><description>If you trained or tuned your own model, the file is a valuable asset, and so is the behavior visible through your API. How attackers steal the weights outright or copy the model by querying it, and how to protect both.</description></item><item><title>Excessive Agency in LLM Applications</title><link>https://khaganaydin.com/writing/excessive-agency/</link><guid>https://khaganaydin.com/writing/excessive-agency/</guid><pubDate>Mon, 18 Dec 2023 12:00:00 GMT</pubDate><description>The more a model can do on its own, send mail, move money, change records, delete data, the more a single trick or confident mistake turns into real damage. Why least power beats more power, and where to put a human.</description></item><item><title>Insecure Plugin Design</title><link>https://khaganaydin.com/writing/insecure-plugin-design/</link><guid>https://khaganaydin.com/writing/insecure-plugin-design/</guid><pubDate>Mon, 11 Dec 2023 12:00:00 GMT</pubDate><description>Plugins and tools are the model&#x27;s hands. They let it fetch a page, run a search, call a service. But the inputs come from the model, which means they can come from whoever injected the model. How to build tools that cannot be turned against you.</description></item><item><title>The AI Supply Chain</title><link>https://khaganaydin.com/writing/llm-supply-chain-security/</link><guid>https://khaganaydin.com/writing/llm-supply-chain-security/</guid><pubDate>Mon, 04 Dec 2023 12:00:00 GMT</pubDate><description>The models, datasets and libraries you pull in are dependencies like any other, but with far less mature tooling to check them. How a poisoned package or a tampered model walks in through a normal install, and how to close the door.</description></item><item><title>Model Denial of Service</title><link>https://khaganaydin.com/writing/model-denial-of-service/</link><guid>https://khaganaydin.com/writing/model-denial-of-service/</guid><pubDate>Mon, 27 Nov 2023 12:00:00 GMT</pubDate><description>Language models are slow and priced by the text they process, so a few shaped requests can burn your capacity or your budget. The attack needs no exploit, just expensive work, and the caps that stop it.</description></item><item><title>Training Data Poisoning</title><link>https://khaganaydin.com/writing/training-data-poisoning/</link><guid>https://khaganaydin.com/writing/training-data-poisoning/</guid><pubDate>Mon, 20 Nov 2023 12:00:00 GMT</pubDate><description>If you train or fine-tune a model, whoever controls part of the data controls part of the model. How a few poisoned records plant a hidden backdoor, a real proof of concept, and what to actually check.</description></item><item><title>Insecure Output Handling in LLM Applications</title><link>https://khaganaydin.com/writing/insecure-output-handling/</link><guid>https://khaganaydin.com/writing/insecure-output-handling/</guid><pubDate>Mon, 13 Nov 2023 12:00:00 GMT</pubDate><description>Teams validate what goes into a language model and forget what comes out. But the output is just more untrusted text, and if it flows into a page, a query or a shell, it can carry an attack. The trap and the fix.</description></item><item><title>The OWASP Top 10 for LLM Applications, Explained</title><link>https://khaganaydin.com/writing/the-owasp-top-10-for-llm-applications-explained/</link><guid>https://khaganaydin.com/writing/the-owasp-top-10-for-llm-applications-explained/</guid><pubDate>Mon, 06 Nov 2023 12:00:00 GMT</pubDate><description>OWASP published its first list of the ten biggest security risks in software built on large language models. Here is what each risk means, a real example of each, and the one defense that matters most.</description></item><item><title>How Transformers Work: The Design Behind Language Models, Explained with Code</title><link>https://khaganaydin.com/writing/how-transformers-work/</link><guid>https://khaganaydin.com/writing/how-transformers-work/</guid><pubDate>Mon, 16 Oct 2023 12:00:00 GMT</pubDate><description>Every major language model is built on the Transformer, a design first published in 2017. What it does step by step, a working attention example in Python, and what the design means for the people building on it.</description></item><item><title>Securing an LLM Application: A Practical Checklist</title><link>https://khaganaydin.com/writing/securing-an-llm-application-checklist/</link><guid>https://khaganaydin.com/writing/securing-an-llm-application-checklist/</guid><pubDate>Mon, 18 Sep 2023 12:00:00 GMT</pubDate><description>The new OWASP Top 10 for Large Language Model Applications, turned into concrete checks and code a development team can apply before release.</description></item><item><title>Why Language Models Make Things Up, and How to Check Their Answers</title><link>https://khaganaydin.com/writing/why-language-models-make-things-up/</link><guid>https://khaganaydin.com/writing/why-language-models-make-things-up/</guid><pubDate>Mon, 10 Jul 2023 12:00:00 GMT</pubDate><description>A fluent answer is not a verified answer. Why language models invent facts, where they do it most, and a checking routine with code that rejects unsupported answers.</description></item><item><title>Gas Limiting Vulnerability in Web3: Understanding and Mitigating the Risks</title><link>https://khaganaydin.com/writing/gas-limiting-vulnerability-in-web3/</link><guid>https://khaganaydin.com/writing/gas-limiting-vulnerability-in-web3/</guid><pubDate>Sat, 01 Jul 2023 12:00:00 GMT</pubDate><description>On a blockchain the cost of running your code is attacker-controllable, and an unbounded loop can freeze a contract for everyone. The vulnerable pattern, the fix, and why it is permanent.</description></item><item><title>Before You Paste Company Data into an AI Chatbot</title><link>https://khaganaydin.com/writing/before-you-paste-company-data-into-an-ai-chatbot/</link><guid>https://khaganaydin.com/writing/before-you-paste-company-data-into-an-ai-chatbot/</guid><pubDate>Mon, 15 May 2023 12:00:00 GMT</pubDate><description>What happens to the text you type into ChatGPT and similar tools, what has already gone wrong this spring, and a one-page policy a team can adopt this week.</description></item><item><title>Threat Modeling in Medical IoT Devices</title><link>https://khaganaydin.com/writing/threat-modeling-medical-iot-devices/</link><guid>https://khaganaydin.com/writing/threat-modeling-medical-iot-devices/</guid><pubDate>Thu, 27 Apr 2023 12:00:00 GMT</pubDate><description>In a medical device the worst case is not a data breach, it is a patient harmed by a wrong dose. A worked threat model of a diabetes tool, and why the ranking has to put safety first.</description></item><item><title>Improper Input Validation: What It Is and How to Fix It</title><link>https://khaganaydin.com/writing/improper-input-validation/</link><guid>https://khaganaydin.com/writing/improper-input-validation/</guid><pubDate>Thu, 13 Apr 2023 12:00:00 GMT</pubDate><description>Improper input validation is the root under most injection bugs. What counts as input, why blocklists lose, and how to check it on the server, with code.</description></item><item><title>Don&#x27;t Hide Vulnerabilities Behind a Firewall</title><link>https://khaganaydin.com/writing/dont-hide-vulnerabilities-behind-a-firewall/</link><guid>https://khaganaydin.com/writing/dont-hide-vulnerabilities-behind-a-firewall/</guid><pubDate>Wed, 12 Apr 2023 12:00:00 GMT</pubDate><description>A firewall filters traffic. It does not fix broken code. A story from a client who chose the firewall, what it hid, and the one question that tells a fix from a cover-up.</description></item><item><title>How to Build an Effective Application Security Program</title><link>https://khaganaydin.com/writing/how-to-build-an-application-security-program/</link><guid>https://khaganaydin.com/writing/how-to-build-an-application-security-program/</guid><pubDate>Wed, 12 Apr 2023 12:00:00 GMT</pubDate><description>You are the first security hire. Before any tool, your job is to see what exists and who owns it. A playbook from inventory and threat modeling to SAST, DAST in your pipeline, and making security the default.</description></item><item><title>What is IDOR?</title><link>https://khaganaydin.com/writing/what-is-idor/</link><guid>https://khaganaydin.com/writing/what-is-idor/</guid><pubDate>Wed, 12 Apr 2023 12:00:00 GMT</pubDate><description>IDOR is when an app trusts you to ask only for your own data. How it happens, a real exposure of 885 million records, and the one check that closes it, with code.</description></item><item><title>What is Threat Modeling?</title><link>https://khaganaydin.com/writing/what-is-threat-modeling/</link><guid>https://khaganaydin.com/writing/what-is-threat-modeling/</guid><pubDate>Tue, 11 Apr 2023 12:00:00 GMT</pubDate><description>Threat modeling is four plain questions you ask before you build, not after. A worked example on a food delivery app entering a new city, with STRIDE and an honest take on scoring.</description></item><item><title>Prompt Injection: When the Data Gives the Orders</title><link>https://khaganaydin.com/writing/prompt-injection-when-the-data-gives-the-orders/</link><guid>https://khaganaydin.com/writing/prompt-injection-when-the-data-gives-the-orders/</guid><pubDate>Mon, 20 Mar 2023 12:00:00 GMT</pubDate><description>Language models cannot tell your instructions from the text they read. How prompt injection works, real cases from the last six months, vulnerable and safer code, and the defenses that hold up.</description></item><item><title>How to Write Prompts That Get Reliable Answers</title><link>https://khaganaydin.com/writing/how-to-write-prompts-that-get-reliable-answers/</link><guid>https://khaganaydin.com/writing/how-to-write-prompts-that-get-reliable-answers/</guid><pubDate>Wed, 14 Dec 2022 12:00:00 GMT</pubDate><description>A language model answers the question you typed, not the one you meant. Seven habits, with examples and a test harness, that make ChatGPT and similar tools give answers you can use.</description></item><item><title>HTTP Parameter Pollution in Practice: Real Attacks and Fixes</title><link>https://khaganaydin.com/writing/http-parameter-pollution-in-practice/</link><guid>https://khaganaydin.com/writing/http-parameter-pollution-in-practice/</guid><pubDate>Tue, 12 Jun 2018 12:00:00 GMT</pubDate><description>What happens when a request sends the same parameter twice, how PHP, Java, Python, Node.js and others disagree, four attacks with working code, and the fixes for each.</description></item></channel></rss>
