<?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 Cyphersilhouette on Medium]]></title>
        <description><![CDATA[Stories by Cyphersilhouette on Medium]]></description>
        <link>https://medium.com/@cyphersilhouette?source=rss-0a5520417821------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*JYogtFZvbh36aQEVrU61Jw.png</url>
            <title>Stories by Cyphersilhouette on Medium</title>
            <link>https://medium.com/@cyphersilhouette?source=rss-0a5520417821------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:30:15 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cyphersilhouette/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[How to Set Up Secrets Management Without Overengineering]]></title>
            <link>https://medium.com/@cyphersilhouette/how-to-set-up-secrets-management-without-overengineering-9decb69ab60d?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/9decb69ab60d</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[secret-management-tools]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[devsecops]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Wed, 29 Jul 2026 10:15:06 GMT</pubDate>
            <atom:updated>2026-07-29T10:15:06.854Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dYgzoEaQf-gauDw5tha5Ww.png" /></figure><p>A practical approach for startups that actually works</p><p>I’ve reviewed security at over 50 startups. The #1 mistake? Hardcoded secrets in code, .env files committed to git, and API keys shared in Slack.</p><p>The second mistake? Overengineering with enterprise tools they don’t need yet.</p><p>Here’s the practical approach that actually works.</p><h3>Why This Matters</h3><p>A single leaked API key can cost you everything:</p><ul><li>Stripe keys — Attackers drain your revenue</li><li>* AWS credentials — Crypto miners rack up $50K bills overnight</li><li>* Database passwords — Customer data breach, game over</li></ul><p>You don’t need HashiCorp Vault on day one. You need something better than “it’s in Slack somewhere.”</p><h3>The 5-Step Approach</h3><h4>Step 1: Audit What You Have</h4><p>Search your codebase for potential secrets:</p><pre>grep -r &quot;API_KEY|SECRET|PASSWORD&quot; --include=&quot;*.js&quot;</pre><p>Make a list. You’ll find more than expected.</p><h4>Step 2: Choose Your Tool</h4><p>For most startups, pick ONE:</p><ul><li>Pre-seed: Doppler or Infisical — Free, easy setup</li><li>* Series A: AWS/GCP Secrets Manager</li><li>* Series B+: HashiCorp Vault</li></ul><h4>Step 3: Separate Environments</h4><p>Dev, staging, production — each gets its own secrets. Never share production credentials with development.</p><h4>Step 4: Access Control</h4><p>Developers shouldn’t have production database passwords:</p><ul><li>Role-based access — Backend gets backend secrets only</li><li>* Audit logging — Know who accessed what</li><li>* Just-in-time access — Temporary credentials</li></ul><h4>Step 5: Rotate and Monitor</h4><p>Rotate immediately after offboarding, quarterly for high-value credentials, automatically where possible.</p><h3>Common Mistakes</h3><ul><li>Committing .env to git — Even private repos leak</li><li>* Sharing secrets in Slack — Searchable forever</li><li>* One master key — Compromise one, lose all</li><li>* No backup plan — What if secrets manager goes down?</li></ul><h3>Takeaways</h3><ul><li>Audit first — Can’t secure what you don’t know exists</li><li>* Start simple — Doppler/Infisical for early stage</li><li>* Separate environments — Different secrets per env</li><li>* Least privilege — Not everyone needs everything</li><li>* Rotate regularly — Especially after offboarding</li></ul><p>Found this useful? I write about practical security weekly. Follow for more insights from 50+ audits.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9decb69ab60d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenClaw Meets Claude Code: The AI-Powered Development Workflow You Didn't Know You Needed]]></title>
            <link>https://medium.com/@cyphersilhouette/openclaw-meets-claude-code-the-ai-powered-development-workflow-you-didnt-know-you-needed-700dcb7d43ea?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/700dcb7d43ea</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Sat, 28 Mar 2026 08:49:22 GMT</pubDate>
            <atom:updated>2026-03-28T08:51:41.153Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vWS-HiURA0s50cPcGXAWIw.png" /></figure><p>In the rapidly evolving landscape of AI-assisted development, two tools have quietly emerged as game-changers for developers who want to move fast without breaking things: OpenClaw and Claude Code. Together, they form a workflow that feels less like coding and more like collaborating with a brilliant pair programmer who never sleeps.</p><p>What Is OpenClaw?</p><p>OpenClaw is a multi-channel AI gateway — an open-source platform that lets you connect AI agents to messaging channels like Telegram, Discord, WhatsApp, and more, all from a single interface. Think of it as a universal remote for AI-powered conversations.</p><p>Instead of building separate bots for each platform, OpenClaw gives you a unified gateway routing messages across all your channels, agent orchestration with isolated workspaces and memory, a plugin ecosystem for extending functionality, cron scheduling for automated tasks, and sandbox isolation for running agent code safely.</p><p>What Is Claude Code?</p><p>Claude Code is Anthropic&#39;s official CLI for Claude — a terminal-native AI assistant that lives where developers already work: the command line. Unlike browser-based AI chat interfaces, Claude Code operates directly in your development environment. It can read and write files, run shell commands, search codebases, edit code surgically, manage git workflows, install packages, and debug errors by reading logs and tracing issues.</p><p>Why They Work So Well Together</p><p>OpenClaw connects AI to the outside world through chat platforms. Claude Code connects AI to your codebase through the terminal. One handles runtime agent orchestration, the other handles development-time assistance. They occupy complementary spaces.</p><p>The Workflow in Practice</p><p>Imagine building an AI-powered service that responds to customer queries across Telegram and Discord. Step 1: You scaffold with Claude Code — describe what you want, and it generates route handlers, webhook endpoints, and channel configuration following your code conventions. Step 2: You configure with OpenClaw — run openclaw configure to link your bot tokens and model preferences. Step 3: You iterate in real-time — as messages flow through OpenClaw, you spot edge cases and describe them to Claude Code, which patches the logic instantly. Step 4: You deploy and monitor — Claude Code commits and pushes, while OpenClaw&#39;s health checks keep you informed.</p><p>Practical Tips</p><p>Let Claude Code handle the boilerplate — OpenClaw plugins follow predictable patterns, so describe the behavior and let Claude Code generate the scaffolding. Use OpenClaw&#39;s agent isolation for testing before routing live traffic. Automate with cron plus code generation — use Claude Code to write summarization logic, then schedule it through OpenClaw. Debug across the stack — Claude Code reads application logs while OpenClaw tails the gateway output.</p><p>The Bigger Picture</p><p>We are entering an era where AI tools don&#39;t just assist developers — they compose with each other. OpenClaw is an orchestration layer. Claude Code is a development agent. When you combine them, you get the ability to go from idea to deployed, multi-platform AI service in a single sitting. The barrier to building sophisticated AI-powered applications is dropping fast. Tools like OpenClaw and Claude Code are not just lowering it — they are removing it entirely.</p><p>Get Started: OpenClaw — npm install -g openclaw | Claude Code — available at claude.ai/code</p><p>Try building something with both this weekend. You might be surprised how far you get.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=700dcb7d43ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Answer the Security Question in Your Series A Pitch]]></title>
            <link>https://medium.com/@cyphersilhouette/how-to-answer-the-security-question-in-your-series-a-pitch-72cab71bff74?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/72cab71bff74</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[compliance]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Wed, 18 Mar 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-03-18T12:01:01.146Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Investors who have seen portfolio company breaches now ask specific follow-ups. Here’s what a credible answer actually sounds like</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K9sEES7LgFEXXNSx-5bOjg.png" /></figure><p>At some point during your Series A process, someone in the room is going to ask a version of this question:</p><blockquote><em>“Walk me through your security posture. How are you protecting customer data?”</em></blockquote><p>The most common answer I’ve observed founders give is a variation of: ‘We take security very seriously. We use HTTPS, encrypt data at rest, and follow best practices.’</p><p>I’m not saying this to be critical — it’s the honest answer for a lot of early-stage companies. But investors who have been through a portfolio company security incident, which is a growing category, know that this answer describes a minimum standard, not a posture. And they have follow-up questions.</p><p>Here’s what a more complete answer looks like, and the practical work required to give it.</p><p><strong>What the Question Is Really Asking</strong></p><p>The security question in a due diligence context has three underlying sub-questions:</p><ol><li>Do you have a documented understanding of your security posture, or are you operating on assumption?</li><li>Has your security posture been validated externally, or is it entirely self-assessed?</li><li>Do you have a systematic process for handling security issues when they arise?</li></ol><p>Investors are not expecting Series A companies to have enterprise security programs. They are expecting Series A companies to have thought carefully about security relative to their stage, their customer data, and their business risk. The difference between a credible and a non-credible answer is whether you can demonstrate that thinking specifically.</p><p><strong>The Answer to Question 1: Your Documented Posture</strong></p><p>The minimum viable version of a documented security posture for an early-stage SaaS company includes:</p><ul><li>An inventory of the third-party services that have access to customer data, and what access each has</li><li>A description of your authentication and authorisation model</li><li>A description of how sensitive data is stored, transmitted, and retained</li><li>A log of the significant security-relevant architectural decisions you’ve made and why</li></ul><p>If these don’t exist as documented artifacts, you have a belief that your security is reasonable, not a documented posture. The belief may be correct — but in a due diligence conversation, belief is not a substitute for documentation.</p><p>The practical implication: if you’re six months from a Series A process, starting this documentation now is not premature. It’s exactly the right time.</p><p><strong>The Answer to Question 2: External Validation</strong></p><p>There’s a credibility spectrum for security validation:</p><ul><li>Automated tooling alone: low differentiation — most companies have this</li><li>Bug bounty programme: moderate credibility — signals openness to external review</li><li>Third-party security audit: high credibility — demonstrates investment and structured process</li><li>SOC 2 Type II: highest credibility, but probably not relevant at pre-Series A stage unless you’re selling into regulated industries</li></ul><p>The answer that reliably lands in a Series A context: ‘We completed a security audit with [auditor] in [month]. The scope covered [specific areas — authentication, API, multi-tenant isolation]. We had [n] critical findings, all remediated, and [n] high-severity findings on a defined remediation schedule. The report is available in the data room.’</p><p>That answer is specific. It’s verifiable. It demonstrates that you’ve engaged seriously with the question rather than deferred it. Those three properties matter in a room full of people who have seen the alternative.</p><p><strong>The Answer to Question 3: Your Process</strong></p><p>The process answer doesn’t require you to have a dedicated security team. It requires you to have a consistent approach that can be described.</p><p>A credible process answer at Series A stage sounds like: ‘Security findings are triaged using a severity framework. Critical findings are addressed before deployment. High-severity findings have a 30-day SLA. We do quarterly dependency vulnerability reviews. Security considerations are introduced at sprint planning for any features that touch authentication, data storage, or external integrations.’</p><p>That description tells the investor: you have a system. Security is managed, not left to chance. The system is appropriate for your stage.</p><p><strong>The Follow-Up Questions Sophisticated Investors Ask</strong></p><p><strong>“Have you had any security incidents?” </strong>The honest answer here — whether yes or no — lands better than an evasive one. If no: say it clearly. If yes: describe what happened, how you detected it, how you responded, and what control changes resulted. A specific, mature incident response narrative is reassuring, not alarming. It demonstrates that your organisation handles adversity systematically.</p><p><strong>“What customer data do you store and how is it protected?” </strong>You should be able to answer this with specifics: what categories of data, what encryption standard, where it lives, who has access, and what the access controls are. If the answer involves searching for the right words, that’s a signal that the data inventory isn’t complete.</p><p><strong>“What happens to customer data if you sunset this product?” </strong>This is a question about data retention policy and offboarding procedures. A specific answer — ‘we delete customer data within 30 days of contract termination per our ToS, and we have a data deletion process documented’ — is significantly stronger than ‘we’d work with customers to migrate their data.’</p><p><strong>One Practical Observation</strong></p><p>The founders who answer security questions well in due diligence are almost always the ones who had the security conversation with their team six months earlier, not six days earlier. The documentation, the audit, the process — these take time to build and to describe accurately.</p><p>If you’re reading this well before a fundraising process, that’s the right time to start. Not because investors require perfection, but because the work required to answer these questions credibly is also the work required to actually have a reasonable security posture. The preparation and the substance are the same thing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72cab71bff74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Changes When You Actually Know Your Product Is Secure]]></title>
            <link>https://medium.com/@cyphersilhouette/what-changes-when-you-actually-know-your-product-is-secure-1521cd91987c?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/1521cd91987c</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[founders]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Mon, 16 Mar 2026 10:01:01 GMT</pubDate>
            <atom:updated>2026-03-16T10:01:01.530Z</atom:updated>
            <content:encoded><![CDATA[<p><em>It’s not the report. It’s the shift from ‘we hope it’s fine’ to ‘we know what we’re managing.’</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TzYO8TKd6r34JKvDIkMk5w.png" /></figure><p>Most security content is about threats. What attackers are doing, what vulnerabilities exist, what happens when things go wrong.</p><p>I want to write about the other side — what I consistently observe in founders and engineering teams in the months after a thorough security audit closes.</p><p>It’s not what I expected when I first started doing this work.</p><p><strong>The Thing Nobody Told Me About Security Anxiety</strong></p><p>Before I started running formal audits, I assumed that the value of a security review was primarily the findings. Find the vulnerabilities, fix the vulnerabilities, the product is more secure. Clear transaction.</p><p>What I didn’t anticipate was how much of the value would come from resolving a background uncertainty that most founders carry without quite naming it.</p><p>The uncertainty sounds like: ‘We’ve built something carefully, our team knows what they’re doing, and we’re probably fine — but we’ve never had anyone specifically look for the things we might have missed.’</p><p>That uncertainty is rational. It corresponds to a real epistemic state: assumption. You’re not certain things are fine; you’re operating on the reasonable belief that they probably are.</p><p>A thorough security audit converts assumption into knowledge. Not certainty — software evolves and no audit is a permanent guarantee — but a documented baseline. A structured answer to ‘what is our security posture and what are we actively managing?’</p><p>That shift matters more than I expected.</p><p><strong>The Three Changes I Observe in Clients</strong></p><p>I’ve noticed three consistent patterns in founders who engage seriously with the audit process — not just file the report, but actually work through the findings and integrate the output.</p><p><strong>Enterprise Sales Conversations Accelerate</strong></p><p>The security questionnaire that previously required three days of back-and-forth between the founder, the engineering team, and legal counsel gets completed in an afternoon. Not because the founder became a security expert, but because the audit produced documentation that maps directly to the questions enterprise customers ask.</p><p>One founder I worked with closed an enterprise deal that had been stalled on a security review for six weeks. The audit report gave her the answers. The enterprise customer’s security team reviewed them and accepted them. The deal closed ten days after the report was finalised.</p><p>That’s not a product improvement. That’s a sales cycle improvement, driven by having done the security work rather than avoided it.</p><p><strong>Investor Due Diligence Gets Cleaner</strong></p><p>Series A investors are increasingly asking specific security questions as part of diligence. ‘What’s your security posture?’ is now a real question with follow-ups, not a checkbox.</p><p>A founder who can say ‘we completed a security audit in [month] covering [specific areas], had [n] critical findings, all of which have been remediated — the report is in the data room’ is in a genuinely different position from a founder who says ‘we take security seriously and follow best practices.’</p><p>The first answer is specific and verifiable. The second answer is what every founder says. Specific evidence of a specific process signals organisational maturity, which is one of the things investors at Series A stage are actually evaluating.</p><p><strong>The Engineering Team’s Internal Conversations Change</strong></p><p>This one surprised me the most. Several founders reported that after an audit, security considerations started appearing in sprint planning discussions without anyone specifically introducing them.</p><p>Developers who had been through the findings review started asking security questions about new features at the design stage. ‘Are we going to enforce authorisation on this the same way we do for the existing endpoints?’ ‘What happens to the session state if this flow completes out of order?’</p><p>The audit gave the team a framework and a vocabulary. The framework started getting applied automatically. That’s a cultural shift that a report alone doesn’t produce — it comes from the team genuinely engaging with the findings rather than just closing tickets.</p><blockquote><strong>What the Monitoring Dashboard Has to Do With It</strong></blockquote><p>Three different founders, in separate conversations, described the same change after their audit closed: they stopped checking their monitoring dashboard every morning.</p><p>Not because they stopped caring about security. Because the background hum of ‘what if something is broken that I don’t know about’ had resolved. They still checked the dashboard. They just stopped checking it with anxiety.</p><p>That sounds small. In the lived experience of building something people depend on, it isn’t small. It’s the difference between operating from a foundation of knowledge and operating from a foundation of hope.</p><p>The founders I’ve worked with who describe this shift weren’t being dramatic. They were describing what it feels like to have moved a real, unresolved uncertainty off the list of things they’re carrying.</p><h3><strong>A Realistic Note</strong></h3><p>I want to be honest about what a security audit doesn’t do: it doesn’t make your product permanently secure. Software evolves, new vulnerabilities are discovered, and the security posture of a product six months after an audit is different from its posture immediately after.</p><p>What it does is give you a clear starting point — a documented baseline that you can maintain and build from. The founders I’ve described above didn’t stop thinking about security after their audit. They started thinking about it from a position of knowledge rather than uncertainty. That’s a much better place to operate from.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1521cd91987c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 11-Point Pre-Deployment Security Checklist I Use on Every Client Engagement]]></title>
            <link>https://medium.com/@cyphersilhouette/the-11-point-pre-deployment-security-checklist-i-use-on-every-client-engagement-d53f06a301bf?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/d53f06a301bf</guid>
            <category><![CDATA[pre-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-03-13T12:01:01.127Z</atom:updated>
            <content:encoded><![CDATA[<p><em>These checks eliminate roughly 60% of the critical findings from formal audits. The other 40% requires a different kind of attention — but start here.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qbXTWGcaTGd1FGqaNWnIcQ.png" /></figure><p>I want to give you something directly actionable.</p><p>After running structured security audits across enough SaaS products, I have a clear picture of the findings that appear consistently in formal audits but could have been caught earlier, with much less effort, by the team itself.</p><p>The checklist below addresses those findings. It won’t make a formal audit unnecessary — there’s a category of vulnerability that genuinely requires external, adversarial attention to surface. But running through this list before each deployment removes the preventable findings and frees a formal audit to focus on the interesting problems.</p><p><strong>How to Use This Checklist</strong></p><p>Run through these 11 checks before any significant deployment. For some checks, the process is a quick scan. For others, it’s a 20-minute manual test. I’ve included the specific tool or command for each one where applicable.</p><p>Mark each check as pass, fail, or deferred (with a reason). If you’re deferring anything on this list, that deferral should go into your Known Risk Register.</p><p><strong>The 11 Checks</strong></p><p><strong>1. Scan Your Full Git History for Committed Credentials</strong></p><p>Not just recent commits. The full history, including branches and tags. Tools like truffleHog or git-secrets are designed for this specifically.</p><pre># Install truffleHog<br>pip install truffleHog3<br># Scan entire git history<br>trufflehog git file://. --only-verified</pre><p>A credential that was committed and then removed is still in the git history. If the repository has ever been public, assume any committed credential is compromised.</p><p><strong>2. Verify No Debug Endpoints Are Live in Production</strong></p><p>Search your codebase for routes or middleware gated on debug flags, then verify those flags are set correctly in your production environment.</p><pre># Search for debug-gated routes in a Node.js project<br>grep -r &#39;process.env.DEBUG\|NODE_ENV.*development&#39; ./src --include=&#39;*.js&#39;</pre><p>Test a sample of the flagged locations manually against your production environment to confirm they’re not accessible.</p><p><strong>3. Test That Error Responses Don’t Expose Internal State</strong></p><p>Submit deliberately malformed requests to 10–15 endpoints in your application and review the responses. Confirm that responses contain no stack traces, internal file paths, database error messages, or framework version strings.</p><p>A simple test: send a request with a malformed JSON body, a missing required parameter, and an invalid data type for a required field. What does each one return?</p><p><strong>4. Audit All Third-Party Scripts for Source and Version Pinning</strong></p><p>List every third-party JavaScript resource loaded by your application. Verify that each one is loaded from a specific, versioned URL — not a CDN path that could be updated without your control.</p><pre># In your HTML/template files<br>grep -r &#39;&lt;script src&#39; ./src --include=&#39;*.html&#39; --include=&#39;*.ejs&#39;</pre><p>A compromised third-party analytics script has full access to your users’ browser sessions. This check takes 15 minutes. The exposure window without it is permanent.</p><p><strong>5. Verify Rate Limiting on Every Authentication Flow</strong></p><p>Test the following endpoints independently: login, password reset request, password reset token submission, OTP/2FA verification code submission, account creation.</p><p>For each one, send 20 rapid requests and verify that a rate limit response appears. Record the threshold for each.</p><p>The common gap: rate limiting exists on the login endpoint but not on the password reset flow. These need to be tested separately.</p><p><strong>6. Test Resource-Level Authorisation Across Permission Tiers</strong></p><p>Create accounts at each permission level in your system. For a representative sample of API endpoints, test that the correct authorization is enforced.</p><p>The specific test: with a lower-privilege account, attempt to access or modify resources belonging to a higher-privilege account or a different user entirely. Any 200 response that should have been a 403 is an authorization finding.</p><p><strong>7. Review Your CORS Policy</strong></p><p>Check your CORS configuration and verify that the allowed origins are exactly the domains that should have cross-origin access to your API. Test this directly:</p><pre>curl -H &#39;Origin: https://evil.example.com&#39; \<br>     -H &#39;Access-Control-Request-Method: GET&#39; \<br>     -I https://api.yourproduct.com/v1/sensitive-endpoint</pre><p>If the response includes Access-Control-Allow-Origin: * on an authenticated endpoint, that’s a finding worth addressing.</p><p><strong>8. Check Cookie Flags for Session Tokens</strong></p><p>Open your application in a browser, log in, and inspect every cookie that’s set. Verify that cookies containing session data have both the Secure flag (HTTPS only) and the HttpOnly flag (not accessible to JavaScript).</p><p>In Chrome DevTools: Application tab → Cookies → check the Secure and HttpOnly columns for each cookie.</p><p><strong>9. Run a Dependency Vulnerability Scan</strong></p><p>Run your language’s dependency audit tool and triage the output before deployment.</p><pre># Node.js<br>npm audit<br># Python<br>pip-audit<br># Ruby<br>bundle audit</pre><p>The goal isn’t zero vulnerabilities — that’s often not achievable. The goal is no unreviewed vulnerabilities. Each finding should be triaged: fixed, deprioritised with documented rationale, or escalated.</p><p><strong>10. Confirm Secrets Are Not in Repository-Tracked Files</strong></p><p>Verify that your .gitignore explicitly excludes .env and similar configuration files. Verify that no .env files are currently tracked in your repository.</p><pre>git ls-files | grep -E &#39;\.env|config/secrets|credentials&#39;</pre><p>If any sensitive configuration files appear in this output, they’re tracked by git and should be removed from tracking using git rm — cached.</p><p><strong>11. Test Tenant Isolation (Multi-Tenant Products)</strong></p><p>If your product is multi-tenant, manually verify that data from one organisation cannot be accessed by a member of a different organisation.</p><p>Create two accounts in two different organisations. Attempt to access data from Organisation A using authenticated credentials from Organisation B — by modifying identifiers in API requests, not through the UI. Any successful cross-tenant access is a critical finding.</p><p>This check must be done manually. Automated scanners cannot infer your tenancy model.</p><h3>What This Checklist Doesn’t Cove<strong>r</strong></h3><p>These 11 checks address the systematic, repeatable findings that appear across most SaaS products. They don’t address the business logic vulnerabilities that are specific to your product. They don’t address the deeper architectural issues that require a threat-model-driven approach. They don’t replace a formal audit.</p><p>What they do is ensure that a formal audit can focus on the interesting problems rather than the predictable ones. Auditors who find committed credentials and missing rate limiting are not looking for the vulnerabilities that only appear when someone understands your product deeply.</p><p>Use this checklist to remove the preventable findings. Then get an external set of eyes on what remains.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d53f06a301bf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Brief a Non-Technical Founder on a Security Finding Without Losing Them in the First…]]></title>
            <link>https://medium.com/@cyphersilhouette/how-to-brief-a-non-technical-founder-on-a-security-finding-without-losing-them-in-the-first-45927e483fe0?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/45927e483fe0</guid>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[thestartup]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-03-11T12:01:01.777Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How to Brief a Non-Technical Founder on a Security Finding Without Losing Them in the First Paragraph</strong></h3><p><em>The goal isn’t to teach them security. It’s to give them the information they need to make a good decision.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GIYWKu6PO9_OmoRewH_0bA.png" /></figure><p>I’ve given security briefings to non-technical founders that went well and ones that went badly. The pattern in the ones that went badly is consistent: I was treating the briefing as an education session.</p><p>Here’s what I’ve learned to do differently — both from conducting my own post-audit briefings and from watching developers present findings internally.</p><p><strong>The First Mistake: Starting With the Technical Finding</strong></p><p>‘We found a SQL injection vulnerability in the user search endpoint.’</p><p>That sentence is technically accurate. To a non-technical founder, it communicates approximately nothing. They don’t know what SQL injection is, they don’t know whether it’s critical or minor, they don’t know what they’re supposed to do with this information.</p><p>The correct starting point is the business consequence, not the technical mechanism:</p><p>‘We found a vulnerability in the search feature that would allow an attacker who isn’t logged in to access any customer record in your database. You have 280 customers. The potential exposure covers everything those customers have shared with your product.’</p><p>Same finding. The second version gives the founder what they actually need: the scope of the risk, the realistic impact, and enough context to understand why it matters.</p><p>A useful structure to default to: [what an attacker can do] + [what data or function is at risk] + [realistic consequence for this specific company]. The technical mechanism can come after, as supporting detail, if the founder wants it.</p><p><strong>The One-Number Rule</strong></p><p>Non-technical founders cannot effectively process a list of seventeen security findings of varying severity. They can process one number clearly: the single most important thing to fix before the next significant business event.</p><p>Before any security briefing — internal findings review, post-audit presentation, or informal update — answer this question for yourself first: if this team could only address one finding before the next investor meeting, enterprise onboarding, or product launch, what is it?</p><p>Lead the briefing with that finding. Spend the majority of the time on it. Then mention the others with effort estimates and ask whether to schedule time for the rest.</p><p>A founder who leaves a briefing knowing exactly what needs to happen tomorrow is more actionable than a founder who leaves knowing a lot about security. The purpose of the briefing is a decision, not an education.</p><p><strong>Analogies That Actually Work (Use These Freely)</strong></p><p>Good analogies aren’t dumbing things down. They’re translating from one domain to another. Here are several that I’ve found land consistently with non-technical founders:</p><blockquote><strong>Authorization bypass: </strong>Imagine your office building’s security system checks that everyone entering has a valid keycard — but doesn’t check which rooms each keycard is supposed to unlock. Everyone gets through the front door correctly. But once inside, any keycard opens any room.</blockquote><blockquote><strong>Exposed API credentials: </strong>Imagine printing your bank account login on a public noticeboard. That’s roughly what it means to have an API key committed to a public code repository.</blockquote><blockquote><strong>Insecure direct object reference: </strong>Your customer files are in a secure filing cabinet with a working lock. The issue is that once someone is inside the building, they can look at any folder in the cabinet, not just their own.</blockquote><blockquote><strong>Rate limiting gap: </strong>Imagine someone trying to guess a combination lock. If there’s no limit on attempts, they just keep trying combinations until they get in. Rate limiting is the mechanism that stops them after a certain number of wrong tries.</blockquote><p>These analogies don’t need to be technically precise to be useful. They need to give the founder an accurate intuition about the risk, which they can then act on.</p><p><strong>End Every Briefing With a Decision, Not a Summary</strong></p><p>The most common weakness I see in internal security briefings: they end with ‘so that’s the current state. Any questions?’</p><p>That ending puts the burden on the founder to figure out what to do with what they’ve just been told. Most won’t know what to ask. The conversation ends. The findings sit in a document.</p><p>The better structure is to end with a proposed decision:</p><p>‘Based on what we’ve covered, here are two decisions I’d like to make before we close this meeting: [decision 1] and [decision 2]. My recommendation on both is X. Do you want to take them, or do you want more information on either one before deciding?’</p><p>This framing treats the briefing as having a purpose — a decision — rather than being an information transfer. It respects the founder’s time and role, and it produces an outcome rather than a to-do item that may never become a ticket.</p><p><strong>One More Thing: The Founder Who Pushes Back</strong></p><p>Sometimes you’ll brief a founder on a finding and they’ll respond with: ‘That sounds theoretical. Is anyone actually going to exploit that in a company our size?’</p><p>The honest answer is nuanced. Some findings are theoretical in practice at early stage. Some aren’t — the automated tools that scan for common vulnerabilities don’t check company size.</p><p>The useful response is to give a realistic probability assessment, not to escalate the alarm: ‘This particular finding is unlikely to be targeted specifically at us, but it would be caught by the automated scanning tools that check all domains indiscriminately. The effort to fix it is low enough that I’d recommend closing it before our next enterprise customer reviews our security posture.’</p><p>That response is honest, specific, and gives the founder a clear basis for a decision. Which is the whole point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45927e483fe0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Not Be the Person Who Gets Blamed After a Security Incident]]></title>
            <link>https://medium.com/@cyphersilhouette/how-to-not-be-the-person-who-gets-blamed-after-a-security-incident-400ad44b3fe3?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/400ad44b3fe3</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[better-programming]]></category>
            <category><![CDATA[dev-genius]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Mon, 09 Mar 2026 12:01:00 GMT</pubDate>
            <atom:updated>2026-03-09T12:01:00.674Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Three documentation habits that protect you — specifically — when the forensics team arrives</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*agmutqhQkRs4VzA7ggnINQ.png" /></figure><p>I want to talk about something that doesn’t get discussed enough in security circles:</p><p>When a company has a security incident and the post-mortem begins, the blame tends to settle on the developer who is most visibly associated with the vulnerable component. Not necessarily the person who introduced the vulnerability. The person who can be pointed to.</p><p>I’ve watched this happen, and it’s not fair. It’s also, for the most part, preventable — with some specific documentation habits that most developers don’t have yet but are genuinely not difficult to build.</p><h3><strong>Why Documentation Is a Career Asset, Not Just a Process Requirement</strong></h3><p>There’s a meaningful difference between a security gap that resulted from a conscious architectural decision and one that was simply never considered. Documentation is how you prove which one you were operating under.</p><p>In a forensic investigation or a post-mortem, the question being asked is: did this team know about this risk and choose to accept it, or did they not know? The first situation is a business decision. The second situation is negligence. These produce very different outcomes for the individuals involved.</p><p>The habits below are about making the first situation visible and documented, so it’s never misread as the second.</p><p><strong>Habit 1: Architecture Decision Records for Security-Relevant Choices</strong></p><p>An Architecture Decision Record (ADR) is a lightweight document that captures a significant technical decision: the context, the options considered, and the rationale for the choice made.</p><p>Most teams use ADRs for infrastructure and architecture decisions. Fewer teams apply them consistently to security-relevant choices. That’s a gap worth closing.</p><p>A security-relevant decision doesn’t have to be dramatic to be worth documenting. Examples:</p><ul><li>‘We implemented rate limiting on the login endpoint but not on the password reset flow because reset tokens require email confirmation which we assessed as sufficient mitigation for our current threat model.’</li><li>‘We chose to store session tokens in localStorage rather than HttpOnly cookies to support our third-party integration requirements. We’ve assessed this as acceptable given that our CSP policy prevents XSS at the current attack surface.’</li><li>‘We decided to defer multi-factor authentication for the admin interface until Q3, assessed as acceptable risk given that admin access is currently limited to two founders with company-managed devices.’</li></ul><p>These decisions are being made by your team right now. Most of them aren’t being written down. The difference between a written ADR and an unwritten decision is the difference between ‘we made a considered trade-off’ and ‘we didn’t think about it.’</p><p>ADRs take 15 minutes to write. They live in your repository. They are searchable. They are timestamped. In a post-incident review, they are exactly what you want to be able to point to.</p><p><strong>Habit 2: A Known Risk Register</strong></p><p>Every codebase has security issues that the engineering team is aware of but hasn’t addressed yet. This is normal. What’s less normal — and more useful — is keeping an explicit, documented list of those known risks with the business rationale for why they’ve been deferred.</p><p>I understand the instinct against this. Writing down the things you haven’t fixed feels like creating a liability. The opposite is true.</p><p>A known risk with a documented business rationale and a remediation plan demonstrates that the engineering team is managing security debt actively, not ignoring it. The absence of documentation doesn’t make the risk go away; it just makes the organisation look like they didn’t know about it when it eventually surfaces.</p><p>The known risk register also forces a useful conversation with leadership. ‘Here are three security issues I’m tracking. I’d like your input on how to prioritise them against the current sprint commitments.’ That conversation creates shared ownership of the trade-off. The developer who surfaces a known risk and gets a documented management decision to defer it owns that decision jointly with whoever signed off on the deferral. The developer who never surfaces it owns it alone.</p><p><strong>Habit 3: Meaningful Version Control Commit Messages</strong></p><p>This is the most unglamorous item on the list and the one that would have made the most difference in the incidents I’ve reviewed after the fact.</p><p>From a forensic investigation perspective, commit messages are the narrative of your codebase. When a security researcher or incident responder is trying to understand the history of a vulnerable component, commit messages are one of the first things they read.</p><p>‘Fix auth bug’ tells them nothing. ‘Add missing authorisation check to invoice export endpoint — resolves JIRA-1203, which documented that the check was missing since the v2 API refactor’ tells them everything: there was a known gap, it was tracked, it was fixed, and here’s the thread of accountability.</p><p>Descriptive commit messages combined with linked issue references create an audit trail that demonstrates responsible engineering practice. The absence of that trail creates an environment where every security finding looks like negligence rather than the normal course of building software under realistic conditions.</p><p><strong>The Conversation These Habits Enable</strong></p><p>If you’re a developer at an early-stage company, you probably have a mental model of the security issues in your codebase. These habits don’t add to your workload significantly — they make the work you’re already doing visible and defensible.</p><p>They also enable a different kind of conversation with your founder or engineering lead. Instead of ‘we have security problems,’ you can say: ‘here are the three security trade-offs we’ve made that I think are worth reviewing before our next enterprise onboarding. I’ve documented the current state and have a suggested remediation priority. Can we schedule 30 minutes to align on this before the sprint planning?’</p><p>That conversation is productive. It surfaces real issues in a way that’s manageable and shows professional initiative. It’s the version of the security conversation that gets things fixed rather than avoided.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=400ad44b3fe3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Penetration Test Report Problem (And What to Ask For Instead)]]></title>
            <link>https://medium.com/@cyphersilhouette/the-penetration-test-report-problem-and-what-to-ask-for-instead-0231f83e29bb?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/0231f83e29bb</guid>
            <category><![CDATA[infosec-write-ups]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[thestartup]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-03-05T12:01:01.097Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Most security reports are written to protect the auditor, not to help the client. Here’s how to tell the difference before you sign a contract.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QKBiqLeFcgwGwfLIYbJv0Q.png" /></figure><p>I’ve read a lot of penetration test reports written by people other than me.</p><p>Some of them are excellent — specific, contextualised, genuinely useful for the team receiving them. A meaningful number of them are, to be frank, not.</p><p>The pattern in the less useful reports is consistent: they list vulnerabilities, assign CVSS scores, and include boilerplate remediation advice that was probably copied from the NVD entry for the vulnerability class. The report is technically accurate. It’s also not actionable by the specific team working on the specific product described in it.</p><p>Here’s how to evaluate security reports and security vendors before you’re in a position where the quality of the deliverable turns out to matter.</p><p><strong>What a Generic Report Looks Like (And Why It Falls Short)</strong></p><p>Here’s a composite finding from the category of reports I’m describing:</p><blockquote><strong>Finding: </strong>Cross-Site Scripting (Reflected). CVSS: 6.1 (Medium). A reflected XSS vulnerability was identified in the application. Remediation: Implement input validation and output encoding. Consider implementing a Content Security Policy.</blockquote><p>That’s the complete finding. No information about which specific parameter or endpoint. No example payload. No information about whether authentication is required to exploit it. No business impact assessment. No remediation advice specific to the application’s tech stack.</p><p>A developer receiving that finding needs to: identify which of the application’s many parameters has the vulnerability, research reflected XSS, determine the exploitability in their specific context, and decide on a priority level. They’ve been handed a category label, not a finding.</p><p>Compare that to a finding written for the team:</p><blockquote><strong>Finding: </strong>Reflected XSS in authenticated search endpoint (/api/search?q=). Business Impact: An attacker with a standard user account can craft a malicious link that, when clicked by an admin user, executes JavaScript in the admin’s browser context — enabling session hijacking, account modification, and unauthorised data export. Steps to reproduce: [specific payload, specific parameter]. Remediation for your Express.js stack: encode output using the ‘he’ library at the point of rendering. Estimated effort: 2–3 hours. Fix before: your next enterprise onboarding — the admin permissions this targets handle customer provisioning.</blockquote><p>Same vulnerability. Completely different utility.</p><p><strong>Five Questions to Ask Before You Hire a Penetration Tester</strong></p><h4><strong>1. Can I See a Sanitised Sample Report?</strong></h4><p>A credible security auditor has sanitised samples of their deliverables. The sample tells you more than a sales conversation: you can see the level of specificity, the remediation approach, whether findings are contextualised for business impact, and how the report is structured for the team receiving it.</p><p>If no sample is available, or if the sample looks like the generic example above, that’s meaningful information.</p><p><strong>2. How Do You Score Business Impact?</strong></p><p>Ask specifically how they translate CVSS scores into business impact assessments for a company at your stage. If the answer is ‘we use CVSS,’ follow up by asking how that translates to your specific risk profile.</p><p>A good answer sounds like: ‘We use CVSS as the technical baseline, then overlay a business impact assessment based on the data categories handled, the customer profile, and the current stage. Critical findings for a company with no sensitive data look different from critical findings for a company preparing for SOC 2.’</p><p><strong>3. What Percentage of Your Findings Come From Manual Testing?</strong></p><p>Automated scanning tools are useful and every competent tester uses them. They’re also limited to known vulnerability signatures and cannot find business logic vulnerabilities, authorization gaps specific to your data model, or tenant isolation issues.</p><p>If the answer is ‘we primarily rely on automated tools with manual validation,’ you’ll get a thorough catalogue of common vulnerability classes. You probably won’t get a complete picture of the business-logic-level risks in your specific product.</p><p><strong>4. How Do You Tailor Remediation Advice to Our Tech Stack?</strong></p><p>Generic remediation advice (‘implement input validation’) is not useful. Stack-specific remediation advice (‘in your Django application, use the mark_safe alternative and add this middleware configuration’) is useful.</p><p>Ask whether remediation guidance is written for your specific implementation or drawn from generic vulnerability documentation.</p><p><strong>5. Who Will Actually Conduct the Testing?</strong></p><p>At larger security firms, the person who delivers the sales pitch and the person who conducts the testing are frequently different people with different experience levels. Ask specifically who will be doing the hands-on work and request their background.</p><p>This isn’t a criticism of larger firms — many have excellent testing teams. It’s just a question worth asking before you’re looking at a report that doesn’t match the seniority of the person you thought you hired.</p><h3><strong>A Note on Compliance vs. Genuine Security Review</strong></h3><p>Many founders get penetration tests because an enterprise customer requires it as part of their vendor security questionnaire. That’s a legitimate reason to get tested.</p><p>The important distinction: a test that satisfies a compliance requirement and a test that gives you genuine visibility into your security posture are not automatically the same thing. A checkbox engagement will check the box. Whether it also gives you actionable findings depends on the quality of the vendor and the depth of the engagement.</p><p>You have the option to use a compliance requirement as the occasion for a genuinely useful security review. Most of the founders I work with who do this come away with findings that meaningfully changed technical decisions. It’s worth treating the opportunity as more than a checkbox if the timing allows.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0231f83e29bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How My Audit Methodology Changed When the Stakes Became Real]]></title>
            <link>https://medium.com/@cyphersilhouette/how-my-audit-methodology-changed-when-the-stakes-became-real-492826d33f7c?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/492826d33f7c</guid>
            <category><![CDATA[cybersecurity-audit]]></category>
            <category><![CDATA[infosec-write-ups]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[sass]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Wed, 04 Mar 2026 12:01:01 GMT</pubDate>
            <atom:updated>2026-03-04T12:01:01.413Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The difference between finding vulnerabilities in bug bounty programs and finding them in a product someone’s business depends on</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KyncKDuYr03HJcYtLpGBIw.png" /></figure><p>There’s a version of security testing that optimises for impact per hour. Find the highest-severity vulnerability in the shortest time, write it up cleanly, collect the reward. That’s bug bounty hunting at its core, and it produces a particular kind of skill set.</p><p>Then someone hired me to audit their product before a Series A close.</p><p>The moment I understood that a missed finding wouldn’t just mean no reward — it might mean a founder’s company gets compromised six months after I said it was fine — my entire approach changed.</p><p>What follows is the methodology I’ve developed for structured security audits on early-stage SaaS products. It’s not the fastest approach. It’s the most thorough one I’ve been able to build.</p><p><strong>Phase 1: Business Context Before Technical Testing</strong></p><p>I spend the first two to three hours of every engagement not touching the application at all. Instead, I’m building a product-specific threat model.</p><p>This phase involves answering four questions:</p><ol><li>What data does this application handle, and how sensitive is each category?</li><li>What actions can this application perform that, if done without authorisation, would cause real business damage?</li><li>Who are the different user roles and what should each one be able to access?</li><li>What are the third-party integrations and what trust boundaries do they create?</li></ol><p>The answers to these questions determine where I spend my testing time. A product handling healthcare-adjacent data has a different risk profile from a developer tooling product. A multi-tenant B2B platform with enterprise customers has a different testing priority than a consumer application with no sensitive personal data.</p><p>The threat model I build in Phase 1 becomes the scope document for everything that follows. It’s also a deliverable I share with the client — most founders have never seen their product described in terms of its threat surface before.</p><p><strong>Phase 2: Automated Reconnaissance With Manual Verification</strong></p><p>I run automated tools. Automated tools are genuinely useful and I’d be wasting time not using them. But the discipline is in what you do with the output.</p><p>The process:</p><ol><li>Subdomain enumeration to map the full external attack surface — not just the primary domain, but every subdomain and associated service.</li><li>Port scanning and service fingerprinting to understand what’s running and what’s exposed.</li><li>Automated DAST scanning against the application, recording every finding without dismissing anything.</li><li>Manual verification of every finding from the automated scan. Each one is either a confirmed vulnerability or a false positive.</li><li>Pattern analysis: three findings of the same type across different parts of the codebase isn’t three bugs. It’s a systemic architectural issue, and there are probably more I haven’t found yet.</li></ol><p>Automated tools will find roughly 30–40% of what’s in a thorough manual audit of the same system. The percentage varies significantly depending on the application type — it’s higher for applications with lots of standard components and lower for applications with complex custom business logic. The manual work is where the meaningful findings usually come from.</p><p><strong>Phase 3: Manual Testing — The Application as Intended Versus as Implemented</strong></p><p>After the automated work, I put the tools down and work through the application the way a motivated attacker with a legitimate account would.</p><p>The core question I’m asking throughout: what is this application supposed to allow me to do, and what does it actually allow me to do?</p><p>The gap between intention and implementation is where the interesting findings live.</p><p><strong>What I Focus on in Manual Testing</strong></p><ul><li>Every user permission boundary: what can a free user access that a paid user shouldn’t? What can a standard user access that an admin shouldn’t? What can a user from Tenant A access that belongs to Tenant B?</li><li>Multi-step flows tested out of sequence: what happens if I skip Step 2 of a 3-step process? What happens if I repeat Step 1 after completing Step 3?</li><li>API endpoints tested directly via proxy, not through the UI: does the API enforce the same constraints the frontend does?</li><li>Error handling and information disclosure: what do error responses reveal about the internal structure of the application?</li><li>Business logic edge cases specific to this product: if this is a billing product, what happens at the boundaries of billing cycles? If this is a workflow product, what happens when a workflow is in an unexpected state?</li></ul><p><strong>Phase 4: Business-Impact Scoring</strong></p><p>Every finding gets two scores: a technical CVSS score and a business impact score specific to this client.</p><p>The technical score helps communicate severity in industry-standard terms. The business impact score answers the question the founder actually needs answered: if this vulnerability were exploited against our specific product with our specific customer base, what would it cost us?</p><p>A CVSS 7.5 finding in a module that stores no sensitive data might be a business impact 3. A CVSS 5.0 finding that allows unauthorized access to customer billing information in a company preparing for enterprise sales might be a business impact 9.</p><p>The business impact score drives the remediation priority list. A founder deciding what to fix before a board meeting needs to know which finding matters most in their specific context, not which one scores highest on a generic scale.</p><p><strong>The Deliverable That Actually Gets Used</strong></p><p>A security audit report that gets filed and forgotten is a failed engagement as far as I’m concerned.</p><p>The deliverable I aim for is a report structured as a decision-support document: here are the findings, here is the business impact of each, here is a specific remediation recommendation for your actual tech stack (not generic advice), and here is a suggested prioritisation given your current stage and upcoming commitments.</p><p>When the engineering team opens the report, they should be able to take the top three findings directly into a sprint without a translation step.</p><p>That’s the difference between a report that produces change and one that produces a checkbox.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=492826d33f7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’ve Reviewed 47 SaaS Authentication Systems. Here Are the Five Patterns I Keep Finding.]]></title>
            <link>https://medium.com/@cyphersilhouette/ive-reviewed-47-saas-authentication-systems-here-are-the-five-patterns-i-keep-finding-315180f94afc?source=rss-0a5520417821------2</link>
            <guid isPermaLink="false">https://medium.com/p/315180f94afc</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[infosec-write-ups]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[sass]]></category>
            <dc:creator><![CDATA[Cyphersilhouette]]></dc:creator>
            <pubDate>Mon, 02 Mar 2026 12:01:00 GMT</pubDate>
            <atom:updated>2026-03-02T12:01:00.792Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Not the dramatic vulnerabilities — the quiet, structural ones that take an afternoon to fix and months to discover without a dedicated review</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dZeueMFU4GzTEKkXEqoK3Q.png" /></figure><p>Authentication is one of those areas of software development where everyone has read the documentation, most teams implement the common patterns, and the vulnerabilities still appear anyway.</p><p>After reviewing authentication implementations across 47 SaaS products — through a combination of bug bounty research and formal security audits — I’ve developed a clear picture of where the gaps consistently appear. Not in the authentication itself, but in the edges around it.</p><p>Here are the five patterns I find most frequently, with enough technical detail to check for them yourself.</p><p><strong>Pattern 1: JWT Audience Claims Are Validated Nowhere</strong></p><p>JSON Web Tokens have a standard claim called ‘aud’ (audience) that specifies which service the token is intended for. The idea is that a token issued for your mobile client shouldn’t be usable against your admin API, even if both share the same signing secret.</p><p>In practice, the audience claim is present in many implementations and verified in almost none.</p><p>Here’s what typical JWT verification looks like in a Node.js application:</p><pre>// Common pattern — validates signature and expiry, misses audience<br>jwt.verify(token, process.env.JWT_SECRET, (err, decoded) =&gt; {<br>  if (err) return res.status(401).send(&#39;Invalid token&#39;);<br>  req.user = decoded;<br>  next();<br>});</pre><p>The missing check:</p><pre>jwt.verify(token, process.env.JWT_SECRET, { audience: &#39;admin-api&#39; }, (err, decoded) =&gt; {<br>  // Now validates that this token was issued for this specific service<br>});</pre><p>The impact depends on whether your system issues different tokens for different clients (mobile app, browser, API). If it does — and many do — a valid token from one context may grant access to another without the audience check.</p><p><strong>Pattern 2: Password Reset Tokens Survive Use</strong></p><p>The intended flow: user requests a reset, receives a token via email, uses the token to set a new password, the token is invalidated.</p><p>The actual flow in 28 of the 47 systems I reviewed: the token is never explicitly invalidated after use. It expires on its own schedule, but between use and expiry, it’s still valid.</p><p>The straightforward fix — marking reset tokens as consumed in your database — is almost always a 30-minute implementation. The consistent gap suggests it’s not about difficulty; it’s about the token lifecycle not being something teams think through explicitly.</p><p>Here’s the minimal database check to add:</p><pre>const resetToken = await db.resetTokens.findOne({ token: req.params.token });<br>if (!resetToken || resetToken.used_at) {<br>  return res.status(400).send(&#39;Token is invalid or already used&#39;);<br>}<br>// After successful reset:<br>await db.resetTokens.update({ token }, { used_at: new Date() });</pre><p><strong>Pattern 3: Refresh Tokens That Never Expire or Rotate</strong></p><p>Short-lived access tokens are standard practice now. 15-minute expiry windows are common. What’s less consistent is the refresh token that enables those short-lived tokens to be silently renewed.</p><p>In roughly a third of the systems I’ve reviewed, refresh tokens:</p><ul><li>Have no expiry (or expiry measured in years)</li><li>Remain valid after a password change</li><li>Remain valid after explicit logout</li><li>Are not rotated — the same refresh token can be used indefinitely</li></ul><p>The combination means a compromised refresh token gives persistent, password-change-surviving access to an account. The session management that looks secure from the access token side has a permanent backdoor.</p><p>The fix involves three specific behaviours: rotation (issue a new refresh token each time one is used and invalidate the old one), a maximum lifetime of 30–90 days, and explicit invalidation on password change and logout.</p><p><strong>Pattern 4: Multi-Tenant Authorization at the API Layer, Not the Database Layer</strong></p><p>Multi-tenant SaaS applications need to ensure that users in Tenant A can never access data belonging to Tenant B. The question is where that check lives.</p><p>The common implementation: each API route handler includes a WHERE clause filter that restricts queries to the current user’s tenant. This works when it’s consistently applied. The gap appears when a new endpoint gets added and the developer, working quickly, forgets the filter.</p><p>A more robust pattern: enforce tenant isolation at the database query layer, not the API layer. In an ORM context, this means a base query scope that always appends the tenant ID filter, regardless of what the calling code does:</p><pre>// Sequelize example: default scope on every model<br>class Invoice extends Model {}<br>Invoice.init({...}, {<br>  defaultScope: {<br>    where: { tenantId: getCurrentTenantId() }<br>  }<br>});</pre><p>When tenant isolation is a default scope rather than a per-handler responsibility, it’s much harder to accidentally introduce a tenant isolation gap in a new endpoint.</p><p><strong>Pattern 5: MFA Applied to Login But Not to All Authentication Paths</strong></p><p>Multi-factor authentication is increasingly standard at the login endpoint. What’s less consistently implemented is MFA across all the other paths that grant access to an account.</p><p>In approximately 20% of the systems I’ve reviewed, I found at least one of the following:</p><ul><li>Password reset flow that grants a new session without requiring MFA</li><li>OAuth/SSO integration that bypasses the MFA requirement</li><li>API token generation endpoint accessible without MFA verification</li><li>Account recovery flow that exchanges a recovery code for a session without MFA</li></ul><p>The mental model worth adopting: MFA is not a feature of the login page. It’s a requirement for establishing an authenticated session. Every path that produces a session or a long-lived credential needs to be evaluated against that requirement independently.</p><p><strong>A Note on Why These Patterns Persist</strong></p><p>None of these findings are exotic. They’re all in the security literature. They’re all in the OWASP guidance. And they keep appearing in production systems built by competent teams.</p><p>I think the honest reason is that security reviews — structured, external reviews specifically focused on finding these patterns — are not a standard part of most early-stage SaaS development cycles. The authentication system gets built, reviewed internally, shipped, and then not examined again until something goes wrong.</p><p>The patterns I’ve described are the ones that internal review tends to miss, not because the developers aren’t capable of finding them, but because you need a certain amount of deliberate, adversarial attention to look for the gaps between what was implemented and what was intended.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=315180f94afc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>