Security model
ExploitLens checks out two commits of a repository and runs that repository’s Foundry tests against both. Running it on a repository is running that repository’s test code on your machine, with your permissions. That is the function, not a side effect, and no sandbox in this project changes it.
So the only real question is which repository gets to run, and the answer is enforced separately at each entry point, because each has a different idea of who the caller is.
- The HTTP runner refuses to take a manifest path from its caller at all.
It answers only for a fixed registry of reviewed cases. The allowlist
DEFAULT_ALLOWED_REPOSITORY_ROOTSis a real boundary, not a test fixture. - The CLI authorises exactly the one path it printed before executing.
A person typed it, and running
forge testthemselves carries the same exposure. - The MCP server moves the boundary to launch time, where a human still is: the person names one root, and every agent-supplied path resolves against it. See For agents (MCP).
- The GitHub Action takes everything from a committed manifest, on your runner. Review manifests the way you review workflow files.
What counts as a vulnerability
Section titled “What counts as a vulnerability”- Executing code from a repository the caller did not authorise.
- A bundle that verifies while its contents do not support the verdict it carries. That is the worst bug this project can have.
- Path traversal out of a bundle directory, an MCP root, or a repository root.
What does not
Section titled “What does not”- That ExploitLens runs the tests of the repository you point it at.
- Findings in the deliberately exploitable fixtures.
Report privately via GitHub security advisories.