We actively maintain and provide security updates for the following versions:
| Version | Supported |
|---|---|
| 0.1.x | ✅ |
We take security vulnerabilities seriously. If you discover a security issue, please follow these steps:
DO NOT open a public GitHub issue for security vulnerabilities. Instead, please report them privately:
-
GitHub Security Advisories (Preferred)
- Navigate to the Security Advisories page
- Click "Report a vulnerability"
- Provide detailed information about the vulnerability
-
Direct Contact
- Create a private security advisory through GitHub's interface
- We will respond within 48 hours to acknowledge receipt
When reporting a vulnerability, please include:
- Description: Clear description of the vulnerability
- Impact: What can an attacker do with this vulnerability?
- Reproduction Steps: Step-by-step instructions to reproduce the issue
- Affected Versions: Which versions are affected?
- Suggested Fix: If you have suggestions for fixing the issue
- Proof of Concept: Code or screenshots demonstrating the vulnerability (if applicable)
- Initial Response: Within 48 hours
- Status Update: Within 7 days with our assessment
- Fix Timeline: Depends on severity
- Critical: Patch within 7 days
- High: Patch within 14 days
- Medium: Patch within 30 days
- Low: Patch within 90 days
- We will work with you to understand and validate the vulnerability
- We will develop and test a fix
- We will publicly disclose the vulnerability after a fix is available
- We will credit you in the security advisory (unless you prefer to remain anonymous)
pytest-agents implements the following security measures:
- CodeQL Analysis: Automated security scanning for Python and JavaScript/TypeScript
- Dependency Scanning: Automated vulnerability detection via Dependabot
- Static Analysis: Continuous code quality and security checks
- Multi-stage Builds: Minimal attack surface in production images
- Non-root User: Containers run with least privilege
- Dependency Pinning: Locked dependencies for reproducible builds
- Code Review: All changes require review before merging
- Automated Testing: Comprehensive test coverage (57%)
- CI/CD Pipeline: Automated security checks on every commit
When using pytest-agents, we recommend:
- Never commit API keys or secrets to version control
- Use environment variables for sensitive configuration
- Rotate API keys regularly
- Use separate keys for development and production
# Run with security options
docker run --security-opt=no-new-privileges:true \
--cap-drop=ALL \
--read-only \
pytest_agents:latest# Install with security-focused dependencies
uv pip install --system -e ".[dev]"
# Verify package integrity
uv pip checkThe TypeScript agents execute Node.js code. Ensure:
- Agent scripts are from trusted sources
- Review agent code before execution
- Use appropriate file system permissions
- Limit agent timeout values
The pytest plugin executes in the test environment:
- Isolate test environments from production
- Use separate credentials for testing
- Review test code for security issues
We release security updates as follows:
- Critical: Immediate patch release
- High: Within 2 weeks
- Medium: Next minor version
- Low: Next major version
Subscribe to GitHub Security Advisories for notifications.
pytest-agents development follows:
- OWASP Top 10 security practices
- GitHub Security Best Practices
- Python Security Guidelines
- Node.js Security Best Practices
Current security posture:
For security-related questions that are not vulnerabilities:
- Open a GitHub Discussion
- Tag with "security" label
- Contact maintainers via GitHub
We recognize security researchers who responsibly disclose vulnerabilities:
No vulnerabilities reported yet
Last Updated: 2026-01-02