overleaf

Warn

Audited by Socket on Oct 27, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
src/client.ts

This is an Overleaf API client with no clear evidence of intentionally included malware. It has a significant credential-disclosure risk: downloadOutputFile() sends session cookies and a CSRF token to any supplied URL, and cross-origin redirects preserve sensitive headers; a caller-controlled URL or malicious redirect can expose authentication credentials. Use only trusted download URLs and restrict redirects to the configured origin; severity is high for credential confidentiality when these paths are reachable.

Confidence: 99%Severity: 78%
SecurityMEDIUM
src/mcp-server.ts

The code provides an Overleaf MCP server and contains a significant local file-write path traversal risk in pull_project: malicious or crafted ZIP entry names can escape output_dir and overwrite files accessible to the process. The issue involves remote archive data flowing to filesystem writes; no suspicious domains, credentials, or malware behavior are evident. Severity is high for users extracting untrusted project archives; validate each resolved destination is contained within output_dir before writing.

Confidence: 98%Severity: 78%
Audit Metadata
Analyzed At
Oct 27, 2026, 08:43 AM
Package URL
pkg:socket/skills-sh/aloth%2Folcli%2Foverleaf%2F@7e209630448690c810550b8e5129930d3dd1ad17