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

Traditional code scanning catches SQL injection reliably because injection is a syntax problem. Your scanner sees the pattern and flags it. But it keeps missing broken access control vulnerabilities even though they're the number one OWASP risk for four years straight. The reason is structural: business logic flaws require understanding what code is supposed to do - beyond whether the syntax is clean. AI-generated code multiplies this gap because developers ship faster while reviewing less, producing three times the authorization logic that no pattern-based tool can validate. The volume outpaces what human reviewers can absorb, and the tools miss the class entirely.
TLDR:
Code scanning is the automated process of analyzing source code to find security vulnerabilities, coding errors, and compliance violations before software ships. It sits inside the software development lifecycle as early detection infrastructure.
Catch a broken access control flaw at the code review stage, and it costs minutes to fix. Miss it, and you're looking at breach response, regulatory scrutiny, and the kind of headlines nobody wants.
Why does this matter now? Attacks exploiting application vulnerabilities rose by 44% in 2026. The attack surface keeps expanding as codebases grow more distributed and AI-generated code accelerates output without always matching security standards.
There's a range of scanning approaches in active use today, from static analysis that reads code without executing it, to runtime testing that probes running applications, to AI-driven methods that reason about what code is actually supposed to do. Each catches different things, and choosing the wrong one leaves predictable gaps.
Scanning doesn't happen in one place. It runs at multiple checkpoints across the development lifecycle, each catching different categories of issues at different costs.
The sequence typically looks like this:
The shift-left principle is straightforward: the earlier a flaw is caught, the cheaper it is to fix. A vulnerability caught at PR review takes minutes to patch. The same flaw caught post-deployment can take weeks to remediate across distributed services.
GitHub's code scanning integrates directly into this flow via GitHub Actions, triggering analysis on push or pull request events.
Four approaches dominate secure code scanning, and each covers different ground.
There are real tradeoffs to understand before committing to any one method.
Analyzes source code without executing it. Catches injection flaws, hardcoded secrets, and insecure patterns early in development. Runs fast and integrates into CI/CD pipelines, but struggles with logic that spans multiple services or requires runtime context.
Tests a running application by sending malicious inputs and observing responses. Finds issues SAST misses at runtime, but cannot see deep into code paths it never reaches.
Scans third-party dependencies for known CVEs. Given how much code relies on open source packages, this is no longer optional.
Instruments the application during testing to observe behavior from inside. High accuracy, but complex to deploy.
No single approach covers everything. SAST and DAST cover different ground. SCA keeps your supply chain honest. Using only one leaves entire vulnerability classes undetected.
| Scanning Approach | What It Detects | Key Limitations | Detects Business Logic Flaws |
|---|---|---|---|
| SAST (Pattern-Based) | SQL injection, XSS, hardcoded secrets, buffer overflows, insecure cryptography, path traversal within single files | Cannot reason about authorization logic across service boundaries or validate whether code behavior matches intended security model | No - misses broken access control, privilege escalation, and multi-step authorization bypasses |
| DAST (Runtime Testing) | Runtime injection flaws, authentication bypasses, session management issues, server misconfigurations accessible via HTTP | Only tests code paths actually executed during scanning, cannot see internal logic or reach endpoints requiring complex state setup | Partial - finds some authorization issues but misses complex multi-step logic flaws requiring deep application context |
| SCA (Dependency Scanning) | Known CVEs in third-party libraries, outdated dependencies, license compliance violations, vulnerable package versions | Only detects publicly disclosed vulnerabilities in dependencies, provides no visibility into custom application code security | No - scans libraries only, not custom authorization or business logic implementation |
| IAST (Instrumented Testing) | Runtime vulnerabilities with code-level precision, injection flaws during QA testing, data flow issues in executed paths | Requires instrumentation and test coverage, complex deployment, only analyzes code paths exercised during testing phase | Limited - sees executed flows but cannot validate authorization correctness without complete test scenarios |
| AI-Powered Semantic Analysis | Broken access control, privilege escalation, authorization bypasses across service boundaries, multi-step vulnerability chains, missing permission checks | Requires accurate semantic indexing and threat modeling, newer approach with fewer mature vendor options compared to traditional SAST | Yes - reasons about authorization intent and validates whether implementation matches security requirements across entire codebase |
Untuned SAST tools produce false positive rates between 60-90%. Properly configured, that drops to 10-20%. But most teams aren't running properly configured tools.
The practical result is alert fatigue. Developers learn quickly that most findings are noise, so they stop looking. When real vulnerabilities surface in the same queue as hundreds of false alarms, they get triaged the same way: dismissed.
"Anyone who's used SAST tools knows the issues of high false positives while missing entire classes of vulnerabilities like AuthN/Z bypasses or privilege escalations. Every day, defenders waste hours tuning brittle rules, manually reviewing false positives, only to still miss the vulnerabilities that actually matter."
The business impact compounds. Security teams spend cycles tuning rules instead of investigating real threats. Developers lose trust in security tooling, and that erosion is hard to rebuild. You end up in a situation where the scanner raised so many false alarms that the actual threat walks through unchecked.
OWASP 2025 found that 100% of tested applications had some form of broken access control, keeping it at the top of the risk list for the fourth consecutive year. Pattern-based scanners are not catching it. The reason is structural.
Injection attacks got solved because they're syntactic problems. The code structure is wrong, and rules can catch wrong structure. Business logic vulnerabilities are semantic problems. The code runs exactly as written. The flaw is that what it does diverges from what it should do.
A scanner can tell you whether a query is parameterized. It cannot validate user access permissions. That requires knowing the authorization model, understanding trust boundaries, and recognizing when an API endpoint violates the intended permission scope. No pattern covers that.
This is why the vulnerability class persists despite widespread scanning adoption.
CMU research found that 60% of AI-generated features work correctly. Only 10% meet security standards. That gap is where vulnerabilities live.
Stanford researcher Dan Boneh found something equally concerning: engineers using AI assistants wrote less secure code while trusting their output more. The confidence-reality gap is the dangerous part. Developers shipping code faster, reviewing it less, and assuming correctness where none exists.
The volume problem compounds quickly. AI coding assistants introduce vulnerability patterns at scale. A developer producing three times the code output also produces three times the unreviewed authorization logic, three times the missing permission checks, three times the business logic that no scanner ever reads correctly.
Traditional pattern-matching SAST was never designed for this. It struggles with the vulnerabilities most common in AI-generated code - those that look syntactically clean but break intent entirely. The code passes the linter. It fails in production.
Human reviewers cannot absorb the volume. Pattern-based tools miss the class. The gap between what gets written and what gets properly reviewed keeps widening.
Running a code scanning program that actually works comes down to a few repeatable decisions made consistently.
Scanning post-deployment is damage control. Scanning at PR review is prevention. Configure your tools to trigger on pull request events so findings reach developers while context is fresh. GitHub code scanning via Actions makes this straightforward to automate.

A scanner nobody trusts gets ignored. Before expanding coverage, tune your configuration to cut false positives. Suppress known safe patterns, set severity thresholds, and limit alerts to findings developers can actually act on.
Not all findings deserve equal attention. Triage by:
Adoption without measurement drifts. Monitor fix rate by severity, mean time to remediation, and which finding categories stay open longest. These metrics tell you whether the program is working or just generating reports nobody reads.
Pattern-based scanning has a ceiling. Once you accept that business logic flaws require semantic understanding, the question becomes: what actually provides it?
AI-powered tools are closing this gap by reasoning about code intent instead of just code structure. Instead of layering AI onto an AST parser, the more capable approaches build compiler-accurate indexers that preserve the semantic relationships traditional tools discard. Where AST-based scanners see syntax within a file, a Code Property Graph traces how data and trust flow across files, services, and infrastructure boundaries.
This creates an analysis layer that can answer questions SAST fundamentally cannot: Is there an authorization check anywhere in this call chain? Does user context survive across service boundaries? Should this parameter be validated but isn't?
The most capable AI scanning approaches run three phases modeled on how skilled pentesters work:
This is how Cal.com's three-bug chain allowed account takeover. No single file contained the vulnerability. Pattern matching never would have surfaced it.
Business logic flaws stay at the top of OWASP rankings because code scanning tools built on pattern matching can't detect them. The code runs exactly as written, passes every linter, and violates every authorization rule you meant to build. AI-powered analysis closes that gap by reasoning about what code should do versus what it says. If you want to see what that looks like on your codebase, grab a 30-minute slot and we'll walk through real findings together. The vulnerability that breaks you won't look broken in an AST.
SAST uses pattern matching to find syntactic vulnerabilities like SQL injection, but cannot reason about whether authorization logic is correct or missing. AI-powered scanning builds a semantic understanding of your codebase to find business logic flaws - like broken access control and privilege escalation - by reasoning about what code should do versus what it actually does.
Yes. GitHub offers code scanning through GitHub Actions for public repositories at no cost, and private repositories get limited free scanning depending on your plan. For more sophisticated business logic vulnerability detection beyond pattern matching, tools like Gecko Security offer free preview access at app.gecko.security.
Traditional SAST analyzes code structure within files but cannot trace whether authorization checks exist across service boundaries or call chains. A scanner can verify a query is parameterized, but it cannot determine if a user accessing that data has permission to see it - that requires understanding your application's authorization model and trust boundaries.
Static analysis catches structural flaws early without running code, while runtime testing finds execution issues by probing live applications. Neither alone is sufficient - SAST misses vulnerabilities that only appear at runtime, and DAST cannot reach code paths it never executes. Most security programs run both, with SCA added to scan dependencies for known CVEs.
Configure severity thresholds before scaling coverage, suppress known safe patterns in your codebase, and tune findings to what developers can act on. Track which alerts get ignored to identify noise sources. AI-powered scanners that verify findings with proof-of-concept exploits cut false positives by validating exploitability before surfacing alerts, reducing triage time from hours to minutes.
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.