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

Your SAST tool sees code. What it can't see is whether a flagged code path is actually reachable given how your system is deployed, or whether an authorization check is missing because it was never supposed to exist there. That's the structural gap contextual AI SAST fills, and it's why next-gen SAST built on semantic reasoning produces fundamentally different findings from anything pattern-matching can deliver.
TLDR:
Traditional SAST tools were built for a world where code was simpler, more predictable, and largely self-contained. They parse source code into abstract syntax trees, apply pattern-matching rules against known vulnerability signatures, and flag anything that looks suspicious. That approach worked reasonably well for straightforward injection flaws in monolithic codebases.
The problem is structural. Pattern-matching against ASTs has no way to reason about what code is supposed to do, only what it does. A SAST tool cannot tell you whether an authorization check is missing because it has no model of what authorization is supposed to look like in your system, which is a core reason static analysis struggles with business logic. It sees code. It cannot see intent, architecture, or trust boundaries.
Three failure modes appear consistently across traditional SAST deployments:
The result is a tool that generates volume without prioritization, and findings without the context needed to act on them.
Two products can both claim "AI-assisted SAST" and behave in fundamentally different ways. The distinction matters because it determines what the tool can actually find.
AI-assisted SAST takes a traditional static analysis engine and adds AI at specific points in the workflow. The underlying detection is still rule-based or pattern-based. AI might help rank findings by severity, generate fix suggestions, or reduce noise in the output. The scanner still reads code as text or parses it into an AST, and its detection boundary is whatever patterns its rules cover.
AI-native SAST is built from the ground up around semantic reasoning. There are no rule libraries driving detection. The engine reasons over a compiler-accurate semantic graph that captures type information, call chains, and trust boundaries across the full codebase, then applies AI to understand control flow and intent at a level that pattern matching cannot reach.
The gap shows up most clearly with vulnerability classes that require cross-file, cross-service reasoning:
The label "AI-assisted" describes where AI is inserted. The label "AI-native" describes what the detection engine is built on. These are not positions on a continuum; they are different architectural decisions with different detection ceilings.
Traditional SAST tools scan code in isolation. They parse files, build ASTs, and apply pattern-matching rules against what they can see within the boundaries of a single codebase. That works for a narrow class of vulnerabilities where the flaw exists entirely in one place.
Most real vulnerabilities do not work that way.
"Contextual" in security testing means giving an analysis engine the inputs that exist outside the code itself: how the application is deployed, what trust boundaries exist between services, which endpoints are exposed to the public internet, and what the intended behavior was supposed to be. Source code shows what exists. It cannot show what was supposed to exist.
There are several categories of missing input that consistently produce false negatives and incorrectly ranked findings in traditional tools:
Without these inputs, a scanner produces findings that are technically accurate but meaningless in practice, or worse, misses the paths an attacker would actually take.
Contextual AI SAST targets vulnerability classes that sit outside the detection boundary of pattern-based tools. These fall into three broad categories.
Access control, privilege escalation, and IDOR flaws require reasoning about what a code path was supposed to do, beyond what it does. A scanner checking syntax cannot tell whether a user should have reached a given endpoint.
Many real exploit chains span services, modules, or repositories. No finding appears in a single file. Contextual AI SAST traces call chains across trust boundaries to surface these.
As LLM-assisted development grows, so does the volume of code that looks syntactically correct but carries logical flaws. Securing AI-generated code requires contextual reasoning that catches what pattern matching misses here too.
AI-generated code now accounts for a growing share of what gets shipped. Developers using AI coding assistants produce output faster than any review process was designed to handle, and the code itself carries patterns that traditional SAST was never calibrated to catch.
The underlying issue is structural. AI coding assistants generate syntactically correct code that satisfies the immediate functional requirement. What they routinely miss is the broader system context: which services trust which callers, where authorization is actually enforced, what assumptions the surrounding codebase makes about input saniticity. The generated code looks fine in isolation. The vulnerability lives in the relationship between that code and everything around it.
Traditional SAST tools read files. They match patterns against syntax trees. That approach was already limited before AI coding assistants existed. Now the volume of code arriving for review has increased substantially, and the failure modes have changed:
Contextual AI SAST reasons over the full semantic graph of the application, which is why it catches what file-level tools miss when AI-generated code enters the codebase.
Contextual AI SAST builds its analysis on a code property graph, a queryable representation of the codebase that preserves semantic relationships across files, services, and call chains. Where traditional SAST tools parse individual files and match against rule patterns, a code property graph captures how data actually flows through the system: which functions call which, where trust boundaries exist, how objects change shape as they move between layers.
The graph is only half the story. Contextual AI SAST pulls in signals that live entirely outside the source code:
With that full context assembled, the engine reasons inter-procedurally across the graph instead of per-file. A finding only surfaces when the full chain is exploitable given the actual deployment context. The result is that identical code patterns in two different services can produce different risk assessments, because the surrounding infrastructure, trust model, and call chain differ. That is not a tuning choice. It is a structural consequence of building analysis on a complete semantic model instead of isolated file parsing.
Raw severity scores are a flat signal. An identical flaw in a public-facing payment API and in an internal admin tool used by three people carries different risk, but nothing in a pattern-matched finding tells you which is which. Every item in the triage queue looks equally urgent.
Contextual AI SAST changes what a finding actually contains. Each one arrives with the specific execution path, the exploitability condition scoped to the actual deployment environment, and a proof-of-concept exploit that confirms the flaw is real. The PoC runs before the finding reaches any developer, so teams stop spending time confirming exploitability themselves.
Traditional SAST hands you a file location and a severity label. Contextual AI SAST hands you a ranked, deployment-aware finding with an attached exploit. The gap between those two outputs is what makes risk prioritization tractable at scale.
Contextual AI SAST sits at a specific point in the development lifecycle: it runs as code is written and reviewed, before vulnerabilities get baked into a release candidate.
Traditional SAST occupies the same general window, but the similarity ends there. Conventional scanners surface findings at commit or CI time with no signal about exploitability or deployment context. Developers receive a list. They triage manually. Many issues get deferred or dismissed.
Contextual AI SAST changes the timing calculus by making each finding actionable on contact. A finding that arrives with a working proof-of-concept exploit and deployment-aware severity gets resolved, much like the output from a well-structured automated pentest. One that arrives as a pattern match with no context gets added to the backlog.
The development lifecycle spans several distinct security layers, and contextual AI SAST occupies a specific one:
| Layer | Tooling | What It Covers |
|---|---|---|
| Dependency scanning | Snyk, Dependabot | Known CVEs in third-party packages |
| Secret detection | GitGuardian, TruffleHog | Hardcoded credentials and tokens in source |
| SAST vs DAST | Burp Suite, OWASP ZAP | Runtime behavior against a live or staged app |
| Traditional SAST | Semgrep, CodeQL | Pattern-matched code flaws within file or repo scope |
| Contextual AI SAST | Gecko | Semantic, cross-service vulnerability reasoning with deployment and design context |
Each layer covers distinct ground. Among the best AI-powered application security testing tools, contextual AI SAST does not replace dependency scanning or secret detection. It handles what those tools cannot see: logic flaws, authorization gaps, and cross-service exploit paths that only become visible when code is read in full semantic context.
Gecko Security builds what the rest of this post has been describing: a SAST tool that reasons over code with full awareness of the surrounding system. Where traditional SAST reads files, Gecko builds a compiler-accurate semantic graph across the entire codebase, then layers in external context from infrastructure configs, trust boundaries, and deployment topology before producing a finding.
The result is that every finding Gecko surfaces includes a working proof-of-concept exploit and a proposed fix, because the engine has enough context to know whether a code path is actually reachable and whether the risk is real given how the system is deployed.
Gecko's approach covers three things that standard SAST structurally cannot:
This is the category Gecko occupies: contextual AI SAST, where "contextual" is doing specific technical work, not serving as a marketing qualifier.
The findings your current SAST misses are not random gaps. They are the class of vulnerability that only exists across services, across trust boundaries, or in the space between what your code does and what it was designed to do. Contextual AI SAST is built to see that space. Your security posture improves not because the rules got better, but because the analysis finally has the full picture.
Book time with the Gecko team to walk through what that looks like in practice.
Contextual AI SAST is a distinct product category where the analysis engine reasons over a compiler-accurate semantic graph built from code, infrastructure configuration, trust boundaries, and design intent, producing findings scoped to actual deployment risk. Traditional SAST parses files into abstract syntax trees and matches patterns against known signatures, which means it can only flag what its rules describe and has no model of what authorization is supposed to look like in your system.
Yes, because the detection ceiling is fundamentally different. AI-assisted tools like Semgrep apply AI on top of pattern-matching foundations: if a business logic flaw has no matching rule, it goes undetected regardless of how the AI re-ranks output. Contextual AI SAST reasons over the full semantic graph, so it can identify that an authorization check exists in three places but runs on none of the relevant code paths, because the graph preserves that structural relationship across service boundaries where no single file contains the full chain.
Gecko builds a semantic graph that extends across repository boundaries, tracing call chains from one service into the handling service, including through API contracts, protobuf schemas, and shared library dependencies. A vulnerability that only exists when function A in service X calls function B in service Y gets caught, because Gecko's compiler-accurate indexing follows the execution path across trust boundaries instead of stopping at the file or repository edge.
The three primary categories are logic and authorization flaws (broken access control, IDOR, privilege escalation), cross-service and multi-file exploit chains where no single file contains the full vulnerability, and flaws in AI-generated code that looks syntactically correct but breaks authorization assumptions in the surrounding system. These require reasoning about what code was supposed to do, a question that has no syntactic signature and no pattern a rule-based engine can match against.
Gecko and Snyk cover different ground and work alongside each other. Snyk handles known CVEs in third-party packages and supply-chain risk; it does not analyze custom application logic. Gecko covers what Snyk cannot see: authorization gaps, business logic flaws, and cross-service exploit chains in your own code. The two tools complement each other; replacing Snyk with Gecko would leave dependency risk unmonitored.
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
Break down your AppSec stack: what SAST, DAST, SCA, IAST, and pen testing each see — and what they miss. Updated July 2026 by Gecko Security.
Gecko Security
Occasional updates, new content, and insights. No spam; unsubscribe anytime.