overleaf
Warn
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content from remote Overleaf projects, creating an attack surface where malicious LaTeX files could influence the agent's behavior.
- Ingestion points:
src/client.tsviadownloadProject,src/mcp.tsviapull_projecttool. - Boundary markers: Absent (processes raw LaTeX and text content).
- Capability inventory: The skill has extensive capabilities including filesystem write/read and network operations to Overleaf domains.
- Sanitization: While the CLI implementation in
src/cli.tscorrectly validates archive entry paths usingresolveWithinto prevent path traversal (zip-slip), the MCP implementation insrc/mcp.tsfor thepull_projecttool lacks this validation and directly concatenates entry names with the output directory. - [EXTERNAL_DOWNLOADS]: Communicates with
overleaf.comor user-defined self-hosted instances to synchronize files, download PDFs, and fetch compilation artifacts. - [COMMAND_EXECUTION]: Executes local
gitcommands throughsrc/remote-helper.tsto implement native git remote functionality for Overleaf projects.
Audit Metadata