Identifier / Programs / Linux and Unix
mypy
Type check Python code. tldr-pages
GTFOBins file-write 2 documented commands
How mypy is abused
file-write
--junit-xmlEach abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for mypy.
2 documented commands
file-read unprivileged, with sudo
Partial content is leaked as error messages.
mypy /path/to/input-fileIdentifyfile-write unprivileged, with sudo
Partial content is leaked as error messages inside some XML tags.
mypy /path/to/input-file --junit-xml /path/to/output-fileIdentifyNone of the 2 commands the identifier reads trips a Sigma process-creation rule. These commands are, with GTFOBins’ notes, from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for mypy. The identifier reads the line of each that runs mypy.