Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

mantis-patch

Generate minimal security fixes, apply them transactionally, and verify each patch in an isolated sandbox.

  • Part of google/mantis
  • 1.6k installs
  • Security & Privacy · Security auditing

When to use it

You have reproduced security findings in workspace/findings/ and need actual code fixes applied and re-tested.

For example

You say

Use mantis-patch to fix the reproduced SQL injection finding in workspace/findings/ and verify the reproducer no longer succeeds.

You get
  • Patched source files
  • Updated finding JSON
  • Re-attack verification result

How it works

  • Writes happen in a private shadow copy or temporary backups, then roll back on failure.
  • Compiled binaries without source get a written mitigation instead of a code patch.
  • Exploit chains are resolved from their constituent findings' patch statuses.