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

If you've worked through a security audit, you have likely watched misconfiguration findings land all over the severity range with no obvious logic. That's because risk here isn't in the configuration value itself. It's in where the service runs, who can reach it, and what sits in front of it. Understanding that relationship is the only way to triage these findings without just guessing.
TLDR:
Security misconfiguration happens when a system, service, or application is deployed with settings that leave it open to attack. The flaw is in the configuration, not the code itself. OWASP A05 covers a wide range of these failures: exposed admin interfaces, default credentials left unchanged, overly permissive cloud storage buckets, verbose error messages that reveal stack traces, and unnecessary features left active in production.
What makes this category distinct is that the vulnerability often exists outside the source code entirely. A perfectly written application can still be misconfigured at the infrastructure, container, or cloud layer.
Security misconfiguration has ranked inside the OWASP Top 10 since the list's earliest editions, but its path since 2017 tells a more specific story. In that year it held the sixth position. By 2021 it had climbed to fifth, becoming OWASP A05. The reason is not that developers became less careful. The reason is that the attack surface for misconfiguration expanded faster than the tooling designed to catch it.
The shift toward containerized workloads, cloud-native infrastructure, and distributed service meshes multiplied the number of configuration points any given application now exposes. A single deployment might touch IAM role policies, Kubernetes admission controllers, API gateway security scanning settings, container runtime flags, and secrets manager access rules. Each of those is a place where a default left unchanged or a permission set too broadly creates a real exposure.
OWASP reflects what actually appears in production breaches, not theoretical risk categories. When researchers and incident responders see misconfigured services appearing in breach after breach, the category moves up. The 2021 OWASP data showed 90% of applications tested had some form of misconfiguration, with an average of 208 CWEs mapped to this single category.
That concentration matters. 208 CWEs inside one category means misconfiguration is not a single failure mode. It covers unnecessary features left active, default credentials never rotated, overly permissive cloud storage buckets, missing HTTP security headers, verbose error messages leaking stack traces, and misconfigured XML processors that expose external entity injection. The diversity of the failure modes is exactly why the category keeps rising: no single scanner rule catches all of them, and many only become exploitable given specific deployment context that a static analysis tool cannot see.
Default credentials left unchanged, debug endpoints exposed to production traffic, cloud storage buckets open to anonymous reads, error messages that include stack traces, missing HTTP security headers, and unnecessary services left running. These are the six categories that appear again and again across security audits, and each one reflects a different failure mode in how teams move code from development to production.
Many services ship with well-known default usernames and passwords. When those credentials survive into production unchanged, attackers need no sophistication to gain access. The same applies to API keys, service tokens, and database passwords committed to version control or left in environment files that ship with the container image.
Frameworks like Django, Spring Boot Actuator, and Laravel expose administrative and diagnostic endpoints during development. When deployment configs fail to disable or restrict those endpoints, internal metrics, thread dumps, environment variables, and sometimes remote code execution surfaces become reachable from the public internet.
S3 buckets, Azure Blob containers, and GCS buckets default to private access, but a single misconfigured policy or ACL override can expose gigabytes of sensitive data anonymously. This category accounts for a disproportionate share of publicly reported data breaches.
Stack traces, database query fragments, and internal path names returned in HTTP error responses give attackers a detailed map of the application's internals. The fix is straightforward, but the misconfiguration persists because developers need that verbosity locally and discipline around environment-specific config is inconsistent.
Headers like Content-Security-Policy, X-Frame-Options, Strict-Transport-Security, and Permissions-Policy are not set by application frameworks by default. Each absent header removes a browser-enforced defense against a specific attack class, from clickjacking to protocol downgrade attacks.
Servers provisioned from general-purpose base images often run services that the application never needs: FTP daemons, SNMP agents, unused database engines, or legacy protocol listeners. Each open port is a potential entry point, and the attack surface grows with every service that survives into production without a justification for being there.
Default credentials left unchanged, debug endpoints exposed to production traffic, cloud storage buckets open to anonymous reads, error messages that include stack traces, missing HTTP security headers, and unnecessary services left running. These six categories appear consistently across security audits, and each one reflects a different failure mode in how teams move code from development to production.
Many services ship with well-known default usernames and passwords. When those credentials survive into production unchanged, attackers need no sophistication to gain access. The same applies to API keys, service tokens, and database passwords committed to version control or left in environment files that ship with the container image.
Frameworks like Django, Spring Boot Actuator, and Laravel expose administrative and diagnostic endpoints during development. When deployment configs fail to disable or restrict those endpoints, internal metrics, thread dumps, environment variables, and sometimes remote code execution surfaces become reachable from the public internet.
S3 buckets, Azure Blob containers, and GCS buckets default to private access, but a single misconfigured policy or ACL override can expose gigabytes of sensitive data anonymously. This category accounts for a disproportionate share of publicly reported data breaches.
Stack traces, database query fragments, and internal path names returned in HTTP error responses give attackers a detailed map of the application's internals. The fix is straightforward, but the misconfiguration persists because developers need that verbosity locally and discipline around environment-specific config is inconsistent.
Headers like Content-Security-Policy, X-Frame-Options, Strict-Transport-Security, and Permissions-Policy are not set by application frameworks by default. Each absent header removes a browser-enforced defense against a specific attack class, from clickjacking to protocol downgrade attacks.
Servers provisioned from general-purpose base images often run services the application never needs: FTP daemons, SNMP agents, unused database engines, or legacy protocol listeners. Each open port is a potential entry point, and the attack surface grows with every service that survives into production without a justification for being there.
Two identical services can carry entirely different levels of exposure depending on where and how they run. A configuration that creates a serious gap in one environment may be a non-issue in another.
Consider a debug endpoint left running after deployment. On an internal service sitting behind a VPN, accessible only to a small engineering team, the practical risk is contained. That same endpoint exposed on a public-facing API gateway, reachable without authentication, is a direct path to sensitive system internals. The configuration is the same. The deployment context is not.
This is why security misconfiguration, OWASP A05, resists the kind of binary classification that works for something like SQL injection. You cannot look at a config file in isolation and determine whether it represents real exposure. You need to know what network zone the service occupies, what other controls exist in front of it, who can reach it, and under what conditions.
Several deployment factors consistently change how a misconfiguration translates into actual exposure:
The same misconfiguration report that warrants immediate remediation in one deployment can legitimately sit in a backlog in another. Scanners that produce findings without modeling this context force security teams to make those judgment calls manually, at scale, for every finding.
Three of the most consequential breaches in recent memory trace back not to zero-days or sophisticated exploit chains, but to services that were simply left open.
In 2019, Capital One exposed over 100 million customer records after an attacker exploited a misconfigured AWS WAF. The firewall allowed the server to make outbound requests to the EC2 metadata service, a classic server-side request forgery vector, which returned temporary credentials. No vulnerability in application code was involved. The configuration was wrong, and the infrastructure handed over the keys.
The 2017 Equifax breach, which exposed 147 million records, is often cited as a patching failure. That framing is incomplete. The Apache Struts vulnerability was publicly disclosed in March. Equifax's internal scanner failed to flag the affected system because the server's SSL traffic was not being inspected. A misconfigured security tool meant the scan never reached the vulnerable endpoint.
In 2020, a misconfigured Elasticsearch cluster exposed 5 billion records from a threat intelligence firm. The cluster required no authentication. It had been left accessible to the public internet, indexed by search engines, and sitting there for months before discovery.
The pattern across all three: the vulnerability was not in the code. It was in how the service was deployed, what it was allowed to reach, and what credentials or access controls were applied at the infrastructure layer. No static analysis of the application source would have caught any of them, a structural limitation explained by why static analysis struggles with business logic.
Cloud and container infrastructure has become one of the most fertile grounds for security misconfiguration, largely because the number of configuration surfaces in a cloud-native security platform multiplied faster than security practices evolved to cover them.
A single containerized application might touch Kubernetes RBAC policies, container registry permissions, pod security contexts, network policies, service mesh settings, and cloud IAM roles. Each of those layers carries its own defaults, and those defaults were designed for ease of deployment, not least-privilege access.
A few patterns appear repeatedly in cloud-native deployments:
securityContext was specified, which means a container escape hands an attacker full node-level access instead of a sandboxed process.cluster-admin or wildcard verb bindings that far exceed what the workload actually requires.Cloud providers optimize defaults for getting workloads running quickly. That is a reasonable product decision. The security problem is that teams frequently ship those defaults into production without review, because the configuration worked in staging and no automated gate caught the gap.
Kubernetes, for example, does not enforce a pod security standard by default in many cluster configurations. A pod that requests hostPID: true or mounts the Docker socket will pass admission unless something explicitly rejects it. The misconfiguration isn't always visible at code review time because it lives in Helm values files, Kustomize overlays, or operator-managed CRDs that sit outside the application source tree.
This is the structural problem with misconfigured services at the cloud layer: the attack surface is distributed across files and systems that no single reviewer owns, and the risk only materializes when those pieces land together in a specific deployment context.
Misconfigured services rarely fail in isolation. The exploitable attack path usually runs through a chain of small decisions: a default credential left in place, a debug endpoint exposed to the wrong network segment, a cloud storage bucket with overly permissive ACLs, a container running with capabilities it never needed. No single misconfiguration looks catastrophic on its own. Together, they hand an attacker a reliable path from initial access to lateral movement or data exfiltration.
The mechanics follow a consistent pattern. An attacker identifies an exposed service, extracts credentials or session tokens from a verbose error message or an unsecured configuration file, and uses those to reach a more sensitive system. The deployment context shapes every step: what is exposed, to whom, and whether any compensating control sits between the attacker and the target.
Most software ships with configurations tuned for ease of setup, not security. Database management interfaces ship with known default credentials. Web servers expose version strings and server headers by default. Object storage services default to broad read permissions that made sense in a private network and become a liability the moment the bucket is publicly routable.
Security teams inherit these defaults at deployment time. The gap between what a service exposes by default and what it should expose in a given environment is where OWASP A05 lives. That gap is not a coding flaw in the traditional sense. No static analysis pass over the application source will find it, because the problem exists in the relationship between the software and its environment, not in the software alone.
Detecting security misconfigurations requires a different mindset than detecting injection flaws or broken access control. The vulnerability isn't in the code itself. It's in the gap between what the code assumes about its environment and what the environment actually provides.
Several detection approaches exist, each with distinct coverage boundaries.
Static analysis tools can flag known misconfiguration patterns: default credentials left in configuration files, overly permissive CORS headers, missing security response headers, or TLS settings referencing deprecated cipher suites. Infrastructure-as-code (IaC) scanners like Checkov or tfsec extend this to Terraform, CloudFormation, and Kubernetes manifests, complementing the SAST vs DAST coverage range, catching misconfigurations before they reach deployment.
The limitation is structural. These tools compare configuration values against known-bad patterns. They cannot reason about whether a configuration is appropriate for a given deployment context. A public S3 bucket flagged as a finding might be intentional for a static asset CDN. An open port flagged in a Kubernetes manifest might sit behind a network policy the scanner never reads.
Automated pentest tools and human testers probe live environments directly, checking whether default credentials work, whether error messages expose stack traces, whether directory listing is active, whether admin interfaces are reachable from untrusted networks. This catches what automated tools miss because testers operate in the actual deployment context, not a model of it.
The tradeoff is coverage and cadence. A penetration test captures a point-in-time snapshot. Misconfigurations introduced after the test window go undetected until the next engagement.
Tools like AWS Config, Azure Policy, and open-source alternatives continuously compare live infrastructure state against defined baselines. When a security group rule changes to allow unrestricted inbound access, or a storage bucket ACL is modified, a drift alert fires.
This approach catches what neither static analysis nor periodic penetration testing can: configuration changes that happen between scans, often through manual console edits or ad-hoc changes made under pressure.
| Detection Method | Catches Pre-Deployment | Catches Runtime Drift | Context-Aware | Continuous |
|---|---|---|---|---|
| IaC / SAST Scanning | Yes | No | No | Yes (in CI) |
| Penetration Testing | Partial | Yes | Yes | No |
| Runtime Drift Monitoring | No | Yes | Partial | Yes |
| Manual Config Review | Yes | No | Yes | No |
No single method covers the full attack surface. Misconfigurations that originate in code, propagate through deployment pipelines, and mutate at runtime require detection at each stage. The teams with the lowest exposure run IaC scanning in CI, schedule regular penetration testing against staging and production, and maintain continuous drift monitoring against a hardened baseline, and also cover business logic AppSec vulnerabilities that no infrastructure scanner catches.
Prevention is a process problem before it is a tooling problem. A minimal-footprint deployment posture removes unused services, sample applications, and default accounts before anything reaches production. Security baselines get defined once and applied identically across development, QA, and production.
Least privilege applies at every layer: service accounts, IAM roles, and API permissions should carry only the access the workload requires, scoped to that specific environment. Broad bindings granted for convenience during development have a way of surviving untouched into production.
A few practices worth building into any deployment process:
Environment parity is where incidents start. A configuration relaxed in staging for developer convenience frequently survives into production unnoticed, and that gap accounts for a meaningful share of real incidents.
Gecko's approach starts where static analysis stops: at the boundary between what code says and what deployment actually does.
A SAST tool scanning application source cannot determine whether a misconfigured permission sits behind a protected VPN, whether a service account with excessive privileges is exposed to the public internet, or whether a default credential has been overridden by a secrets manager at runtime. Those facts live outside the code entirely, in infrastructure configs, environment definitions, and deployment manifests.
Gecko reasons over all of it together, the approach behind how Gecko found 30+ CVEs no other AppSec tool caught. By pulling in infrastructure-as-code, container configurations, and environment context alongside application source, it can distinguish a finding that is a real exposure from one that deployment controls already neutralize. The same CORS misconfiguration carries different risk depending on whether the service is internal or public-facing. Gecko sees that difference; a code-only scanner cannot.
The result is findings tied to actual deployment conditions, not hypothetical worst-case assumptions. Security teams spend less time triaging noise from issues that infrastructure already handles, and more time on the misconfigurations that genuinely matter given how their systems are deployed.
This is the structural gap OWASP A05 sits in. The category keeps appearing in breach reports not because developers are careless, but because the tooling most teams rely on was never built to reason across the code-to-infrastructure boundary where security misconfiguration actually lives.
Ninety percent of applications tested had some form of security misconfiguration, and that number reflects a structural problem: the tools most teams rely on look at code, while the exposure lives in infrastructure. Your IaC, your container runtime flags, your IAM bindings, your secrets handling, none of that is visible to a source-only scanner. Covering the full attack surface means closing that gap intentionally, not hoping a downstream penetration test catches what CI missed. Talk to the Gecko team to see what that looks like in practice.
Security misconfiguration covers any gap between how a service is deployed and how it should be secured, such as default credentials left unchanged, overly permissive cloud storage buckets, exposed debug endpoints, missing HTTP security headers, and unnecessary services left running. It ranks at OWASP A05 because 90% of applications tested show some form of it, and the attack surface for misconfiguration grew faster than the tooling designed to catch it as teams moved to containerized, cloud-native infrastructure.
All three, at different stages: no single method covers the full attack surface. IaC scanning catches misconfigured defaults before deployment, penetration testing probes live environments with actual deployment context, and runtime drift monitoring catches configuration changes that happen between scans through manual console edits or ad-hoc infrastructure changes. Teams with the lowest exposure run IaC scanning in CI, schedule regular penetration testing, and maintain continuous drift monitoring against a hardened baseline.
The same configuration can be a real exposure or a non-issue depending on what surrounds it. A debug endpoint on an internal service behind a VPN carries contained risk; that same endpoint on a public-facing API gateway with no authentication is a direct path to system internals. Network reachability, authentication layering, adjacent service trust, and environment parity failures all change how a misconfiguration translates into actual exposure, which is why scanners that produce findings without modeling deployment context force security teams to make those judgment calls manually, at scale, for every finding.
Gecko pulls in infrastructure-as-code, container configurations, and environment context alongside application source, so it can distinguish a finding that represents real exposure from one that deployment controls already neutralize. A code-only scanner cannot determine whether a misconfigured permission sits behind a protected VPN or whether a service account with excessive privileges is reachable from the public internet, because those facts live entirely outside the source tree. The result is findings tied to actual deployment conditions instead of hypothetical worst-case assumptions.
Start with automated IaC scanning in your CI/CD pipeline using tools like Checkov or tfsec to catch misconfigured Kubernetes RBAC, pod security contexts, and cloud IAM roles before deployment. Layer runtime drift monitoring with AWS Config or Azure Policy to catch changes introduced after deployment. The structural problem in container environments is that the attack surface is distributed across Helm values files, Kustomize overlays, and operator-managed CRDs that sit outside the application source tree, so any detection approach limited to application code alone will miss where most cloud-native misconfigurations actually live.
Jeevan Jutla
Co-founder & CEO
JJ joined GCHQ as a teenager, working on security research and exploit development, and scored the highest mark on its reverse engineering and binary exploitation aptitude test ever recorded. The record still stands. He went on to lead security tool development for Binance’s eight-person red team and led the recovery of $500K stolen by North Korean state hackers, the largest recovery of stolen funds at the time.
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
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
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.