Skip to content

Security: Amet13/proofback

SECURITY.md

Security policy

proofback reads files written by other people (PDFs, Word documents, notes) and can write to your source files, so security reports are taken seriously.

Reporting a vulnerability

Please report vulnerabilities privately through GitHub security advisories. Do not open a public issue.

Include what you found, how to reproduce it (a minimal PDF, DOCX or project if relevant), and the impact you expect. You should get a first reply within 7 days.

Scope

Threat model

proofback reads files written by other people (PDFs, DOCX, notes) and can write to your source. These are the threats it is built against and the mitigations it commits to. There is no telemetry anywhere in the project.

Threat Mitigation
Malicious PDF exploiting the PDF parser pdfium is fuzzed upstream and pinned to a recent Chromium branch; proofback updates it on every Chromium security release. In the browser it runs inside the WebAssembly sandbox. Native imports parse the PDF in a child process with memory and time limits. proofback's own parsers are fuzzed with cargo-fuzz in CI.
Decompression bombs (.synctex.gz, DOCX zip, PDF streams) Hard limits on decompressed size, entry count, page count and annotation count, all configurable.
XML attacks in DOCX quick-xml with no DTD or external entity resolution.
Path traversal (SyncTeX paths, \input, zip entries, --at checkouts) Every path is canonicalised and must stay inside the project root; symlinks leaving the root are refused.
Unwanted writes Only apply, inline and resolve write. apply checks the anchored text is unchanged and never writes outside the root. --dry-run everywhere.
Prompt injection through reviewer comments Reviewer text is marked untrusted in JSON and MCP output; the agent kit tells agents to treat it as data; proofback exposes no tool that runs commands.
Leaking source to an AI provider suggest is off by default, needs per-project consent, shows the payload, and reads API keys from an environment variable named in the config, never from committed files.
Reviewer identity in blind review --anonymize-authors on import; answer and letter strip PDF metadata (author, creator tool, local paths).
GitHub Action abuse Runs on pull_request with a read-only token by default; posting comments uses a separate workflow_run job; all third-party actions pinned by commit SHA; least-privilege permissions.
Supply chain cargo-deny (licences, advisories, sources) in CI, Dependabot, release artefacts with SHA-256 checksums and signed build provenance (GitHub attestations), npm provenance, pinned pdfium binaries with checksums.
Website No third-party requests (fonts self-hosted), Content Security Policy, no cookies or analytics.

Supported versions

Version Security fixes
Latest 1.x release Yes
Older 1.x releases No: update to the latest 1.x, which keeps every interface in docs/stability.md
0.x No

There aren't any published security advisories