We actively support the following versions of this GitHub Action:
| Version | Supported |
|---|---|
| v1.x | ✅ |
| < 1.0 | ❌ |
We take the security of this GitHub Action seriously. If you discover a security vulnerability, please follow these steps:
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them via email to:
- Email: jason.miller@thoughtparameters.com
- Subject: Security Vulnerability in python-unit-testing action
Please include the following information in your report:
- Description: A clear description of the vulnerability
- Impact: What an attacker could achieve by exploiting this vulnerability
- Reproduction Steps: Detailed steps to reproduce the issue
- Affected Versions: Which versions of the action are affected
- Suggested Fix: If you have ideas on how to fix the issue (optional)
- Initial Response: Within 48 hours of receiving your report
- Status Update: Within 7 days with an assessment of the vulnerability
- Fix Timeline: We aim to release a fix within 30 days for critical issues
- Please allow us reasonable time to address the vulnerability before public disclosure
- We will acknowledge your contribution in the security advisory (if you wish)
- We may provide a CVE identifier for significant vulnerabilities
When using this action in your workflows:
-
Pin to Specific Versions: Use specific version tags (e.g.,
@v1.0.0) rather than floating tags when possible for production workflows -
Review Permissions: Only grant necessary permissions to the workflow:
permissions: contents: write # Only needed if commit-badges is enabled
-
Protect Secrets: Never pass secrets or credentials through action inputs
-
Review Dependencies: Check the
requirements-filefor untrusted packages -
Use Branch Protection: Enable branch protection to prevent unauthorized badge commits
When commit-badges is enabled:
- The action will commit SVG badge files to your repository
- It uses the
github-actions[bot]account for commits - Commits include
[skip ci]to prevent infinite workflow loops - Requires
contents: writepermission
Mitigation: Only enable badge commits if you trust the test results and understand the implications.
This action installs:
- pytest from PyPI
- Your specified requirements file packages
Mitigation:
- Review your requirements file for known vulnerabilities
- Use tools like
pip-auditorsafetyto scan dependencies - Pin package versions in your requirements file
Security updates will be released as:
- Patch releases for minor security issues
- Minor releases for moderate security issues
- Major releases for critical security issues with breaking changes
We will publish security advisories through GitHub Security Advisories.
We appreciate the security research community's efforts in responsibly disclosing vulnerabilities. Contributors who report valid security issues will be acknowledged (with permission) in our security advisories and release notes.