Report a vulnerability privately through GitHub: Security → Report a vulnerability. Please don't open a public issue for one.
You'll get an acknowledgement within a few days. footman is maintained by one person, so I can't promise an SLA — I can promise you won't be ignored.
Pre-1.0, only the latest release gets fixes. There are no maintained backport branches.
footman's job is to run the code in your tasks.py, and to run the programs
those tasks call. So these are working as intended and are not
vulnerabilities:
- A task file that runs arbitrary code. Running it is the feature. Reading
a
tasks.pyyou don't trust is the same act as running aMakefileor asetup.pyyou don't trust. - Task discovery finding a
tasks.pyin a directory you moved into. The monorepo cascade walks from the repo root down to where you stand — that is documented behaviour, and it is why footman won't cascade past a project boundary. - A task passing your arguments to a program that then does something destructive.
- Completion importing your task files to build its cache. The first Tab in
a fresh directory, and the background rebuild once a cached manifest goes
stale, spawn a subprocess that imports the same
tasks.pya run would. That is the documented design, not a hole: importing a repo's task files is the same risk posture as opening any other code file in that repo, and a dynamic completer already runs your function on the execution path. The process that answers the keystroke stays stdlib-only and imports nothing; what it spawns runs code you already trusted enough to check out.
These do count, and I want to hear about them:
- Anything that makes footman run code from outside the task files it is meant to load — a completion path that runs something those files never declared, a cached manifest that becomes a code path, a config key that reaches an exec.
- Files written outside the documented cache, data and config directories, or written with permissions wider than they should be.
- A secret that leaks where it shouldn't: into the manifest, the timing
history, a profile trace,
--jsonoutput, or a progress line. TheSecretmarker exists to prevent exactly this — a case where it doesn't is a bug worth reporting privately. - Anything in the completion hot path that can be induced to read or write outside the cache directory.