overleaf

Warn

Audited by Socket on Sep 13, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
src/client.ts

The code is a readable Overleaf API client and does not show evidence of intentional malware, data theft, persistence, or sabotage. It handles highly sensitive credentials and has security weaknesses: unrestricted redirects can disclose cookies/CSRF tokens, arbitrary download URLs can exfiltrate credentials, and baseUrl/output URLs are not origin-validated. These issues should be fixed by enforcing HTTPS and an allowlist or same-origin policy, stripping authentication headers on cross-origin redirects, and validating download and server-provided URLs. The temporary upload/delete probing behavior is an expected but side-effecting operation.

Confidence: 97%Severity: 62%
AnomalyLOW
src/mcp.ts

The code appears to be a legitimate Overleaf MCP/CLI integration rather than malware. It contains one significant security weakness in pull_project: untrusted ZIP entry names are written without path containment validation, enabling potential path traversal and file overwrite outside the requested output directory. The exposed account-mutating tools are intentional functionality, but should be protected by caller confirmation and appropriate authorization. No evidence of credential theft, covert exfiltration, obfuscation, or system compromise is present.

Confidence: 98%Severity: 63%
Audit Metadata
Analyzed At
Sep 13, 2026, 06:24 AM
Package URL
pkg:socket/skills-sh/aloth%2Folcli%2Foverleaf%2F@8093e8d8db0e6a9b751421f345b25be1445ccd2c
Security Audit — socket — overleaf