<?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 Aman Bhuiyan on Medium]]></title>
        <description><![CDATA[Stories by Aman Bhuiyan on Medium]]></description>
        <link>https://medium.com/@icecream23?source=rss-5c0df6a6ddfe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*kNw6OoYEJOD_s_HZD2IJYA.jpeg</url>
            <title>Stories by Aman Bhuiyan on Medium</title>
            <link>https://medium.com/@icecream23?source=rss-5c0df6a6ddfe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:42:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@icecream23/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[When a Trusted Profile Link Becomes a Malware Delivery Vector]]></title>
            <link>https://icecream23.medium.com/when-a-trusted-profile-link-becomes-a-malware-delivery-vector-30dac8d85afc?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/30dac8d85afc</guid>
            <category><![CDATA[wep-hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Wed, 19 Aug 2026 10:35:47 GMT</pubDate>
            <atom:updated>2026-08-19T10:37:25.554Z</atom:updated>
            <content:encoded><![CDATA[<h3>How unrestricted custom URLs can turn an innocent profile feature into an attacker-controlled file delivery mechanism</h3><p>A profile page usually doesn’t look like an interesting place to hunt for security vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3TleyQv6snh7CNzzIaDJUw.png" /></figure><p>There are names, bios, social-media accounts, portfolios, websites, and a few buttons.</p><p>Nothing particularly exciting.</p><p>But while testing a profile customization feature, I came across a small piece of functionality that made me stop:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vddskcGFOiY1abJaeCoT7g.png" /><figcaption>Profile page with bio &amp; social media links</figcaption></figure><blockquote><strong><em>The application allowed users to control the destination of profile links without sufficiently restricting where those links could point.</em></strong></blockquote><p>At first, this sounds harmless.</p><p>After all, users are supposed to add links to their profiles.</p><p>The interesting part is what happens when that link isn’t actually a social-media profile.</p><p>What if it points to an attacker-controlled file?</p><p>That changes the security story completely.</p><h3>The Hack</h3><p>The application provides users with profile fields for adding external links and social-media profiles.</p><p>A normal user might enter something like:</p><pre>https://github.com/username</pre><p>or:</p><pre>https://linkedin.com/in/username</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZN_5BfoGp8nu_Qw5r7-LTw.png" /><figcaption>custom url options</figcaption></figure><p>The application then displays the link as a clickable icon or button on the public profile.</p><p>The expected trust relationship looks something like this:</p><pre>User<br>  ↓<br>Profile<br>  ↓<br>Social Media Button<br>  ↓<br>Expected Social Media Website</pre><p>But the behavior I observed allowed the destination to be controlled much more freely.</p><p>That changes the flow into:</p><pre>Attacker<br>   ↓<br>Profile Editor<br>   ↓<br>Arbitrary URL<br>   ↓<br>Trusted Profile<br>   ↓<br>Victim Click<br>   ↓<br>Attacker-Controlled Server</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fjU32UFSbqROlWwBeTaoOQ.png" /><figcaption>Break the trust with malware contain link</figcaption></figure><p>And that is where things get interesting.</p><h3>The First Question: What Can the URL Point To?</h3><p>Instead of entering a normal social-media URL, I tested the field with an external URL under my control.</p><p>For example:</p><pre>https://attacker.example/malware.zip</pre><p>The important part wasn’t the ZIP file itself.</p><p>It was the fact that the application accepted an arbitrary external destination and subsequently presented that destination through the profile interface.</p><p>No exploit payload was required to demonstrate the underlying issue.</p><p>A harmless test file was enough.</p><h3>The Profile Becomes the Delivery Mechanism</h3><p>After saving the profile, the supplied URL appeared as a clickable link on the public profile.</p><p>From the victim’s perspective, the interaction looks completely normal:</p><pre>               Public Profile<br>                     │<br>        ┌────────────┼────────────┐<br>        │            │            │<br>     GitHub       Website      LinkedIn<br>        │            │            │<br>        └────────────┼────────────┘<br>                     │<br>                 Click<br>                     │<br>                     ▼<br>            External Destination</pre><p>The problem is that the visual appearance of the button doesn’t necessarily communicate where the link actually goes.</p><p>A button that looks like a social-media link can potentially point somewhere completely unrelated.</p><p>That creates a trust-boundary problem.</p><h3>Turning the Link Into a File Download</h3><p>For the proof of concept, I hosted a harmless ZIP file on an external server.</p><p>The profile link was configured to point to it:</p><pre>https://attacker.example/test.zip</pre><p>A visitor clicking the profile button was then sent to the external resource.</p><p>The resulting chain was:</p><pre>target.com profile<br>       ↓<br>profile button<br>       ↓<br>attacker.example<br>       ↓<br>test.zip<br>       ↓<br>browser download</pre><p>This is the core behavior.</p><p>The platform doesn’t need to host the malicious file.</p><p>It only needs to provide a trusted place where the attacker can place the link.</p><p>That makes the vulnerability more accurately described as a <strong>trusted-link abuse / arbitrary external file-delivery primitive</strong> rather than traditional server-side Remote File Inclusion.</p><h3>Why Is This Dangerous?</h3><p>Consider two links:</p><pre>https://random-attacker.example/malware.zip</pre><p>and:</p><pre>  Professional profile<br>        ↓<br>  Website / GitHub / Portfolio button<br>        ↓<br>    malware.zip</pre><p>The destination may ultimately be identical.</p><p>But the second scenario has something the first doesn’t:</p><p><strong>contextual trust.</strong></p><p>A victim may be much more comfortable clicking a link that appears inside a professional profile.</p><p>This creates opportunities for:</p><ul><li>Phishing</li><li>Malware delivery</li><li>Social engineering</li><li>Malicious redirects</li><li>Credential harvesting</li><li>Reputation abuse</li><li>External file delivery</li></ul><p>The profile effectively becomes a delivery channel.</p><h3>The Interesting Part: Social-Media Fields</h3><p>This becomes even more interesting when the application provides platform-specific fields.</p><p>Imagine a profile editor containing:</p><pre>GitHub<br>LinkedIn<br>Website<br>Twitter/X<br>Portfolio</pre><p>Users naturally assume that a field called GitHub will produce a GitHub URL.</p><p>But if the backend simply accepts user-controlled URL components without properly validating the resulting destination, the security boundary becomes much weaker.</p><p>Conceptually:</p><pre>Expected:</pre><pre>GitHub<br>   ↓<br>github.com/user</pre><p>versus:</p><pre>Observed security model:</pre><pre>GitHub<br>   ↓<br>User-controlled destination<br>   ↓<br>Any external resource</pre><p>That difference is small from a development perspective, but significant from an abuse perspective.</p><p>A related publicly disclosed research case demonstrated a similar class of issue where insufficient sanitization of social-media profile inputs allowed attacker-controlled payloads to be hidden behind profile buttons. The published PoC used a harmless ZIP file and described the possibility of using the same delivery mechanism for other payloads.</p><h3>Why a ZIP File?</h3><p>A ZIP file makes a useful proof of concept because it demonstrates that the link isn’t merely redirecting to another HTML page.</p><p>It’s delivering a file.</p><p>The reference research also used a harmless ZIP for its PoC and discussed the possibility of replacing that with other malicious files.</p><p>However, there is an important distinction here.</p><p>Downloading a ZIP file does <strong>not automatically mean Remote Code Execution</strong>.</p><p>That’s where security write-ups can sometimes overstate the impact.</p><h3>Is This Really RCE?</h3><p>Not automatically.</p><p>The URL injection itself does not execute code on the victim’s computer.</p><p>The actual result depends on the victim’s environment.</p><p>For example:</p><pre>Attacker-controlled URL<br>        ↓<br>File download<br>        ↓<br>Browser behavior<br>        ↓<br>Operating system behavior<br>        ↓<br>Security controls<br>        ↓<br>User interaction<br>        ↓<br>Potential execution</pre><p>Every step matters.</p><p>A browser may simply download the file and stop.</p><p>An operating system may display a warning.</p><p>An antivirus product may block it.</p><p>A sandbox may prevent execution.</p><p>Or a particular browser/OS/file combination may process the downloaded content more automatically.</p><p>The reference research specifically investigated Safari’s handling of files considered “safe” by the browser/OS environment and demonstrated the behavior on macOS.</p><p>Therefore, the technically safer conclusion is:</p><blockquote><strong><em>The vulnerability enables attacker-controlled file delivery through a trusted profile link, with potential client-side compromise depending on browser, operating-system, file-type, and user-environment conditions.</em></strong></blockquote><p>That’s a much stronger security statement than simply claiming:</p><blockquote><em>“Clicking the link gives </em><strong><em>RCE</em></strong><em>.”</em></blockquote><h3>The Trust Boundary Is the Real Vulnerability</h3><p>This is the part I find most interesting.</p><p>The application isn’t necessarily vulnerable because it downloads files.</p><p>Browsers download files every day.</p><p>The problem is that the application is allowing an attacker-controlled destination to inherit trust from the application’s profile interface.</p><p>Think about the difference:</p><h3>Without the vulnerability</h3><pre>Attacker website<br>       ↓<br>     Victim</pre><p>The victim sees an unfamiliar domain.</p><h3>With the vulnerability</h3><pre>Trusted profile<br>       ↓<br>Professional-looking button<br>       ↓<br>External attacker-controlled domain<br>       ↓<br>     Victim</pre><p>The attacker has gained something valuable:</p><p><strong>context.</strong></p><p>And context is extremely useful in social engineering.</p><h3>Why URL Blacklists Aren’t Enough</h3><p>A common fix for this kind of vulnerability is to create a blacklist.</p><p>For example:</p><pre>Block:<br>javascript:<br>data:<br>file:</pre><p>or:</p><pre>Block:<br>&lt;<br>&gt;<br>&quot;<br>&#39;<br>;</pre><p>This can help in some cases, but it isn’t the ideal security model.</p><p>URL validation should be based on the actual purpose of the field.</p><ul><li><strong>For a GitHub field, ask:</strong></li></ul><blockquote><em>Does this URL actually belong to GitHub?</em></blockquote><ul><li><strong>For a LinkedIn field:</strong></li></ul><blockquote><em>Does this URL actually belong to LinkedIn?</em></blockquote><ul><li><strong>For a custom website field:</strong></li></ul><blockquote><em>Is this a valid HTTPS URL?</em></blockquote><p>The security control should follow the <strong>semantic meaning of the input</strong>.</p><h3>A Better Security Model</h3><p>A safer implementation could look like this:</p><pre>User Input<br>                  │<br>                  ▼<br>            Parse URL<br>                  │<br>                  ▼<br>          Validate Scheme<br>                  │<br>                  ▼<br>          Validate Hostname<br>                  │<br>          ┌───────┴────────┐<br>          │                │<br>      Social Field      Custom URL<br>          │                │<br>          ▼                ▼<br>     Domain Allowlist   Security Policy<br>          │                │<br>          └───────┬────────┘<br>                  ▼<br>          Store Validated URL<br>                  │<br>                  ▼<br>          Contextual Encoding<br>                  │<br>                  ▼<br>            Render Profile</pre><p>For a social-media field, an even better design would be to avoid accepting a complete URL.</p><p>Instead:</p><pre>GitHub username:<br>example</pre><p>The application can construct:</p><pre>https://github.com/example</pre><p>itself.</p><p>That removes a large portion of the attack surface.</p><h3>Recommended Fixes</h3><h3>1. Validate the URL Scheme</h3><p>Only permit schemes that are actually required.</p><p>For normal profile links:</p><pre>https://</pre><p>should generally be preferred.</p><p>Dangerous or unnecessary schemes should be rejected server-side.</p><h3>2. Enforce Domain Allowlists for Social Fields</h3><p>If a field represents a specific platform, validate the hostname.</p><p>For example:</p><pre>GitHub → github.com<br>LinkedIn → linkedin.com</pre><p>Don’t allow:</p><pre>GitHub → attacker.example</pre><h3>3. Parse URLs Properly</h3><p>Don’t rely on regular expressions or simple string filtering alone.</p><p>The server should:</p><ol><li>Parse the URL.</li><li>Normalize it.</li><li>Validate the scheme.</li><li>Validate the hostname.</li><li>Validate ports where appropriate.</li><li>Apply field-specific restrictions.</li><li>Safely render the final value.</li></ol><h3>4. Warn Users About External Destinations</h3><p>For unrestricted custom URLs, consider displaying:</p><blockquote><strong><em>You’re leaving target.com. This link leads to an external website that isn’t controlled by target.com.</em></strong></blockquote><p>This doesn’t replace validation, but it establishes a much clearer trust boundary.</p><h3>5. Consider Download Warnings</h3><p>If a profile link points directly to downloadable content, an additional warning could be useful:</p><pre>This link may download a file<br>from an external website.</pre><pre>Continue?</pre><p>Interestingly, the related research specifically highlighted the absence of the sort of download warning that existed elsewhere in the platform’s workflow.</p><h3>Severity: Why Medium Makes Sense</h3><p>I would rate the issue <strong>Medium severity — CVSS 4.3</strong>.</p><p>And there is a good reason not to inflate it.</p><p>The confirmed vulnerability is:</p><pre>Attacker-controlled URL<br>        ↓<br>Trusted profile link<br>        ↓<br>Victim<br>        ↓<br>Arbitrary external resource/file</pre><p>The potential for code execution is conditional.</p><p>It requires the right combination of:</p><ul><li>Browser behavior</li><li>OS behavior</li><li>File format</li><li>Security configuration</li><li>User interaction</li><li>Potential additional vulnerabilities</li></ul><p>The comparable disclosed report was ultimately adjusted to <strong>Medium (4.3)</strong>, which provides useful context for this class of issue.</p><p>So instead of calling this:</p><blockquote><strong><em>“Guaranteed Remote Code Execution”</em></strong></blockquote><p>I’d describe it as:</p><blockquote><strong><em>“Unrestricted profile URL handling enables attacker-controlled file delivery through trusted profile links, with potential client-side compromise under specific environmental conditions.”</em></strong></blockquote><p>That’s more defensible and, in my opinion, makes the article stronger.</p><h3>The Bigger Lesson</h3><p>This vulnerability taught me an interesting lesson about modern web applications:</p><p><strong>Not every security bug involves JavaScript execution, SQL injection, SSRF, or authentication bypass.</strong></p><p>Sometimes the vulnerability is simply a broken trust relationship.</p><p>A URL field seems harmless.</p><p>A social-media icon seems harmless.</p><p>A profile page seems harmless.</p><p>But put them together:</p><pre>User-controlled URL<br>        +<br>Trusted UI<br>        +<br>External resource<br>        =<br>Potential abuse primitive</pre><p>That’s enough to create a meaningful security issue.</p><p>The attacker doesn’t necessarily need to compromise the platform.</p><p>They can simply convince the platform to present their destination.</p><h3>Final Thoughts</h3><p>One of the first things I now look at when testing profile functionality is:</p><blockquote><strong><em>“Who controls the final destination of this link?”</em></strong></blockquote><p>Not the label.</p><p>Not the icon.</p><p>Not the text displayed to the user.</p><p>The actual destination.</p><p>Because if a trusted application allows an attacker to control where a profile button goes, that button can become much more than a navigation feature.</p><p>It can become:</p><pre>A phishing vector<br>A redirector<br>A malware delivery mechanism<br>A reputation-abuse primitive</pre><p>And in certain client environments, potentially something even more serious.</p><p>The important takeaway for developers is simple:</p><blockquote><strong><em>Treat user-controlled URLs as untrusted data, even when they’re only being used to create hyperlinks.</em></strong></blockquote><p>Validate them according to their intended purpose, enforce domain restrictions where possible, and make the transition to external content visible to the user.</p><p>A profile button may look innocent.</p><p><strong>Always check where it actually leads.</strong></p><h3>Disclosure Note</h3><p>All target-specific information has been intentionally anonymized.</p><p>Throughout this article:</p><ul><li>target.com is used as the generic target.</li><li>attacker.example represents attacker-controlled infrastructure.</li><li>No real account names, profile identifiers, payload URLs, or target-specific information are included.</li><li>The file-delivery discussion uses harmless proof-of-concept concepts rather than operational malware.</li></ul><p><em>The article is based on authorized security research and is intended for defensive security education.</em></p><p>#HappyHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=30dac8d85afc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond Google Dorks: A Modern Methodology for Hunting Exposed Google Workspace Assets in Bug Bounty…]]></title>
            <link>https://icecream23.medium.com/beyond-google-dorks-a-modern-methodology-for-hunting-exposed-google-workspace-assets-in-bug-bounty-e672c6ea6a33?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/e672c6ea6a33</guid>
            <category><![CDATA[reconnaissance]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 19:25:59 GMT</pubDate>
            <atom:updated>2026-06-28T19:29:15.801Z</atom:updated>
            <content:encoded><![CDATA[<h3>Beyond Google Dorks: A Modern Methodology for Hunting Exposed Google Workspace Assets in Bug Bounty Programs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DR7gYY4PVUcgXVtGIrUEHg.png" /><figcaption>Generated by ChatGPT</figcaption></figure><p>When people think about bug bounty reconnaissance, they often focus on the obvious targets: the company’s website, subdomains, APIs, mobile applications, and cloud infrastructure. While these remain essential, there’s another attack surface that is frequently overlooked — Google Workspace.</p><p>Every day, organizations rely on Google Docs, Drive, Sheets, Sites, Groups, Forms, and other Google services to run their business. These platforms store everything from documentation and employee directories to project plans, spreadsheets, backups, and internal communications. Most of this data is private by design, but occasionally, a forgotten sharing setting or an outdated public resource can expose information that was never meant to be accessible.</p><p>As bug hunters, our goal isn’t to search for secrets indiscriminately. It’s to systematically identify publicly exposed resources, verify whether they represent an unintended security issue, and report them responsibly.</p><p>This article walks through a practical reconnaissance methodology for identifying Google Workspace assets during bug bounty engagements.</p><h3>Why Google Workspace Matters</h3><p>Modern organizations rarely operate entirely on their own domains.</p><p>Instead, they outsource collaboration to Google Workspace. A company’s digital footprint may include:</p><ul><li>Google Docs</li><li>Google Sheets</li><li>Google Drive</li><li>Google Sites</li><li>Google Groups</li><li>Google Forms</li><li>Google Apps Script</li><li>Google Cloud Storage</li></ul><p>These services often contain valuable information. Sometimes they are intentionally public, such as marketing documents or help centers. Other times, they become public accidentally because of misconfigured permissions, forgotten links, or legacy deployments.</p><p>The objective is to distinguish between these cases through careful validation.</p><h3>Step 1: Confirm the Organization Uses Google Workspace</h3><p>Before spending time on reconnaissance, determine whether the target actually uses Google Workspace.</p><p>One of the easiest methods is checking the target’s MX records.</p><pre>dig MX company.com</pre><p>Example Output:</p><pre>example.com. 300 IN MX 1 aspmx.l.google.com.<br>example.com. 300 IN MX 5 alt1.aspmx.l.google.com.</pre><p>Using nslookup</p><pre>nslookup -type=MX example.com</pre><p>If the domain resolves to Google’s mail servers, there’s a good chance the organization relies on Google Workspace.</p><p>This simple check helps you prioritize your reconnaissance efforts.</p><h3>Step 2: Map the Google Attack Surface</h3><p>Don’t limit your recon to the company website.</p><p>Think about every Google service employees might use.</p><p>Start building a checklist that includes:</p><ul><li>docs.google.com</li><li>drive.google.com</li><li>sites.google.com</li><li>groups.google.com</li><li>forms.google.com</li><li>script.google.com</li><li>storage.googleapis.com</li></ul><p>Each service represents a potential source of publicly accessible information.</p><h3>Step 3: Use Search Engines Intelligently</h3><p>Search engines remain one of the most effective reconnaissance tools.</p><p>Instead of searching only for the company domain, search Google’s own platforms.</p><p>Examples include:</p><pre>site:docs.google.com company.com //Search for public Google Docs<br>site:docs.google.com/spreadsheets &quot;example.com&quot; // Google Sheets<br>site:drive.google.com company.com // Google Drive<br>site:sites.google.com company.com // Google Sites<br>site:groups.google.com company.com // Google Groups<br>site:docs.google.com/forms &quot;example.com&quot; // Google Forms</pre><p>Search by Email Domain:</p><pre>site:docs.google.com &quot;@example.com&quot;<br>site:drive.google.com &quot;@example.com&quot;<br>site:sites.google.com &quot;@example.com&quot;</pre><p>Search for Interesting Documents:</p><pre>site:drive.google.com &quot;example.com&quot; filetype:pdf <br>site:drive.google.com &quot;example.com&quot; csv<br>site:drive.google.com &quot;example.com&quot; xlsx<br>site:drive.google.com &quot;example.com&quot; zip<br>site:drive.google.com &quot;example.com&quot; json</pre><p>Search for Sensitive Keywords</p><pre>site:docs.google.com &quot;example.com&quot; config<br>site:drive.google.com &quot;example.com&quot; backup<br>site:docs.google.com &quot;example.com&quot; api<br>site:docs.google.com &quot;example.com&quot; token<br>site:docs.google.com &quot;example.com&quot; password<br>site:docs.google.com &quot;example.com&quot; database<br>site:docs.google.com &quot;example.com&quot; vpn<br>site:docs.google.com &quot;example.com&quot; internal<br>site:docs.google.com &quot;example.com&quot; architecture</pre><p>These searches often reveal documents, presentations, spreadsheets, or internal sites that are indexed by search engines.</p><h3>Step 4: Expand Beyond Traditional Search</h3><p>Search engines only show part of the picture.</p><p>Additional reconnaissance platforms can uncover resources that standard indexing misses.</p><p>Some useful sources include:</p><ul><li>URLScan</li><li>GitHub</li><li>Internet Archive (Wayback Machine)</li><li>Public search engines</li></ul><p>Employees frequently share document links in GitHub repositories, issue trackers, documentation, or archived web pages.</p><p>Legacy Google Workspace URLs can also appear in historical records even if the original resources no longer exist.</p><p>URLScan Queries</p><pre>page.url:&quot;docs.google.com&quot;<br>page.url:&quot;drive.google.com&quot;<br>page.url:&quot;sites.google.com&quot;<br>page.url:&quot;groups.google.com&quot;<br>page.url:&quot;example.com&quot;    </pre><p>GitHub Dorks</p><pre>&quot;docs.google.com&quot; &quot;example.com&quot; // Search Google Docs<br>&quot;drive.google.com&quot; &quot;example.com&quot; // Google Drive<br>&quot;sites.google.com&quot; &quot;example.com&quot; // Google Sites<br>&quot;docs.google.com/forms&quot; &quot;example.com&quot; // Google Forms<br>&quot;@example.com&quot; &quot;docs.google.com&quot; // Employee Email</pre><p>Internet Archive (Wayback Machine)</p><pre>https://web.archive.org/web/*/https://sites.google.com/* //Search archived Google Sites<br>https://web.archive.org/web/*/https://docs.google.com/* //Archived Google Docs<br>https://web.archive.org/web/*/https://drive.google.com/* //Archived Google Drive<br>https://web.archive.org/web/*/https://docs.google.com/a/example.com/* //Legacy Google Workspace</pre><p>Search for Google Apps Script</p><pre>site:script.google.com &quot;example.com&quot; //Google Search<br>&quot;script.google.com&quot; &quot;example.com&quot; //GitHub</pre><p>Search Google Cloud Storage</p><pre>site:storage.googleapis.com &quot;example.com&quot; //Google Search<br>site:storage.googleapis.com example //Bucket</pre><p>Search for Public Google Sites</p><pre>site:sites.google.com &quot;employee handbook&quot;<br>site:sites.google.com onboarding<br>site:sites.google.com wiki<br>site:sites.google.com documentation<br>site:sites.google.com portal</pre><p>Search for Public Google Sheets</p><pre>site:docs.google.com/spreadsheets salary<br>site:docs.google.com/spreadsheets inventory<br>site:docs.google.com/spreadsheets employees<br>site:docs.google.com/spreadsheets finance<br>site:docs.google.com/spreadsheets contacts</pre><p>Search for Public Google Drive Folders</p><pre>site:drive.google.com backup<br>site:drive.google.com confidential<br>site:drive.google.com production<br>site:drive.google.com database<br>site:drive.google.com logs</pre><h3>Step 5: Look for High-Value Resources</h3><p>Not every public document represents a security issue.</p><p>Focus your attention on resources that could unintentionally expose sensitive business information.</p><p>Examples include:</p><ul><li>Internal documentation</li><li>Employee directories</li><li>Configuration files</li><li>Architecture diagrams</li><li>Backup files</li><li>Project planning spreadsheets</li><li>Customer information</li><li>Financial reports</li><li>API documentation</li><li>Cloud deployment notes</li></ul><p>Finding these doesn’t automatically mean you’ve discovered a vulnerability but they deserve closer inspection.</p><h3>Step 6: Review Permission Misconfigurations</h3><p>The most important question is:</p><p><strong>Should this information actually be public?</strong></p><p>Some resources are intentionally shared.</p><p>Others become public because someone selected <strong>“Anyone with the link”</strong> or <strong>“Public on the web”</strong> without realizing the implications.</p><p>Your job is to verify whether access is possible without authentication and whether the exposure appears unintended.</p><p>Always validate from a clean browser session or an incognito window.</p><h3>Step 7: Don’t Ignore Legacy Assets</h3><p>Many organizations have been using Google Workspace for years.</p><p>Old Google Sites, archived documentation, or legacy URLs can still appear in:</p><ul><li>Internet Archive snapshots</li><li>GitHub commits</li><li>Documentation</li><li>Search engine caches</li></ul><p>Although modern Google Workspace has evolved significantly, historical resources can still reveal valuable context during reconnaissance.</p><h3>Step 8: Think Like an Investigator</h3><p>One lesson I’ve learned from bug hunting is that good reconnaissance is rarely about running thousands of automated scans.</p><p>It’s about asking better questions.</p><p>Instead of asking:</p><p><em>“Where is the vulnerability?”</em></p><p>Ask:</p><ul><li>Where does this company collaborate?</li><li>Where do employees store documentation?</li><li>How do they share files?</li><li>What services support their workflow?</li><li>Could any of those resources have been exposed accidentally?</li></ul><p>That mindset often uncovers opportunities that automation alone would miss.</p><h3>Responsible Validation Matters</h3><p>Finding a publicly accessible document doesn’t automatically justify downloading everything inside it.</p><p>Responsible security research means collecting only the minimum evidence required to confirm the issue.</p><p>Avoid modifying content, accessing unrelated data, or exceeding the scope defined by the bug bounty program.</p><p>Ethical reconnaissance is about proving exposure — not exploiting trust.</p><h3>A Repeatable Workflow</h3><p>My Google Workspace reconnaissance process typically follows this sequence:</p><ol><li>Confirm Google Workspace usage through MX records.</li><li>Enumerate Google-hosted services associated with the organization.</li><li>Search indexed resources using targeted search queries.</li><li>Review historical content through archival sources.</li><li>Search public repositories for shared document links.</li><li>Inspect publicly accessible Google resources.</li><li>Validate permissions in an unauthenticated session.</li><li>Determine whether the exposure is unintended and within scope.</li><li>Collect minimal evidence.</li><li>Report responsibly.</li></ol><p>Target Domain<br> │<br> ▼<br> Check MX Records<br> │<br> ▼<br> Detect Google Workspace Usage<br> │<br> ▼<br> Search Google Indexed Assets<br> │<br> ▼<br> Search URLScan Results<br> │<br> ▼<br> Search GitHub References<br> │<br> ▼<br> Review Wayback Archives<br> │<br> ▼<br> Identify Public Resources<br> │<br> ▼<br> Validate Anonymous Access<br> │<br> ▼<br> Assess Business Impact<br> │<br> ▼<br> Report Responsibly</p><p>This workflow is repeatable across many bug bounty programs and helps ensure reconnaissance is systematic rather than random.</p><h3>Final Thoughts</h3><p>Google Workspace has become part of the attack surface for countless organizations. While the classic focus on websites, APIs, and cloud infrastructure remains essential, experienced bug hunters understand that valuable findings often come from looking beyond the primary domain.</p><p>A disciplined reconnaissance methodology doesn’t guarantee high-severity reports, but it does increase your understanding of a target’s ecosystem. Over time, that understanding becomes one of the greatest advantages a bug hunter can develop.</p><p>The best researchers aren’t simply running more tools — they’re asking better questions, following structured workflows, and approaching every target with curiosity, patience, and respect for responsible disclosure.</p><p>Happy hunting — and remember, the most valuable discovery often begins long before you ever send a request to the target application.</p><p>#HappyHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e672c6ea6a33" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use Claude Code for FREE with OpenRouter (Step-by-Step Guide)]]></title>
            <link>https://icecream23.medium.com/how-to-use-claude-code-for-free-with-openrouter-step-by-step-guide-3544a1049b5a?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/3544a1049b5a</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[anthropic-claude]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[claude-code]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Fri, 27 Mar 2026 15:53:27 GMT</pubDate>
            <atom:updated>2026-03-27T15:53:27.076Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*haagC8RaVgJHI08Webdu1A.jpeg" /></figure><p>Most AI coding tools hit you with a paywall pretty fast. <strong>Claude Code (Claude Code CLI)</strong> is no different — it normally requires Anthropic API access or a subscription.</p><p>But here’s the workaround:</p><p>👉 You can run Claude Code <strong>completely free</strong> by routing it through <strong>OpenRouter’s free models</strong> instead of Anthropic.</p><p>This guide shows exactly how to do it — no confusion, just steps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k2KkOe9EmgI0k_9O6D2wFA.png" /><figcaption>Claude Code install locally totally free</figcaption></figure><h3>How This Works (🧠)</h3><p>By default:</p><pre>Claude Code → connects to Anthropic (paid)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vxMymOw2uc6ScMhl9V5EA.png" /><figcaption>Claude pricing</figcaption></figure><p>With this method:</p><pre>Claude Code → connects to OpenRouter (free models)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ytAe1kQS_gzw4nCT5m3CpA.png" /></figure><p>You’re basically <strong>changing the backend API</strong>, not the tool.</p><h4>⚙️ Requirements</h4><p>Before starting, make sure you have:</p><ul><li>Node.js installed</li><li>Terminal access</li><li>OpenRouter account (free)</li></ul><h3>Step-by-Step Setup</h3><h4><strong>Step 1: Install Node.js</strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zQ3RH1d_9ckQFVEdksvdOg.png" /><figcaption>NodeJs Officials</figcaption></figure><p>Download from: <a href="https://nodejs.org/">https://nodejs.org</a></p><p>Then verify:</p><pre>node -v</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/689/1*VqqCV9Sq17qoTfBvOvhiNA.png" /></figure><p>If it shows a version → you’re good.</p><h4>Step 2: Install Claude Code (Claude Code CLI)</h4><p>Run:</p><pre>npm install -g @anthropic-ai/claude-code</pre><p>After install, test it:</p><pre>claude</pre><h4>Step 3: Create OpenRouter API Key</h4><pre>1. Go to https://openrouter.ai<br>2. Sign up<br>3. Generate API key from dashboard</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F1fuLedo7FF7ggayNs7Qlg.png" /><figcaption>After Sign In Click the Get API key &amp; Generate API</figcaption></figure><p>Keep this safe — you’ll need it next.</p><h4>Step 4: Configure Claude Code to Use OpenRouter</h4><p>This is the <strong>main trick.</strong></p><p>📂 Locate `<strong>.claude</strong>` Folder</p><pre>Linux/macOS: `~/.claude/`<br>Windows: `C:\Users\YourName\.claude\`</pre><p>👉 It’s a hidden folder</p><pre>* macOS: press `Cmd + Shift + .` to show hidden files</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4SrejpOvzugi2AmvvFOZJg.png" /><figcaption>At first you see these 3 folders only</figcaption></figure><p><strong>📝 Create `settings.json`</strong></p><p>Inside `.claude`, create:</p><pre>settings.json</pre><p>Paste this config:</p><pre>{<br>&quot;env&quot;: {<br>&quot;ANTHROPIC_BASE_URL&quot;: &quot;https://openrouter.ai/api&quot;,<br>&quot;ANTHROPIC_AUTH_TOKEN&quot;: &quot;your-openrouter-api-key&quot;,<br>&quot;ANTHROPIC_API_KEY&quot;: &quot;&quot;,<br>&quot;ANTHROPIC_MODEL&quot;: &quot;openrouter/free&quot;<br>}<br>}</pre><p><strong>🔑 Replace Values</strong></p><pre>* `your-openrouter-api-key` → your real key<br>* `openrouter/free` → or use specific model like:<br>* `anthropic/claude-3-haiku`<br>* `anthropic/claude-3-sonnet`<br>* or any free OpenRouter model (i use NVidia free model)<br>See the Below screenshot</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rNF8fUm3cMdvAM5LhEReaA.png" /></figure><h4>▶️ Step 5: Run Claude Code</h4><p>Now just run:</p><pre>claude</pre><p>👉 If setup is correct:</p><ul><li>No login required</li><li>No Anthropic billing</li><li>Runs using OpenRouter</li></ul><h4>🧪 Test It</h4><p>Try something simple:</p><pre>Create a modern dashboard UI using HTML, CSS, JS</pre><p>If it generates code → you’re done ✅</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EOYALweE2LumU2GiZSIQPg.png" /><figcaption>Prompt</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F8-_WYxIa04gkcgcSZuM8g.png" /><figcaption>the html css js combine website</figcaption></figure><h4>🤖 Best Free Models to Use</h4><p>From OpenRouter:</p><pre>* Claude 3 Haiku (fast + reliable)<br>* Claude 3 Sonnet (better quality, sometimes limited)<br>* Other free models (DeepSeek, Qwen)</pre><blockquote>👉 Not all models behave perfectly with Claude Code — test and pick what works.</blockquote><p><strong>⚠️ Limitations (Real Talk)</strong></p><p>Free setup = some tradeoffs:</p><ul><li>⏱️ Rate limits (20–50 req/min)</li><li>🐢 Slower responses sometimes</li><li>⚠️ Some models may not fully support all features</li><li>💰 Possible charges after free quota</li></ul><h4>🔥 Why This Is Useful</h4><p>This setup gives you:</p><ul><li>💸 Zero cost AI coding assistant</li><li>🧪 Freedom to test multiple models</li><li>🛠️ Full CLI workflow (like paid users)</li></ul><p>For:</p><ul><li>Developers</li><li>Students</li><li>Bug bounty hunters</li><li>SQA engineers</li></ul><p>This is honestly a huge win.</p><h4>🧾 Final Thoughts</h4><p>This isn’t a “<strong>hack</strong>” — it’s just <strong>smart configuration</strong>.</p><p>You’re:</p><ul><li>Keeping Claude Code</li><li>Swapping the backend</li><li>Using free AI models</li></ul><p>That’s it.</p><h4>⚡ Bonus Idea</h4><p>If you want next level:</p><p>* Run models locally (no limits, full privacy)</p><p>* Integrate with VS Code</p><p>* Automate coding + testing workflows</p><ul><li><strong>*Disclaimer:**</strong> Use responsibly and follow OpenRouter + Anthropic terms.</li></ul><p>#HappyHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3544a1049b5a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Selenium/Playwright + CDP Isn’t a “Bypass” — It’s a Bug Hunter’s Power Tool]]></title>
            <link>https://icecream23.medium.com/selenium-playwright-cdp-isnt-a-bypass-it-s-a-bug-hunter-s-power-tool-32df3ac7d77b?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/32df3ac7d77b</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 18:33:23 GMT</pubDate>
            <atom:updated>2026-02-22T18:33:23.544Z</atom:updated>
            <content:encoded><![CDATA[<p>If you hang around bug bounty circles long enough, you’ll notice a pattern.</p><p>Someone posts:</p><blockquote><strong><em>“I bypassed Cloudflare bot protection CDP”</em></strong></blockquote><p>The post blows up.<br>People bookmark it.<br>New hunters try to replicate it.</p><p>And then… nothing works the way they expected.</p><p>So let’s talk about what’s <strong>actually happening</strong>, why tools like <strong>Playwright, Selenium, Puppeteer</strong>, and <strong>CDP</strong> matter, and why calling this a “bypass” is mostly the wrong mental model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gYlESFB92lrtnBWNkawsrA.png" /><figcaption>Generated by Nano Banana</figcaption></figure><h3>First, let’s be honest about Cloudflare</h3><p>Cloudflare is not trying to stop <em>humans</em>.<br>It’s trying to stop:</p><ul><li>Raw HTTP clients</li><li>Cheap scrapers</li><li>Headless automation</li><li>Abusive traffic patterns</li></ul><p>If your traffic:</p><ul><li>Looks like Chrome</li><li>Executes JavaScript</li><li>Has normal timing</li><li>Maintains cookies and storage</li></ul><p>Cloudflare usually says:</p><blockquote><em>“Cool, carry on.”</em></blockquote><p>That’s not failure.<br>That’s Cloudflare doing exactly what it was designed to do.</p><h3>Why tools like Playwright and Selenium matter</h3><p>Modern web apps are <strong>browser-first</strong>.</p><p>They assume:</p><ul><li>JavaScript runs</li><li>UI controls access</li><li>Users click buttons, not endpoints</li><li>Bots won’t bother acting “human”</li></ul><p>That assumption is wrong — and that’s where we come in.</p><h3>Tools commonly used by hunters</h3><ul><li><strong>Playwright</strong> (fast, modern, great for stealth)</li><li><strong>Selenium</strong> (older, heavier, but everywhere)</li><li><strong>Puppeteer</strong> (Chrome-native, CDP-focused)</li></ul><p>All of them can:</p><ul><li>Launch a real browser</li><li>Execute full JS</li><li>Maintain sessions</li><li>Look indistinguishable from a user</li></ul><p>And crucially:<br>👉 <strong>They let you test the app as it actually behaves</strong>, not as you <em>wish</em> it behaved.</p><h3>The so-called “Cloudflare bypass process” (demystified)</h3><p>Let’s strip the drama.</p><p>What usually happens is this:</p><ol><li>A browser-based automation tool opens the site</li><li>Cloudflare runs its checks:</li></ol><ul><li>JS challenges</li><li>Browser fingerprinting</li><li>Timing analysis</li></ul><ol><li>The tool waits (sometimes literally just waits)</li><li>Cloudflare sets clearance cookies</li><li>The app loads normally</li></ol><p>No CAPTCHA cracked.<br>No tokens stolen.<br>No magic.</p><p>Just:</p><blockquote><strong><em>“This looks like a real browser, so I’ll allow it.”</em></strong></blockquote><p>Sometimes a <strong>Managed Challenge</strong> appears.<br>Sometimes it auto-resolves.<br>Sometimes it doesn’t.</p><p>If it escalates to a real CAPTCHA, automation usually stops — as it should.</p><h3>Where CDP fits into all this</h3><p>CDP (Chrome DevTools Protocol) isn’t about Cloudflare at all.</p><p>It’s about <strong>visibility</strong>.</p><p>Anyone who’s used .page_source knows the pain:</p><ul><li>Incomplete HTML</li><li>“Enable JavaScript” screens</li><li>Missing dynamic elements</li></ul><p>CDP lets you:</p><ul><li>Ask Chrome for the DOM <em>after</em> execution</li><li>Observe runtime variables</li><li>Watch what JS actually unlocks</li></ul><p>For bug hunters, that’s priceless.</p><p>Most vulnerabilities don’t live in raw HTML.<br>They live <strong>after the app finishes loading</strong>.</p><h3>Why this matters for bug hunting (the real reason)</h3><p>Using Playwright or Selenium doesn’t magically create vulnerabilities.</p><p>What it does is:</p><ul><li>Remove friction</li><li>Reduce noise</li><li>Let you test logic at scale</li><li>Keep you inside “expected” user behavior</li></ul><p>And that’s why it helps uncover:</p><ul><li>IDOR hidden behind UI</li><li>Weak PIN or OTP protections</li><li>Client-side role enforcement</li><li>Feature flags with no backend checks</li><li>Export/download flows leaking data</li></ul><p>Cloudflare isn’t stopping these bugs — because <strong>it’s not supposed to</strong>.</p><h3>The uncomfortable truth</h3><p>A lot of applications rely on:</p><blockquote><em>“No one will automate this through the browser”</em></blockquote><p>That belief is fragile.</p><p>If your security fails the moment someone:</p><ul><li>Uses Playwright</li><li>Waits a few seconds</li><li>Clicks buttons programmatically</li></ul><p>Then the problem was never Cloudflare.</p><p>It was <strong>trusting the frontend too much</strong>.</p><h3>How my mindset changed</h3><p>I used to think:</p><blockquote><strong><em>“How do I bypass this protection?”</em></strong></blockquote><p>Now I think:</p><blockquote><strong><em>“How would a real user reach this state?”</em></strong></blockquote><p>Playwright and Selenium help me:</p><ul><li>Think like the app</li><li>Move at user-speed</li><li>See what developers assumed no one would test</li></ul><p>That shift alone has been worth more than any “bypass trick”.</p><h3>When these tools are actually worth using</h3><p>I personally switch when I see:</p><ul><li>Heavy JavaScript apps</li><li>UI-only features</li><li>Endpoints that don’t appear in Burp</li><li>CAPTCHA popping up only during automation</li><li>“This can only be done from the frontend” comments</li></ul><p>That’s not a wall.<br>That’s an invitation.</p><h3>Final thought</h3><p>Calling this a “Cloudflare bypass” misses the point.</p><p>This is about <strong>testing reality instead of theory</strong>.</p><p>Playwright, Selenium, and CDP don’t break security — <br>they expose assumptions.</p><p>And in bug bounty hunting, assumptions pay 💵.</p><p>#HappyHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32df3ac7d77b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[$70,000 from a Simple 2FA Bypass: A Lesson in Observation Over Exploits]]></title>
            <link>https://icecream23.medium.com/70-000-from-a-simple-2fa-bypass-a-lesson-in-observation-over-exploits-10902b4253a7?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/10902b4253a7</guid>
            <category><![CDATA[2fa]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[authentication]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Tue, 20 Jan 2026 19:03:45 GMT</pubDate>
            <atom:updated>2026-01-21T03:22:30.587Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h4jMvBshZZIzhRidEFsW1A.png" /><figcaption>Generated by ChatGPT</figcaption></figure><p>In bug bounty, we love talking about complex vulnerabilities, remote code execution, race conditions, deserialization chains, and zero-days that look cool in write-ups. But sometimes, the most valuable bugs come from doing something far less glamorous: paying attention.</p><p>In a recent interview, bug bounty hunter <strong>Teflon</strong> shared how he earned a <strong>$70,000</strong> payout by finding two <strong>two-factor authentication (2FA) bypass vulnerabilities</strong> in a public bug bounty program. No advanced payloads. No automation-heavy workflows. Just careful inspection of authentication logic, session handling, and cookies.</p><p>This story is a reminder that real-world security failures are often boring — but extremely impactful.</p><h4>The Bug That Changed Everything</h4><p>The vulnerability lived in the login flow of a web application protected by 2FA. On the surface, everything looked standard: username, password, then a second-factor challenge.</p><p>But while monitoring HTTP traffic in <strong>Burp Suite</strong>, Teflon noticed something subtle in how session tokens were handled.</p><p>After submitting valid credentials, the application issued a session token (let’s call it the <strong>auth2 token</strong>). Once the user completed 2FA, the server was supposed to upgrade the session and issue a new, fully authenticated token ,the <strong>auth3 token</strong>.</p><p>Here’s the problem:<br>The <strong>auth3 token</strong> was identical to the <strong>auth2 token</strong>.</p><p>That meant the application never actually elevated the session after successful 2FA. There was no meaningful boundary between “<strong>pre-2FA</strong>” and “<strong>post-2FA</strong>” authentication.</p><p>By intercepting the response and reusing the <strong>auth2 token</strong> where the <strong>auth3 token</strong> was expected, Teflon could access the account without ever completing the 2FA challenge.</p><blockquote>No brute force.<br>No OTP abuse.<br>Just broken session logic.</blockquote><h4>Same Logic, Same Mistake — Again</h4><p>Months later, while testing another application owned by the same company, Teflon noticed familiar behavior. Different domain, different cookie names, but the same authentication flow under the hood.</p><p>The session handling logic had been reused across multiple products. As a result, the exact same mistake existed in a second application, leading to another valid 2FA bypass.</p><p>This second report pushed the total payout to <strong>$70,000</strong>, reinforcing a harsh truth: <strong>when insecure authentication logic is reused, vulnerabilities scale fast</strong>.</p><h4>Why 2FA Bypasses Are a Big Deal</h4><p>Two-factor authentication exists to protect users when passwords fail — and in today’s threat landscape, passwords fail all the time.</p><p>Phishing, credential stuffing, leaked databases, and password reuse are everywhere. When 2FA can be bypassed, attackers don’t need sophistication. They just need credentials.</p><p>That’s why companies treat 2FA bypasses as critical issues — and why this bug deserved the payout it received.</p><h4>The Real Takeaways for Bug Hunters</h4><p>This story quietly destroys a few common misconceptions about bug bounty hunting.</p><blockquote>You don’t need insane exploits to make money.<br>You don’t need to automate everything.<br>You don’t need to be the smartest person in the room.</blockquote><p>What you <strong>do</strong> need is patience, curiosity, and the discipline to understand how an application behaves at every step.</p><blockquote>Watching cookies change.<br>Comparing session tokens.<br>Questioning assumptions like “this must be secure.”</blockquote><p>Those small moments of doubt are often where high-impact bugs are hiding.</p><h4>Final Thoughts</h4><p>This wasn’t a story about hacking harder.<br>It was a story about hacking smarter.</p><p>Two overlooked session tokens.<br>One broken assumption about 2FA.<br>A $70,000 payout.</p><p>If you’re hunting right now, slow down. Let the app show you how it thinks. The next critical vulnerability might already be sitting in your proxy history — waiting for you to notice it.</p><h4>Credits &amp; Source</h4><p><strong>Security Researcher:</strong> Teflon<br><strong>Video Link:</strong> <a href="https://www.youtube.com/watch?v=uW7COsIKTXM](https://www.youtube.com/watch?v=uW7COsIKTXM)">https://www.youtube.com/watch?v=uW7COsIKTXM</a></p><blockquote>All credit goes to the researcher and NahamSec.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10902b4253a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ S3 Bucket Takeover, The Hidden Trap in the Cloud]]></title>
            <link>https://icecream23.medium.com/s3-bucket-takeover-the-hidden-trap-in-the-cloud-afc013675504?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/afc013675504</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 18:07:39 GMT</pubDate>
            <atom:updated>2025-11-09T18:07:39.235Z</atom:updated>
            <content:encoded><![CDATA[<p><em>How one misconfigured storage bucket can flip the script on your entire app.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pzuyj7jWvOs7ywpwT7k_Tg.png" /></figure><p><strong>TL;DR:</strong><br> S3 bucket takeovers happen when a website references an unclaimed or misconfigured AWS S3 bucket. If someone else registers it, they can host files your site loads — from harmless images to malicious JavaScript. One small misconfig = one big breach.</p><h3>☁️ What’s an S3 Bucket Anyway?</h3><p>Let’s keep it real — an <strong>S3 bucket</strong> is just a cloud folder. Companies use it to store stuff like logos, JS files, or user uploads.<br> Here’s how it usually looks:</p><pre>https://example-assets.s3.amazonaws.com/logo.png</pre><p>Now imagine that bucket is deleted, renamed, or never claimed correctly.<br> If someone else creates a bucket with that same name, they now control what’s served at that URL.<br> And if your website still loads files from it… congrats, you’ve just been bucket-taken-over.</p><p>It’s that simple and that dangerous.</p><h3>🕵️‍♂️ Why Bug Hunters Love It (and Companies Fear It)</h3><p>For security researchers, this kind of find is a dream.<br> For companies, it’s a nightmare in three letters: <strong>RCE</strong>.</p><p>Here’s what’s possible when someone hijacks your bucket:</p><ul><li>Injecting <strong>malicious JavaScript</strong> into trusted pages</li><li>Swapping your site assets with phishing or scam content</li><li>Hosting malware under your company’s domain</li></ul><p>One bucket misfire can flip user trust in seconds.</p><h3>🔍 How Bug Hunters Usually Find These</h3><p>While studying this topic, I realized — it’s not luck, it’s <strong>methodical recon</strong>.<br> Here’s the ethical breakdown:</p><ul><li>Search for s3.amazonaws.com, .s3-website-, or .amazonaws.com URLs in source code, JS files, or public repos.</li><li>Use open-source recon tools to collect possible bucket names.</li><li>Check whether they’re valid (look for the AWS “NoSuchBucket” response).</li><li>Stop there. Don’t upload, claim, or alter anything unless you’re authorized (like through a bug bounty program).</li></ul><p>Recon is about awareness, not exploitation.</p><h3>🚨 The Real-World Fallout</h3><p>Picture this:<br> A website loads a script from https://assets.company-s3-bucket.com/main.js.<br> If that bucket’s gone and an attacker creates it — boom.<br> The site starts pulling JavaScript straight from the attacker’s bucket.</p><p>That means:</p><ul><li>Cookie theft</li><li>Crypto mining</li><li>Phishing redirects</li><li>Fake forms collecting credentials</li></ul><p>The attacker doesn’t have to breach your backend — your <strong>frontend does it for them</strong>.</p><h3>🧭 The Ethical Line (Don’t Cross It)</h3><p>Let’s be blunt: <strong>never actually take over or modify</strong> a bucket that’s not yours.<br> Even if you can, you shouldn’t. Period.</p><p>Here’s the right move instead:</p><ul><li>Collect evidence safely (headers, screenshots, response codes).</li><li>Redact any sensitive data.</li><li>Report it responsibly through the platform’s disclosure or bounty program.</li></ul><p>In this space, ethics &gt; ego.</p><h3>🧩 Fixing It (For Devs &amp; Cloud Teams)</h3><p>If you’re on the defensive side, here’s the fix-it list that actually works:</p><ol><li><strong>Block public access</strong> to all S3 buckets by default.</li><li><strong>Enable ownership controls</strong> — prevent outsiders from claiming your names.</li><li><strong>Audit your codebase</strong> for old or hard-coded bucket URLs.</li><li><strong>Use CloudFront or signed URLs</strong> for any public resources.</li><li><strong>Monitor &amp; log</strong> access attempts with CloudTrail.</li><li><strong>Rotate credentials</strong> and never commit AWS keys in repos.</li></ol><p>These tiny tweaks can stop massive damage.</p><h3>💡 What I Learned While Studying This</h3><p>Studying S3 bucket takeovers taught me that most vulnerabilities don’t come from complex exploits — they come from <strong>oversight</strong>.<br> Developers move fast, old buckets stay behind, and attackers pick up the leftovers.</p><p>For bug hunters: it’s a perfect mix of technical skill and detective work.<br> For defenders: it’s a wake-up call that visibility and ownership are everything in cloud security.</p><h3>🧠 Quick Takeaways</h3><ul><li>S3 bucket takeovers = unclaimed or misconfigured storage = bad news.</li><li>Recon responsibly. Don’t exploit.</li><li>Focus on impact + ethical reporting.</li><li>Secure, audit, and monitor your buckets.</li><li>If you reference it — <strong>own it</strong>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=afc013675504" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JavaScript Recon for Bug Hunters — Pull, Parse, Profit ️‍♂️]]></title>
            <link>https://icecream23.medium.com/javascript-recon-for-bug-hunters-pull-parse-profit-%EF%B8%8F-%EF%B8%8F-6a0a3a3cd1df?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a0a3a3cd1df</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[bug-bounty-writeup]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Sun, 02 Nov 2025 13:42:25 GMT</pubDate>
            <atom:updated>2025-11-02T13:45:48.390Z</atom:updated>
            <content:encoded><![CDATA[<h3>JavaScript Recon for Bug Hunters — Pull, Parse, Profit 🕵️‍♂️💻</h3><p>You found a juicy bundle.js and now you want to squeeze every endpoint, secret, and logic-flaw out of it. Nice — this is one of the highest-ROI recon activities you can do on web apps. Below I’ll lay out a tight, practical workflow (commands you actually use), what each step does, how to validate findings, and how to responsibly disclose them. I’ll keep it real and fast — no fluff !</p><figure><img alt="An image of Javascript recon Banner" src="https://cdn-images-1.medium.com/max/1024/1*pfvQiDp0wAw6wn4YhkDZMA.png" /></figure><h3>TL;DR (for impatient hackers)</h3><ol><li>Harvest every .js reachable from the target.</li><li>Probe the list for live responses (200s).</li><li>Parse JS for URLs/endpoints and secrets.</li><li>Run patterns (gf) for API keys and juicy snippets.</li><li>Manually and with Burp replay anything that looks unauthenticated.</li><li>Use LLMs for deobfuscation when needed.</li><li>If you get admin access because of client-side role logic — report it responsibly.</li></ol><h3>The Practical Workflow (commands you can copy-paste)</h3><h3>1) Pull all JS references</h3><p>Dump discovered URLs and filter .js endings:</p><pre>echo www.target.com | gau | grep &#39;\.js$&#39; | anew alljs.txt</pre><ul><li>gau (GetAllUrls) scrapes historical URLs (Wayback, CommonCrawl, etc.)</li><li>grep &#39;\.js$&#39; keeps JS files only</li><li>anew dedups into alljs.txt</li></ul><h3>2) Find live JS files quickly</h3><p>Refine to those returning 200s:</p><pre>cat alljs.txt | httpx-toolkit -mc 200 -o alive_js.txt</pre><p>httpx-toolkit -mc 200 filters by HTTP status; saves live JS URLs to alive_js.txt</p><h3>3) Extract endpoints from a specific JS</h3><p>Use linkfinder.py to pull URLs from JS:</p><pre>python3 linkfinder.py -i https://target.com/main.js -o cli</pre><p>Great for quickly getting route patterns, query-strings, resource URLs.</p><h3>4) Analyze JS logic</h3><p>Static analysis to discover logic, role checks, redirect targets:</p><pre>python3 JSParser.py -u https://target.com/app.js</pre><p>Parses AST-ish constructs to find dynamic endpoint construction, role checks, redirects.</p><h3>5) Pattern-hunting: GF</h3><p>Look for sensitive strings, keys, and suspicious snippets:</p><pre>cat app.js | gf interesting<br>cat app.js | gf api-keys</pre><ul><li>gf gives quick greppable patterns (tokens, API endpoints, S3, auth hints)</li></ul><h3>6) SecretFinder in bulk (example script for automation)</h3><p>If you want to run SecretFinder against a list of live JS files:</p><pre>#!/bin/bash<br>SECRET_FINDER=&quot;/path_to/SecretFinder/SecretFinder.py&quot;<br>INPUT_FILE=&quot;/path_to/alive_js.txt&quot;<br><br>if [ ! -f &quot;$INPUT_FILE&quot; ]; then<br>    echo &quot;Error: $INPUT_FILE not found.&quot;<br>    exit 1<br>fi<br><br>while IFS= read -r url; do<br>    if [ -n &quot;$url&quot; ]; then<br>        echo &quot;Scanning $url...&quot;<br>        python3 &quot;$SECRET_FINDER&quot; -i &quot;$url&quot; -o cli<br>        echo &quot;----------------------------------------&quot;<br>    fi<br>done &lt; &quot;$INPUT_FILE&quot;<br><br>echo &quot;All scans completed.&quot;</pre><p>Reads alive_js.txt and runs SecretFinder on each URL. Simple, repeatable.</p><h3>7) Deobfuscation &amp; reverse logic</h3><p>If JS is packed/minified/obfuscated:</p><ul><li>Use prettifiers (prettier, js-beautify) to reformat.</li><li>Use uglify/de4js or throw it at an LLM like ChatGPT/Claude to explain complex functions and variable flows.</li><li>Keep iterative: deobfuscate → run pattern search → manual review.</li></ul><h3>How to validate — Burp Suite + Repeater (manual gold)</h3><p>You extract /admin/logs?user= or /admin/stats from JS. Now what?</p><ol><li>Send the request to Burp Repeater (no auth).</li><li>Replace user= with a real numeric ID or a known test user.</li><li>If you get a 200 and sensitive output with no authentication — you’ve got a real bug.</li></ol><p><strong>Common signs of vulnerability</strong></p><ul><li>Responses exposing data for arbitrary user IDs.</li><li>Role checks enforced only client-side (e.g., if (user == &quot;superman&quot;) { showAdminUI() }).</li><li>Endpoints that accept role parameters or headers that can be forged.</li><li>Admin-only actions reachable without server-side checks.</li></ul><h3>Real-world example (what happened on my target)</h3><ul><li>Found bundle.js.</li><li>JSParser revealed: /admin/logs?user= and client-side role logic if user == &quot;superman&quot; → bypass.</li><li>No server-side auth check; Burp confirmed full admin-level access by passing a user ID.</li><li>Additional context: repo references from employee/third-party contractor GitHub hints — useful for attribution and impact assessment.</li></ul><p>That’s the combo that escalated to a critical report.</p><h3>Tips to avoid false positives</h3><ul><li>Always replay the request in Burp. Static findings are just clues — only dynamic testing confirms exploitation.</li><li>Verify the same behavior from a different IP and a different account to rule out session-specific bugs.</li><li>Don’t assume presence of “admin” in JS means server trusts it — but don’t ignore it either.</li></ul><h3>Patterns that usually lead to high-severity bugs</h3><ul><li>Endpoints with ?id=, ?user=, ?uid= that return data.</li><li>Client-side role names / isAdmin flags used to enable UI only (server must own this check).</li><li>Secrets, API tokens, or keys present in JS (even partial keys can be abused).</li><li>References to internal domains, staging endpoints, S3 buckets, or employee GitHub repos.</li></ul><h3>Responsible disclosure checklist</h3><ol><li>Record PoC steps (exact request, headers, sample responses).</li><li>Confirm impact (data leaked, actions possible).</li><li>Check the target’s bug bounty or security policy (HackerOne, Bugcrowd, or private).</li><li>Avoid extracting or exfiltrating real user data beyond what’s necessary for proof.</li><li>Include remediation hints: server-side auth checks, remove sensitive info from client bundles, rotate leaked keys.</li><li>Provide a timeline and await vendor acknowledgment. If public disclosure is planned, coordinate with the vendor.</li></ol><h3>Quick remediation suggestions for dev teams</h3><ul><li><strong>Never</strong> trust client-side role checks. Implement server-side authorization for all admin endpoints.</li><li>Remove secrets from frontend bundles; use environment-backed secrets and short-lived tokens.</li><li>Rate-limit and validate user/id parameters on the server.</li><li>Use RBAC on server endpoints; never toggle permissions purely via JS.</li><li>Monitor logs for anomalous requests to admin endpoints.</li></ul><h3>Tools cheat-sheet</h3><ul><li>gau — harvest URLs from archives.</li><li>httpx / httpx-toolkit — probe HTTP status + live checking.</li><li>linkfinder.py — extract URLs from JS.</li><li>JSParser.py — logic / AST-style analysis.</li><li>gf — pattern hunting (api-keys, interesting, etc.).</li><li>SecretFinder — find secrets/tokens.</li><li>Burp Suite (Repeater, Intruder) — validate and exploit safely.</li><li>Prettier / js-beautify / de4js — format &amp; deobfuscate.</li><li>ChatGPT / Claude — explain tricky JS functions &amp; help deobfuscate (use carefully).</li></ul><h3>Example disclosure summary (short)</h3><blockquote><em>Found: </em><em>/admin/logs?user= in </em><em>bundle.js with client-only role logic (</em><em>user == &quot;superman&quot;). Replay in Burp returned full admin data for arbitrary user IDs without authentication. Impact: unauthenticated access to admin logs (sensitive). Recommendation: enforce server-side authorization for </em><em>/admin/*, remove client-side role checks, rotate any exposed secrets.</em></blockquote><h3>Final thoughts — keep hunting, but keep it ethical</h3><p>JS recon gives you an unfair advantage — JS lives on the client, so it leaks intent, routes, and sometimes secrets. But don’t get sloppy: static scanning finds candidates; Burp + manual testing confirms severity. And when you find a vuln that gives admin access because of client-only logic — that’s the kind of report that gets bounties.</p><p>If you want, I can:</p><ul><li>Turn this into a ready-to-publish blog with intro, headings, and screenshots (I can mock screenshots).</li><li>Generate a disclosure template tailored to the target you found.</li><li>Produce a GitHub Actions script to automate the SecretFinder run and summarize results.</li></ul><p>#HappyHacking</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a0a3a3cd1df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hunting Dependency Confusion: Supply Chain Vulnerabilities for Bug Bounties]]></title>
            <link>https://icecream23.medium.com/hunting-dependency-confusion-supply-chain-vulnerabilities-for-bug-bounties-ccb0c4496c01?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/ccb0c4496c01</guid>
            <category><![CDATA[bug-hunting]]></category>
            <category><![CDATA[dependency-injection]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Sat, 11 Oct 2025 19:11:46 GMT</pubDate>
            <atom:updated>2025-10-11T20:07:31.312Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d-Rn9rJK99kETg-XxP88pg.png" /></figure><p>Hey there, fellow bug bounty hunters and security enthusiasts! If you’ve been knee-deep in web app pentesting, you’ve probably chased XSS, SQLi, and IDORs until your eyes crossed. But let’s talk about something sneakier — and potentially more lucrative: <strong>dependency confusion attacks</strong>. This vulnerability sneaks into the software supply chain, turning innocent package managers into unwitting accomplices for attackers. In this post, I’ll break down what it is, why it’s a goldmine for bug bounties, and share two practical methods I’ve used to hunt it down. These techniques rely on open-source tools to automate the grunt work, so you can focus on the fun part: reporting that $10k payout.</p><p>Whether you’re prepping for HackerOne or just sharpening your skills, stick around. By the end, you’ll have a playbook to spot exposed package.json files and check for hijackable dependencies. Let’s dive in.</p><h3>Why Bother Hunting It?</h3><ul><li><strong>Payout Potential</strong>: Bounties range from $1k to $150k, depending on scope and impact.</li><li><strong>Low Hanging Fruit</strong>: Many orgs expose configs via misconfigured servers or leaky repos.</li><li><strong>Scalable</strong>: Automate scans across subdomains or entire GitHub orgs.</li><li><strong>Ethical Edge</strong>: You’re not just finding bugs — you’re hardening supply chains.</li></ul><p>Pro tip: Always check program rules. Some exclude supply chain stuff, but most (like Google’s VRP) love it.</p><h3>Tools You’ll Need</h3><p>Before we get tactical, grab these bad boys. I’ll link ’em up with quick overviews:</p><ul><li><strong>httpx</strong>: A fast HTTP prober for checking live hosts and endpoints. (Not detailed here, but it’s your subdomain lifeline.)</li><li><strong>Nuclei</strong>: A customizable vulnerability scanner using YAML templates to detect issues like exposed configs. It’s blazing fast, community-driven, and perfect for template-based hunts.</li><li><strong>Nuclei Templates</strong>: The repo houses community-curated YAMLs for Nuclei, including ones for exposure detection like leaked package.json files that scream “dependency confusion risk.”</li><li><strong>fff (Fairly Fast Fetcher)</strong>: A Go tool for batch-requesting URLs from stdin without waiting on slow ones — ideal for slamming npm registry checks. Pipe in package names, and it fetches availability status.</li><li><strong>ghorg</strong>: Clones entire GitHub orgs (or users) into one dir for easy grepping — supports filters, backups, and concurrency.</li><li><strong>jq</strong>: JSON processor for parsing package.json like a boss.</li></ul><p>Install via Go/Brew or your distro’s package manager. You’ll also need a GitHub token for ghorg.</p><h3>Method 1: Subdomain Scanning — The Quick and Dirty Way</h3><p>This approach targets exposed web assets. It’s great for programs with broad subdomain scopes.</p><ol><li><strong>Gather Subdomains</strong>: Use tools like Subfinder or Amass to enumerate subdomains for your target (e.g., *.example.com). Dump ’em into subdomains.txt.</li><li><strong>Probe for Live Hosts</strong>:</li></ol><pre>httpx -l subdomains.txt -o alive_subdomains.txt</pre><p><strong>3. Scan for Exposed package.json</strong>:</p><pre>nuclei -l alive_subdomains.txt -t nuclei-templates/exposures/configs/package-json.yaml -o packages.txt -v</pre><p>Nuclei’s template sniffs out unprotected /package.json endpoints. The -v flag spits verbose output for debugging. (Pro: This YAML matcher looks for JSON blobs with “dependencies” keys — prime for confusion.)</p><p><strong>4. Check for Hijackable Packages</strong>:</p><pre>cat packages.txt | cut -d &#39; &#39; -f6 | ./fff -s 200 -o root</pre><p>Extracts package names, then fff hammers the npm registry (e.g., https://registry.npmjs.org/&lt;pkg&gt;) at 200ms intervals. Look for 200 OK responses — these are public and ripe for claiming. The -o root saves hits to a dir for review.</p><p>Output: A list of vulnerable packages. PoC by registering one (benignly) and showing install logs.</p><h3>Method 2: GitHub Repo Mining — Deep Dive Edition</h3><p>For orgs with public repos, this uncovers leaked internal deps. It’s thorough but disk-heavy.</p><ol><li><strong>Clone the Org</strong>:</li></ol><pre>ghorg clone organization_name -t github_api_token</pre><p>Boom — every repo in one spot. Use — match-regex to filter (e.g., active projects). Set your token via env: export GHORG_GITHUB_TOKEN=ghp_….</p><p><strong>2. Extract and Validate Dependencies</strong>:</p><pre>find . -type f -name package.json | xargs -n1 -I{} cat {} | jq -r &#39;.dependencies + .devDependencies&#39; | cut -d : -f 1 | tr -d &#39;&quot;|}|{&#39; | sort -u | tr -s &quot;     &quot; | sort -u | xargs -n1 -I{} echo &quot;https://registry.npmjs.org/{}&quot; | grep -v &quot;@&quot; | httpx -status-code -silent -content-length -mc 404</pre><p>Breakdown:</p><ul><li><strong>find</strong> grabs all <strong>package.json</strong>.</li><li><strong>jq</strong> merges <strong>deps/devDeps</strong>, extracts keys.</li><li>Cleanup with <strong>cut/tr/sort</strong> for uniques (skip scoped <strong>@org/pkg</strong>).</li><li>Pipe to <strong>httpx</strong> querying npm — filter for 200s (exists) vs. 404s (free to claim).</li></ul><p>This chain outputs live public mirrors. Cross-reference with internal hints (e.g., unscoped names) for confusion potential.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90pvBdX70TW3HP20WbfXdg.jpeg" /></figure><h3>Pro Tips for Bug Bounty Success</h3><ul><li><strong>Scope Smart</strong>: Start with JS-heavy targets (npm dominates). Python (PyPI) and Java (Maven) variants exist — adapt the chains.</li><li><strong>PoC Polish</strong>: Upload a dummy package that curls your webhook. Demo in a Dockerized build env.</li><li><strong>Avoid Noise</strong>: Use — silent flags; rate-limit to dodge bans.</li><li><strong>Evolve It</strong>: Chain with Aquatone for screenshots or FFUF for deeper endpoint fuzzing.</li><li><strong>Ethics First</strong>: Disclose responsibly — never exploit for real harm.</li><li><strong>Stay Updated</strong>: Nuclei templates evolve; pull the latest commit for fresh exposures.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*DPY9ElmDs6SmBnvFq_eUiw.png" /></figure><h3>Wrapping Up: Secure the Chain, Claim the Bounty</h3><p>Dependency confusion isn’t going away — it’s the SolarWinds of tomorrow, but you can be the hero spotting it today. These methods turned my study notes into a streamlined hunt, netting me a couple reports last quarter. Give ’em a spin on a test target, tweak as needed, and hit submit.</p><p>What’s your go-to supply chain vuln? Drop a comment — let’s geek out. If this sparked ideas, clap, follow, and share. Happy hunting!</p><p><em>Sources: Tools cited inline. Vuln inspired by Birsan’s seminal work.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ccb0c4496c01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pen Testing Is More Than Finding Bugs: A Practical, Client-First Guide]]></title>
            <link>https://icecream23.medium.com/pen-testing-is-more-than-finding-bugs-a-practical-client-first-guide-e23c705f51cd?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/e23c705f51cd</guid>
            <category><![CDATA[pentesting]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Thu, 04 Sep 2025 04:53:24 GMT</pubDate>
            <atom:updated>2025-09-04T04:53:24.663Z</atom:updated>
            <content:encoded><![CDATA[<p>When most folks hear “penetration test,” they picture hackers racing to pop shells and rack up CVEs. Fun, sure — but a good pentest is a <strong>structured, goal-driven engagement</strong> that helps a non-expert client understand and improve their security posture. It’s consulting, not just conquest.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CGN4SNy8PNzRPW_G" /><figcaption>Photo by <a href="https://unsplash.com/@proggga?utm_source=medium&amp;utm_medium=referral">Mikhail Fesenko</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Start with outcomes, not tools</h3><p>Before you touch a scanner, agree on a <strong>SMART goal</strong> (Specific, Measurable, Attainable, Relevant, Timely). That shared goal anchors every decision: which assets to test, how deep to go, what success looks like, and how much time to budget. Lean on established methodologies for consistency and coverage, but tailor the approach to the client’s risk, architecture, and constraints.</p><h3>Scope is everything (and communication is the job)</h3><p>Define <strong>in-scope</strong> and <strong>out-of-scope</strong> assets precisely — and then configure your tools to honor that scope. Don’t “assume and attack.” Ask questions. Confirm boundaries in writing. Your clients are usually not security specialists; they’re counting on you to translate goals into a safe, controlled test that won’t disrupt production or drift into legal gray zones.</p><h3>Ethics isn’t a checkbox</h3><p>You’ll sign an <strong>NDA,</strong> and you’re responsible for protecting sensitive data, guarding against leaks, and shutting down sketchy requests. If a client expects you to do something unsafe or unethical, push back — or walk away. Your north star: protect the client, their users, and the broader ecosystem.</p><h3>The many flavors of pentesting (and what they’re really about)</h3><p>Pentesting isn’t a single sport; it’s a league. Here are common types and what you’re trying to learn from each:</p><ul><li><strong>Network / Organization</strong>: Enumerate services and trust relationships, exploit misconfigurations or weak architecture, and occasionally validate resiliency (e.g., controlled DoS scenarios <strong>only</strong> if explicitly approved). Tooling is heavy, but network fundamentals matter most.</li><li><strong>Web Applications</strong>: Combine automation with creative manual testing. Scanners are like diligent assistants — they miss things. Use intercepting proxies (Burp, ZAP), test business logic, chase auth/session issues, and aim for meaningful impact (not just a novelty XSS).</li><li><strong>APIs</strong>: Read the docs, think like a developer, and test abuse cases (mass assignment, Broken Object Level Authorization, rate limits). Tools like Postman/ReadyAPI help, but custom scripts are common. OWASP’s API guidance is your friend.</li><li><strong>Mobile, Cloud/Hybrid, IoT, Web3/Metaverse, Social Engineering, Automotive, Physical</strong>: The attack surfaces keep evolving; the principles don’t. Understand the platform, map the trust boundaries, and test the assumptions the system quietly makes.</li></ul><h3>Deliverables your client will actually use</h3><p>A strong engagement produces artifacts that withstand audits, leadership reviews, and future retesting:</p><p><strong>Always include</strong></p><ul><li><strong>NDA</strong>: Baseline trust and data handling.</li><li><strong>Test Plan</strong>: Scope, methods, timelines, rules of engagement, and contact/escalation paths.</li><li><strong>Test Report</strong> with:</li><li><strong>Vulnerability list</strong> tied to assets/scope</li><li><strong>Steps to reproduce</strong> (so engineers can validate fixes)</li><li><strong>Actual vs. expected results</strong> (clear impact)</li><li><strong>CVSS (or equivalent) score</strong> and <strong>business severity</strong></li><li><strong>Executive summary &amp; coverage stats</strong> (for non-technical stakeholders)</li><li><strong>Debrief</strong>: Live walkthrough or clear written summary to ensure the findings land.</li><li><strong>Sign-off Slip</strong>: “We did what we agreed to, to the standard we agreed upon.” This closes the loop and reduces downstream disputes.</li></ul><p><strong>Nice-to-have</strong></p><ul><li><strong>Automation artifacts</strong> (scripts, harnesses)</li><li><strong>Proxy project files</strong> (e.g., ZAP/Burp state)</li><li><strong>Supplemental test cases or checklists</strong> for the client’s future regression tests.</li></ul><h3>Tools are table stakes; thinking is the edge</h3><p>Use scanners and proxies, yes — but treat them as <strong>force multipliers</strong>, not oracles. The highest-value findings often come from human insight: odd state transitions, permission boundary mistakes, or business logic that breaks under real-world conditions. Even in well-tooled environments, manual exploration closes the gap automation leaves open.</p><h3>Five phases, one promise</h3><p>Although approaches vary, most pentests follow a rhythm: <strong>planning → discovery → exploitation → validation/impact → reporting/debrief</strong>. Through it all, keep your promise simple and visible: <strong>help the client understand risk and confidently take the next step</strong>. That’s the job.</p><h3>Make checklists your quiet superpower</h3><p>Checklists don’t kill creativity; they <strong>protect</strong> it — by making sure you don’t forget the basics while you chase the interesting edge cases. They also make coverage measurable and repeatable, which executives and auditors love. Build your own, adapt public ones, and evolve them per client and stack.</p><h3>TL;DR for leaders</h3><ul><li>Ask for a <strong>SMART goal</strong> and a <strong>written scope</strong>.</li><li>Expect a <strong>plan</strong>, <strong>evidence-backed findings</strong>, and a <strong>clear remediation path</strong>.</li><li>Insist on a <strong>debrief</strong> and a <strong>sign-off</strong> to close the engagement cleanly.</li><li>Remember: You’re not buying exploits — you’re buying <strong>confidence</strong>.</li></ul><p>If you align on outcomes, scope tightly, act ethically, and deliver reports people can act on, your pentest won’t just find problems — it will help the organization become measurably safer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e23c705f51cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[️‍♂️ How I Bypassed the “Admin” Name Filter on example.target.com with a Unicode Homoglyph]]></title>
            <link>https://icecream23.medium.com/%EF%B8%8F-%EF%B8%8F-how-i-bypassed-the-admin-name-filter-on-example-target-com-with-a-unicode-homoglyph-ef653a59da5b?source=rss-5c0df6a6ddfe------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef653a59da5b</guid>
            <category><![CDATA[bug-bounty-tips]]></category>
            <category><![CDATA[recon]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Aman Bhuiyan]]></dc:creator>
            <pubDate>Mon, 04 Aug 2025 11:25:07 GMT</pubDate>
            <atom:updated>2025-08-04T11:25:10.893Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>“If it looks like ‘Admin’, feels like ‘Admin’, and reads like ‘Admin’… is it really ‘Admin’?”</em></blockquote><p>Well, not always.</p><h3>🔍 The Spark</h3><p>One late-night bug hunting session led me down a rabbit hole on example.target.com.</p><p>While editing my user profile, I noticed that the display name field had a restriction:</p><blockquote><em>“This display name cannot be used.”</em></blockquote><p>Naturally, I was trying to set it to <strong>Admin</strong>— and they were clearly blocking it.</p><p>Totally understandable. Big tech companies don’t want impersonators walking around claiming to be the OGs of open-source browsers, community platform or social platform.</p><p>But as a security researcher and a homoglyph nerd, I couldn’t resist asking:<br> <strong>Can I trick the system with a Unicode clone?</strong></p><h3>🧠 What’s a Homoglyph Anyway?</h3><p>A <strong>homoglyph</strong> is a character that <em>looks</em> like another character, but isn’t the same under the hood.</p><p>Think of:</p><ul><li>Latin A vs Cyrillic А</li><li>M (U+004D) vs Ꮇ (U+13B7, Cherokee Letter Mo)</li></ul><p>To humans, they’re visually indistinguishable. But to systems? They’re entirely different code points.</p><h3>💡 The Payload</h3><p>Using IronGeek’s Homoglyph Generator, I swapped just one letter — the capital M — with its homoglyph:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*zjmU2vA7RBCSDdcR_gBw9A.png" /></figure><pre>Admin // without Cherokee Letter(Restricted Keyword)</pre><pre>Admin // with Cherokee Letter(successfully bypass)<br>// Where only the first character — the M — was swapped with its Unicode twin: Ꮇ (U+13B7).</pre><p>Then I submitted the following name as my profile display name:</p><pre>Admin</pre><p>Boom. It worked.</p><p>The result?</p><p>✅ No error.<br> ✅ Display name accepted.<br> ✅ Visually identical to the forbidden one.</p><blockquote>(I’ve submitted these as part of my disclosure, but will add them here once the issue is publicly addressed.)</blockquote><h3>🔥 Why This Is Dangerous</h3><p>At first glance, it seems small — but in real platforms, display names are <strong>trust signals</strong>.</p><p>If someone can spoof a brand or official name visually:</p><ul><li>They might trick users into trusting them</li><li>They could launch phishing attempts</li><li>Or simply erode trust in the platform itself</li></ul><p>Homoglyph-based impersonation isn’t new — but it’s still <strong>wildly effective</strong>, especially when protections rely only on visual matches or hardcoded filters.</p><h3>🔐 Responsible Disclosure</h3><p>I reported this issue through HackerOne. They responded promptly, acknowledged the report, and are handling it internally. Out of respect for their disclosure policy, I won’t name the platform at this time.</p><p>This blog post is intended for educational purposes — and will be updated once public disclosure is approved.</p><h4>👨‍💻 Final Thoughts</h4><p>This bug wasn’t complex. No SQLi. No memory corruption. Just a sneaky little Unicode swap.</p><p>But it was still impactful — because sometimes, the simplest tricks are the most powerful.</p><p>If this helped you understand homoglyph attacks a little better, share it. If you’re a dev, check your filters. And if you’re a bug hunter… keep poking.</p><p>You never know which character might be hiding in plain sight.</p><h3>🔐 Responsible Disclosure</h3><p>I reported this issue through HackerOne. They responded promptly, acknowledged the report, and are handling it internally. Out of respect for their disclosure policy, I won’t name the platform at this time.</p><p>This blog post is intended for educational purposes — and will be updated once public disclosure is approved.</p><p>✉️ <strong>Aman Bhuiyan (@icecream_23)</strong><br> Cybersecurity learner | Bug bounty hunter | Human Unicode parser</p><p>🛠️ Stay curious. Stay ethical. Hack smart.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef653a59da5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>