How Cal.com Rebuilt AppSec After Going Closed Source
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security

Building an appsec stack isn't the hard part anymore. The hard part is knowing what you actually have coverage for once the tools are running. Every category has a defined scope, and outside that scope, findings don't just drop in severity. They disappear entirely. Understanding what each tool can and can't see is how you figure out where your real exposure is.
TLDR:
Every application has attack surface. The question security teams have always faced is how to find the exploitable parts of it before someone else does.
That problem has three distinct dimensions. First, code ships with vulnerabilities baked in, from SQL injection to broken access control, and those flaws need to be caught before they reach production. Second, running applications behave differently than source code predicts, so you need to probe live systems under realistic conditions. Third, the dependencies and infrastructure wrapping an application carry their own risk, independent of what the developers wrote.
No single tool covers all three. Each tool category was built to answer a specific version of the question, under specific constraints.
Security tooling did not accumulate arbitrarily. Each layer was added because the previous one left a gap:
The result is a stack where each tool is doing a real job, and the coverage gaps between them are where most exploitable vulnerabilities actually live.
Most security teams don't struggle to find tools. They struggle to understand what each tool actually covers, where its blind spots begin, and how the pieces fit together. To make sense of how individual tools interact, it helps to understand what each category is built to do.
There are five core categories that appear in most mature AppSec stacks today.
Static code analysis tools scan source code without executing it, scanning for patterns that match known vulnerability classes: SQL injection, cross-site scripting, insecure deserialization, and similar issues. They run early in the pipeline, often on every commit, which makes them useful for catching straightforward issues before code ships. The tradeoff is that pattern-matching against an AST has real limits. SAST tools read files in isolation and cannot trace data flow across service boundaries, which means vulnerabilities that only appear across multiple components are frequently missed.
DAST tools test a running application by sending inputs and observing responses, the way a human tester would probe an endpoint. Because they interact with the application at runtime, they catch classes of issues that static analysis misses entirely: authentication failures that depend on session state, server misconfigurations, and runtime behavior that source code alone cannot predict. The limitation is coverage. DAST tools can only reach what they can reach through the UI or API surface, so logic buried in internal services or triggered by complex preconditions often goes untested.
SCA tools track the open-source dependencies a project pulls in and check them against known vulnerability databases like the NVD and OSV. As dependency chains have grown more complex, SCA has become a baseline expectation, not an optional add-on. SCA tells you whether a library version has a known CVE. It does not tell you whether your application actually calls the vulnerable code path, which is why high-severity SCA findings often outnumber the findings teams can realistically act on.
IAST instruments the application at runtime, typically through an agent embedded in the running process, and observes actual code execution during testing. Because it watches real data flow through the application, it can confirm whether a vulnerability is genuinely reachable, as opposed to merely theoretical. The practical constraint is deployment complexity: IAST requires an agent running inside each service, which creates friction in containerized or distributed environments.
Penetration testing puts a skilled human researcher against the application with the goal of finding what automated tools missed. Good penetration testers follow logic, abuse trust relationships between services, and chain together findings that no single scanner would connect. The OWASP Web Security Testing Guide documents the methodology in detail. The limitation is frequency. A penetration test is a point-in-time exercise, and most teams run one annually or before major releases, leaving the gaps between tests unexamined.
| Category | When it runs | What it sees | Core limitation |
|---|---|---|---|
| SAST | Pre-deploy, on commit | Source code structure | Cannot trace across service or file boundaries |
| DAST | Against running app | Runtime behavior via inputs | Limited to reachable surface area |
| SCA | Continuously | Dependency versions vs. CVE databases | Does not confirm exploitable code paths |
| IAST | During test execution | Live data flow inside the process | Requires instrumentation in each service |
| Penetration Testing | On schedule | Logic, trust boundaries, chained findings | Point-in-time, not continuous |
Static Application Security Testing tools scan source code, bytecode, or compiled binaries without executing the program. They parse code into representations like abstract syntax trees or control flow graphs, then apply rules or queries to spot patterns associated with known vulnerability classes: SQL injection, XSS, path traversal, insecure deserialization.
The appeal is clear. SAST runs early, integrates directly into CI pipelines, and gives developers feedback before code ships. No running environment needed.
SAST tools reliably catch a well-defined set of problems:
The same architecture that makes SAST fast also limits what it can see. Most tools operate at the file or module level. When a vulnerability spans multiple services, or when the authorization logic lives in a separate layer from the data access, the tool loses the thread. It cannot determine whether a check that exists in one file actually executes for a given code path in another.
Business logic flaws sit entirely outside what SAST can reason about. Whether an endpoint should require authentication, whether a privilege escalation path violates the intended trust model, whether a sequence of valid API calls produces an unauthorized outcome: none of those questions are answerable by reading code structure alone. Source code shows what exists. It cannot show what was supposed to exist.
False positives remain a persistent ongoing cost. Teams routinely suppress entire rule categories because the signal-to-noise ratio makes triage impractical.
Runtime Application Security Testing runs against a live, deployed instance of your application. Where SAST reads source code, DAST sends real HTTP requests and observes real responses. It sees what an attacker would see: the running app, its endpoints, its error messages, its behavior under unexpected input.
The core mechanics are straightforward. A DAST scanner crawls your application, builds a map of accessible endpoints, then systematically probes each one with payloads designed to trigger known vulnerability classes: SQL injection, XSS, path traversal, server-side request forgery.
DAST excels at finding injection vulnerabilities that produce observable output, authentication misconfigurations, and insecure HTTP response headers. Vulnerabilities like server-side request forgery are among those it can surface reliably. Because it tests the actual running application, it sidesteps false positives that come from static analysis misreading code paths that never execute in production.
The structural limitation is coverage. DAST can only test what it can reach. Endpoints behind authentication flows it hasn't learned to work through, internal microservices not exposed to the crawler, and business logic that requires specific state sequences all fall outside its view. A DAST scanner also produces no findings until you have a running environment, which pushes discovery late into the development cycle.
Common DAST tools include Burp Suite (the industry standard for manual-assisted testing), OWASP ZAP (open source, widely used in CI pipelines), and Invicti.
Software Composition Analysis tools exist to answer one question: is the open source code you pulled in safe to ship?
Every application today is mostly third-party code. Libraries, frameworks, SDKs, transitive dependencies pulled in by those libraries. SCA tools scan your dependency tree, match package versions against known vulnerability databases like the NVD and OSV, and flag components with published CVEs.
Most SCA tools operate at the manifest level: package.json, pom.xml, requirements.txt, go.mod. They resolve the full dependency graph, including transitive dependencies that your team never explicitly chose, and cross-reference each package version against vulnerability feeds.
A few things SCA tools check beyond CVE matching:
SCA has a clear boundary. It knows what vulnerabilities exist in a package. It does not know how your application uses that package, whether the vulnerable code path is reachable given your specific call graph, or whether your infrastructure already mitigates the risk.
A CVE with a CVSS score of 9.8 in a library you import only for its string formatting utilities carries very different real-world risk than the same CVE in a library handling authentication tokens. SCA tools surface both identically.
The other gap is supply chain attacks that do not produce CVEs. A compromised package that was clean at release, a malicious commit merged before disclosure, a package that exfiltrates environment variables at install time: none of these appear in a vulnerability database until after the damage is done.
SCA belongs in every security stack. Its findings are well-defined and fixable: upgrade the package or find an alternative. The tool's job ends at the dependency boundary.
Interactive Application Security Testing (IAST) and Runtime Application Self-Protection (RASP) both require instrumenting your running application, but they serve different purposes and belong at different points in your workflow.
IAST sits inside the application during testing, typically through a language agent, and watches how data moves through the code while your test suite or QA team exercises it. Because it observes real execution traces, it sidesteps the false positive problem that plagues static analysis: if the vulnerability fires during an actual request, it's real. The tradeoff is coverage. IAST only sees what your tests touch. Untested code paths stay invisible, so a sparse test suite produces a sparse security report.
RASP operates in production. The agent hooks into the application runtime and intercepts calls to dangerous operations like database queries, file reads, and deserialization at the moment they execute. If an incoming request tries to manipulate a SQL query, RASP can block the call before it completes. This makes it a last-line enforcement layer, not a finding-and-fix tool. It generates no remediation guidance and requires careful tuning: overly aggressive rules block legitimate traffic, while rules that are too permissive miss genuine attacks.
Neither IAST nor RASP replaces earlier testing. They cover ground that SAST and DAST leave exposed, but each comes with real constraints.
IAST is most useful when your test coverage is high and you want to validate findings from static analysis against real execution behavior. RASP makes sense as a defense layer for applications that cannot be fully patched immediately, buying time while fixes move through the release cycle. Both tools add agent overhead to the application, which is worth accounting for before deployment.
Secrets scanning and IaC security sit at the edges of the appsec stack, but they catch failure modes that SAST and DAST miss entirely.
Secrets scanners like GitLeaks and TruffleHog inspect code repositories, commit histories, and CI/CD configs for hardcoded credentials, API keys, and tokens. The risk here is specific: a developer commits an AWS key, the commit gets pushed, and even if it's reverted, the credential has already been exposed in git history. Rotation is the only fix.
IaC security tools like Checkov and Terrascan analyze Terraform, CloudFormation, and Kubernetes manifests before infrastructure gets provisioned. They catch misconfigurations such as S3 buckets with public read access or security groups that allow unrestricted inbound traffic on port 22.
Both categories share a structural constraint: they check what's written, not what's running. A secrets scanner won't catch a credential injected at runtime through an environment variable. An IaC tool won't know that a "private" S3 bucket is actually reachable because of a misconfigured VPC peering rule applied outside the manifest it analyzed.
They also have no view into application logic. A correctly configured infrastructure still hosts vulnerable code. These tools reduce the attack surface at the configuration layer, but the application layer requires separate coverage.
Each tool's position in the SDLC follows from what it needs to function. Secrets scanners and lightweight SAST checks run at the IDE and pre-commit stages because they only need source files. Full SAST and SCA belong in the CI pipeline, where the complete codebase and dependency graph are available. DAST requires a running application, so staging is the earliest it can operate. RASP runs in production because it intercepts live traffic.
The shift-left case is straightforward. A vulnerability caught at PR review is a code change in the same branch, fixed in minutes. The same finding in staging means a new build, a new deployment, and another test pass. In production, it means an incident. The cost difference is not marginal. Fixing at commit is consistently cheaper, less disruptive, and faster across every development org that has measured it.
Each tool in the standard appsec stack operates within a defined scope. SAST reads code. DAST sends requests. SCA tracks packages. Penetration testers probe what they can reach in a fixed window. The stack is wide, but the gaps between those scopes are where real vulnerabilities live.
The category that falls through most consistently is business logic vulnerabilities. These are flaws where the code does exactly what it was written to do, but what it was written to do is wrong. A user who can escalate their own privileges by manipulating a parameter the server never validates. A checkout flow that applies a discount code to an order it was never meant to cover. No scanner flags these because no scanner knows what the intended behavior was supposed to be. Source code shows what exists. It cannot show what was supposed to exist.
Cross-service vulnerabilities have the same problem. A trust assumption baked into service A may be perfectly safe in isolation but exploitable the moment service B starts forwarding unauthenticated requests to it. SAST tools that operate file by file, or even service by service, cannot see that chain. DAST tools can probe the surface but rarely have the architectural context to know which trust boundaries matter.
The result is a stack that covers the detectable well and the contextual poorly.
Most security teams don't run one tool. They run six or eight, each covering a different slice of the attack surface, each generating its own findings in its own format, with its own severity scores and its own false positive rate. The result is a stack where no single tool sees the whole picture, and engineers spend as much time sorting through outputs as they do fixing vulnerabilities.
This is the orchestration problem. It shows up when a SAST tool flags a finding that DAST can't reproduce, when SCA surfaces a CVE that's unreachable given the actual call graph, or when a penetration test uncovers a business logic flaw that every automated tool missed entirely. Each tool was doing its job. None of them were talking to each other.
Teams add tools reactively. A compliance requirement mandates DAST coverage. A supply chain incident triggers an SCA purchase. A failed audit adds a secrets scanner. Over time, the stack accumulates tools that were each reasonable in isolation but were never designed to interoperate.
The friction compounds at triage. When findings from four tools land in the same sprint, engineers face deduplication work, conflicting severity ratings, and no shared context about which issues are reachable, exploitable, or already mitigated by infrastructure controls. A high-severity SAST finding in code that's only ever called from an internal service behind a VPN carries very different risk than the same finding in a public API endpoint. Most tools won't tell you which is which.
Understanding what each layer of the stack actually does, and where each one stops, is the prerequisite for building something coherent. That gap only widens as the stack grows. More tools means more output to sort through, more rule categories to suppress, and more sprint cycles spent on findings that turn out to be unreachable. The teams that avoid this pattern share one thing: they know exactly what each layer covers, and they design around the gaps instead of assuming the next tool fills them.
The right tool selection depends heavily on where your team sits today. A five-person startup shipping fast has different constraints than a 200-person engineering org with a dedicated AppSec function. Buying the wrong tier of tooling wastes budget and creates adoption friction that kills programs before they start.
Here is a starting point for thinking about stack composition by maturity stage:
At this stage, the goal is coverage with minimal overhead. You want tools that integrate into existing workflows without requiring a security engineer to triage every alert.
You have the capacity to act on findings and start building process around security.
At scale, the gap is not coverage but signal quality. Teams at this stage are often drowning in alerts from tools that cannot distinguish a real exploit path from a theoretical one, which becomes the central differentiator when selecting the best AI security tools.
The table above reflects sequencing, not permanent exclusions. Every category eventually earns its place as the team grows into it.
Most security teams running a mature stack (SAST, DAST, SCA, and periodic pen tests) still ship vulnerabilities that none of those tools flagged. The gap is structural. Each tool in the standard stack reads what it can see: source code in isolation, HTTP responses at runtime, dependency manifests, or a point-in-time manual review. None of them reason about how a vulnerability actually exists in the context of your architecture, your trust model, or your deployment.
Gecko Security approaches this differently. Instead of adding another scanner to the pile, every finding includes a working proof-of-concept exploit, because Gecko builds a compiler-accurate semantic graph of your codebase and reasons over it the way an experienced security researcher would: tracing call chains across services, modeling trust boundaries, and weighing findings against the real-world context that determines exploitability. As in CVE-2025-51479, where Gecko identified a curator permission bypass in ONYX by reasoning across the permission model to recognize that the API was missing user-scope validation, a finding that requires knowing what the code was supposed to enforce, beyond what it actually does.
The standard stack produces findings. Gecko produces conclusions. A typical SAST tool flags every SQL string concatenation. Gecko traces whether untrusted input actually reaches that concatenation across the full call graph, whether any upstream sanitization runs on the path that matters, and whether the endpoint is exposed to unauthenticated users or locked behind a VPN. The result is a finding that comes with a working proof-of-concept exploit, not a pattern match.
This is why the false positive rate looks different. The reduction comes from the semantic model, not from tuned rules. Gecko reasons about what the code does, not what it resembles.
Gecko is not a replacement for SCA or DAST. Dependency scanning and runtime testing each cover ground the semantic graph cannot. The right framing is:
The standard stack leaves a gap between "flagged" and "exploitable." Gecko operates in that gap.
The tools in a mature appsec stack do real jobs. The findings that slip through are not a tooling failure so much as a scoping one: each tool was built to answer a specific question, and business logic does not fit inside any of those questions. Book a call with the Gecko team to walk through what your stack is leaving unexamined.
SAST reads source code for known patterns before deployment but cannot trace across service boundaries. DAST sends real requests to a running application but can only reach what its crawler can find. SCA flags vulnerable dependency versions but cannot confirm whether your code calls the vulnerable path. IAST watches real execution during testing but only sees what your test suite exercises. Penetration testing applies human judgment to logic and trust boundaries, but only at the point in time when the test runs. Each tool covers a defined scope; the gaps between those scopes are where most exploitable vulnerabilities sit.
Business logic flaws fall through most consistently, because no scanner knows what the intended behavior was supposed to be; it can only see what the code does. Cross-service trust boundary violations require tracing a request across the full call chain, which file-by-file SAST and surface-only DAST cannot do. Auth logic errors often pass SAST because the authorization check exists somewhere in the code; the problem is that it does not run for every code path that needs it. Infrastructure-dependent risk goes unweighted: a flaw behind a VPN carries different real-world exposure than the same flaw on a public API, but most tools treat both identically.
For most teams, SAST comes first because it runs without a deployed environment, integrates into CI at commit time, and gives developers feedback before code ships. DAST becomes worth adding once you have someone who can act on findings, since unanswered alerts create more noise than coverage. The blog's maturity model puts lightweight SAST and SCA at the earliest stage, with DAST added at the mid stage when you have one to three security engineers who can work through the results.
Gecko does not replace SCA or DAST. Dependency scanning and runtime testing each cover ground a semantic code analysis cannot. The right framing: SCA handles known vulnerable packages; Gecko finds logic flaws and access control failures that no CVE database contains. DAST confirms exploitability from the outside; Gecko identifies exploitable paths before deployment, when fixing them is cheaper. Penetration testing goes deep on a narrow scope; Gecko covers the full codebase continuously, so the pen tester can spend time on what matters instead of rediscovering the same categories of flaw.
Runtime protection makes sense at the mature stage, when you have a dedicated AppSec team and the gap is signal quality, not basic coverage. RASP functions as a last-line enforcement layer for applications that cannot be fully patched immediately, blocking dangerous calls at execution time while fixes move through the release cycle. It adds agent overhead to the application and requires careful tuning, so it is worth accounting for before deployment. Teams at earlier stages are better served by improving SAST and SCA signal quality before adding instrumentation in production.
Gecko Security
The latest news, technologies, and resources from our team.
How Cal.com consolidated noisy security tooling into one continuous, context-aware pull request security program with Gecko.
Gecko Security
See what actually changed in the OWASP Top 10 for 2026, from merged SSRF and XXE categories to new supply chain risks and scanner coverage gaps.
Jeevan Jutla
Gecko Security uncovered CVE-2026-21894 in August 2026, an n8n authorization bypass with CVSS 8.8. See why static tools missed it and how to remediate it.
Jeevan Jutla
Security misconfiguration is OWASP A05 for a reason. Learn how deployment context determines exploitability and how to fix gaps in August 2026.
Jeevan Jutla
How do modern AppSec vendors actually compare? This July 2026 capability map covers SAST, DAST, SCA, business logic flaws, and cross-service
Gecko Security
Your July 2026 field guide to GitHub pull request security scanning: configure SAST, set severity thresholds, and catch flaws before they reach
Gecko Security
Occasional updates, new content, and insights. No spam; unsubscribe anytime.