<?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 jabir khan on Medium]]></title>
        <description><![CDATA[Stories by jabir khan on Medium]]></description>
        <link>https://medium.com/@jabirkhan1?source=rss-1c2943c3891b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MnKdigVWpM1K15vRMKVXNw.jpeg</url>
            <title>Stories by jabir khan on Medium</title>
            <link>https://medium.com/@jabirkhan1?source=rss-1c2943c3891b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 21:12:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jabirkhan1/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[I Fine-Tuned a 72B Security LLM From Scratch Then Open-Sourced Everything]]></title>
            <link>https://medium.com/@jabirkhan1/i-fine-tuned-a-72b-security-llm-from-scratch-then-open-sourced-everything-c90c8b755cc3?source=rss-1c2943c3891b------2</link>
            <guid isPermaLink="false">https://medium.com/p/c90c8b755cc3</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[jabir khan]]></dc:creator>
            <pubDate>Sun, 07 Jun 2026 03:20:27 GMT</pubDate>
            <atom:updated>2026-06-07T03:20:27.266Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A 72B model. Honest results including what broke. Here’s the full story, and why the repo is public anyway.</em></p><p><strong>By Jabir Khan</strong> · <a href="https://github.com/jabir-khan/HunterLLM"><em>github.com/jabir-khan/HunterLLM</em></a></p><h3>The itch</h3><p>I’ve been in bug bounty long enough to know what I actually need from AI and it’s not another blog post summarizing OWASP. I’ve been paid through <strong>Meta’s bug bounty program</strong>. I’ve shipped software in production. What I wanted was a peer: something that could hand me the next probe the curl, the ffuf line, the nuclei template, the triager-ready report skeleton on targets I’m authorized to test.</p><p>General LLMs are tuned to be helpful and cautious. Red teaming is specific, technical, and scope-bound. That gap is real, and it bothers me every engagement.</p><p>So, I started building <strong>HunterLLM</strong>: not a wrapper around someone else’s API, but an open pipeline, collect security corpora, fine-tune open weights, evaluate, serve designed from the ground up to think like a red teamer.</p><h3>What HunterLLM actually is</h3><p>Let’s be precise: it’s a <strong>research codebase</strong>, not a polished product. Here’s the full stack:</p><p><strong>Collect</strong></p><p>GitHub security repos, NVD/CVE, CISA KEV, MITRE ATT&amp;CK, HackerOne disclosures, bounty write-ups</p><p><strong>Preprocess</strong></p><p>Instruction rows, tagging, dedup, DPO export</p><p><strong>Train</strong></p><p>QLoRA SFT (+ optional DPO) on open weights</p><p><strong>Eval</strong></p><p>82-task benchmark with rubrics</p><p><strong>Serve</strong></p><p>Terminal chat, HF Hub push/pull, endpoint handler, Gradio UI</p><p>One CLI ties it together:</p><pre>git clone https://github.com/jabir-khan/HunterLLM.git</pre><pre>cd HunterLLM &amp;&amp; pip install -e .</pre><pre>hunter-llm — help</pre><p><strong>Everything is public</strong> on Hugging Face and GitHub: models, datasets, scripts because I hit the ceiling of what I could operate smoothly alone. Someone with better GPU access or infra might go further. That’s the point of open source.</p><h3>The sprint</h3><p>This wasn’t a year-long research program. It was a focused burst</p><h3>Phase 1: Data on a Mac (this part actually worked)</h3><p>Training needs CUDA. Data collection does not. I ran ingestion entirely on my laptop:</p><pre>hunter-llm bootstrap-data — skip-trickest — full</pre><pre>hunter-llm build-dataset</pre><p>One GitHub pass pulled <strong>~19,500 records</strong> from repos like PayloadsAllTheThings, SecLists, nuclei-templates, and OWASP corpora. The curated dataset card describes <strong>~33k SFT rows</strong> with <strong>full provenance in every row</strong> — source repo, URL, CVE so you can audit or drop any source later.</p><p>v3 added prescriptive offensive examples, <strong>294 tool invocations</strong>, HackerOne JSON ingest, Bugreader paths, and a folder for your own sanitized reports.</p><p><em>This phase felt right. Scripts ran. JSONL grew. The corpus had teeth.</em></p><h3>Phase 2: Training (QLoRA on Qwen2.5–72B-Instruct)</h3><p>I rented GPUs on RunPod and fine-tuned Qwen2.5–72B-Instruct with QLoRA:</p><pre>export HF_TOKEN=hf_xxx</pre><pre>export HF_MODEL_REPO=jabir-khan/HunterLLM-72B-v3</pre><pre>export SKIP_DPO=1</pre><pre>bash scripts/runpod_bootstrap.sh</pre><p><strong>Training completed. </strong>Weights landed on the Hub. The fine-tuned model exists. That part I’m genuinely proud of.</p><h3>Phase 3: Serving — where the dream got laggy</h3><p><em>Here’s the part I’m </em><strong>not</strong><em> going to dress up.</em></p><p>I tried to use HunterLLM the way I imagined it: chat on a Hugging Face Inference Endpoint, maybe a browser UI, maybe agent loops. In practice:</p><p>— <strong>72B + custom handler</strong> long prefill, slow first token, truncated replies at low max_new_tokens</p><p>— <strong>Streaming</strong> didn’t behave like ChatGPT on the custom endpoint path</p><p>— <strong>Endpoint overhead</strong> added friction: spin up, debug handler, wait, tear down</p><p>— Eventually I <strong>destroyed the endpoints</strong> rather than keep paying for something I wasn’t daily-driving</p><p>I did not end up with a smooth “talk to my red-team copilot all day” experience. I ended up with artifacts on the Hub and honest notes in the repo about what broke and why.</p><p>That’s not failure of the idea. It’s a <strong>reality check on solo infra</strong> for big models when you’re not running a dedicated ML platform team. If you have A100s, vLLM, or patience, the repo is there. I’m not claiming I shipped a production grade pentest agent. I shipped <strong>the ingredients</strong>.</p><h3>Public artifacts — take what you need</h3><p>— <a href="https://huggingface.co/jabir-khan/HunterLLM-72B-v3">HunterLLM-72B-v3</a> (fine-tuned, LoRA weights)</p><p>— <a href="https://huggingface.co/jabir-khan/HunterLLM-72B-v3-merged">HunterLLM-72B-v3-merged</a> (full merged weights)</p><p>— <a href="https://huggingface.co/jabir-khan/HunterLLM-8B">HunterLLM-8B</a> (smaller, more servable)</p><p>— <a href="https://huggingface.co/datasets/jabir-khan/hunter-llm-sft-v1">hunter-llm-sft-v1</a> (full training dataset)</p><h3>Why open source at all?</h3><p>Because the bottleneck was never the idea. It was the scattered ecosystem:</p><p>— <strong>Security corpora are fragmented</strong> — PayloadsAllTheThings here, write-ups there, CVE JSON somewhere else</p><p>— <strong>Fine-tuning paths for offensive-adjacent assistants aren’t turnkey</strong></p><p>— <strong>Scope and ethics need to be baked in</strong>, not bolted on after</p><p>— <strong>Solo builders shouldn’t redo the same pipeline from scratch</strong></p><p>I’m a bug bounty person who codes not a research team. I’m not claiming SOTA eval numbers. I’m saying: <em>here’s the pipeline I wished existed when I started.</em> Clone it, swap the base model, fix the serving layer, run eval on your own GPU.</p><h3>Quick start (for the curious engineer)</h3><p><strong>Data (CPU / Mac OK):</strong></p><pre>hunter-llm bootstrap-data — skip-trickest</pre><pre>hunter-llm build-dataset</pre><p><strong>Train (CUDA pod — you bring the GPU):</strong></p><pre>bash scripts/runpod_bootstrap.sh</pre><p><strong>Chat (if you have weights locally or on Hub):</strong></p><pre>hunter-llm chat — merged-model jabir-khan/HunterLLM-8B</pre><p>Eval benchmark is available (hunter-llm eval-run / eval-score) if you want numbers. Run it yourself, I’m not publishing a score for endpoints I’ve since torn down.</p><h3>Closing</h3><p><strong>HunterLLM</strong> started as “I want AI that thinks like a red teamer on authorized targets.” It became nine days of building in public and <strong>a repo I’m handing to the community</strong> because my own serving story wasn’t smooth enough to sell but the <strong>problem is real</strong> and the <strong>pipeline is real</strong>.</p><p>If you’re a security engineer, ML hobbyist, or recruiter: I build at the intersection of offensive security and systems. Meta paid me for finding bugs. The code is free.</p><p><strong>Links</strong></p><p><strong>GitHub</strong>: <a href="https://github.com/jabir-khan/HunterLLM">github.com/jabir-khan/HunterLLM</a></p><p><strong>Model</strong>: <a href="https://huggingface.co/jabir-khan/HunterLLM-72B-v3">HunterLLM-72B-v3 on Hugging Face</a></p><p><em>Only test systems you own or have explicit authorization to test.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c90c8b755cc3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is how I  got $XXXX from Facebook for Instagram bug.]]></title>
            <link>https://medium.com/infosec/this-is-how-i-got-xxxx-from-facebook-for-instagram-bug-aaff50342246?source=rss-1c2943c3891b------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaff50342246</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[instagram]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[hackerone]]></category>
            <category><![CDATA[nassec]]></category>
            <dc:creator><![CDATA[jabir khan]]></dc:creator>
            <pubDate>Fri, 13 Dec 2019 02:37:28 GMT</pubDate>
            <atom:updated>2019-12-13T02:41:45.511Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I was able to find a logical bug on Instagram?</h3><p>This article is based on a logical bug find that I was able to discover while surfing Instagram. Not only it earned me Hall of Fame on Facebook, but it also gave me a different thinking perspective while doing bug bounty.</p><p>I don’t use Instagram much, but, one fine evening I thought of checking my Instagram account on my laptop. I decided to change the password as I hadn’t used Instagram for a long time. I went to settings and changed my password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pPgLSEpOjumZbDD68zlbfg.png" /></figure><p>After I changed the password, I decided to test functionalities on the Settings tab to see if I will be to find a loophole or a bug. My eyes caught an option named “Authorized App.” I understood by its name that it should be listing the third-party app to which I may have given permission to access data. I clicked that option and there I found two tabs; Active and Expired. After I clicked the Active Tab I saw “TikTok” as an active authorized app.</p><p>The moment I saw TikTok as an authorized app, it surprised me because I had never created a TikTok account or integrated it on Instagram. Without a second thought, I tried to remove TikTok from the list. Surprisingly it gave an error message at the bottom left corner that displayed “there was a problem revoking access.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CqAqSB2QshBMABj6o0wV_A.png" /></figure><p>I recognized that it was a logical bug and quickly reported it to Facebook for a fix. Facebook’s triage team acknowledged the issue and awarded me with bounty. In this way, a simple logical bug on Instagram earned me a bounty and Hall of Fame.</p><p>P.S — I would like to thank <a href="https://twitter.com/evilboyajay">Mr. Ajay Gautam</a>, Head of Security at Nassec, for helping me report the issue to Facebook.</p><p><strong>Author </strong>— Jabir is an independent security researcher and a bug bounty hunter. As a security researcher, he has been inducted in Hall of Fame of Facebook. You can follow him on twitter <a href="https://twitter.com/Jabirkhan0x0">@jabirkhan0x0</a>.</p><p><strong>Editor’s Note</strong> — We will be publishing write-ups related to cybersecurity every week. We are looking to grow our community. If you are interested in writing about cybersecurity, please email us at blog@nassec.io.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaff50342246" width="1" height="1" alt=""><hr><p><a href="https://medium.com/infosec/this-is-how-i-got-xxxx-from-facebook-for-instagram-bug-aaff50342246">This is how I  got $XXXX from Facebook for Instagram bug.</a> was originally published in <a href="https://medium.com/infosec">Infosec Daily</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>