PyDoctor is a security tool, so a weakness in it can give people false confidence about their own projects. Thank you for taking the time to report one.
Security fixes go into the latest minor release. Please upgrade before reporting, in case the issue is already fixed.
| Version | Supported |
|---|---|
| 2.3.x | ✅ |
| < 2.3 | ❌ |
Upgrade with pipx upgrade pydoctor-cli or pip install --upgrade pydoctor-cli. The GitHub Action follows the latest 2.x release when you use @v2.
Please don't open a public issue for a vulnerability.
Report it privately through GitHub: go to the Security tab and click Report a vulnerability. If you can't use GitHub, email demiladebamgboye@gmail.com with "pydoctor security" in the subject.
Please include:
- the PyDoctor version (
pydoctor --version), Python version and operating system - what an attacker could do, and how
- steps or a minimal project that reproduces it
- if it involves secrets, fake values only. Never send real credentials.
PyDoctor is currently maintained by one person, so these are targets rather than guarantees:
- Within 3 working days: an acknowledgement that the report was received.
- Within 10 working days: an assessment: whether it's accepted as a vulnerability, how serious it is, and the next steps.
- Fix: for accepted reports, a patched release as soon as practical, prioritised by severity. You'll be kept updated until it ships.
- Disclosure: once a fix is released, the issue is published as a GitHub Security Advisory, crediting you unless you'd rather stay anonymous. Please keep the details private until then.
If a report is declined, you'll get an explanation.
In scope: pydoctor-cli and its GitHub Action and pre-commit hooks in this repository, for example:
- PyDoctor running code or commands it shouldn't when scanning a project (such as a crafted
pyproject.toml, requirements file or workflow) - PyDoctor revealing secret values it finds (it should only show redacted previews)
pydoctor fixchanging files or packages beyond what it reports and you confirm- the GitHub Action exposing tokens or being exploitable from a pull request
- a scan reporting a clean result when a check didn't actually run
Not a security vulnerability: please open a normal issue for these:
- vulnerabilities in other packages that PyDoctor reports (report those to the package's maintainers)
- a secret format or risky workflow pattern that PyDoctor doesn't detect yet, or a false positive
- vulnerabilities that only affect unsupported versions