corkami/mitra
A generator of weird files (binary polyglots, near polyglots, polymocks...) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2171
- days_rel: n/a
- days_push: 619
- n_releases_24m: 0
Adoption not part of the score
1286 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Mitra is a Python CLI tool that generates weird files such as binary polyglots, near-polyglots, polymocks, parasites, and zippers across many file formats. It is aimed at security research and demonstrating risks of poorly designed file formats.
Use cases
- generate a polyglot file that is valid as two formats at once
- append arbitrary data to a PDF while keeping it valid
- create a PNG/DICOM polyglot for parser testing
- demonstrate security risks of a badly designed file format
- extract the two payloads from a polyglot file separately
- test whether a file parser can be tricked by overlapping bytes
When to choose
- you are doing security research on file format parsers
- you need to quickly generate polyglot or near-polyglot test files
- you want to explore which format features enable format abuses
- you need proof-of-concept files for a format design review
When to avoid
- you need a general-purpose file format converter
- you want production tooling that fixes checksums or validates outputs
- you need a GUI or non-technical workflow
- your target format is not among the supported layouts
Facets
cli-tool · maturity active
security developer-tools file-system security files developer-tools python cli cross-platform binary-polyglots file-format-abuse security-research file-parsing
1 source
- readme: https://github.com/corkami/mitra · fetched 2026-08-28 · 5b243e6e1096
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| corkami/mitra | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem