We actively support the following versions of php-chatbot:
| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| < 1.0 | ❌ |
The php-chatbot project takes security bugs seriously. We appreciate your efforts to responsibly disclose your findings.
Please do NOT report security vulnerabilities through public GitHub issues.
Instead, please report them via one of the following methods:
- Email: Send details to
security@rumenx.com - GitHub Security Advisories: Use the GitHub Security Advisories feature
When reporting a security vulnerability, please include:
- Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
- Full paths of source file(s) related to the manifestation of the issue
- The location of the affected source code (tag/branch/commit or direct URL)
- Any special configuration required to reproduce the issue
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue, including how an attacker might exploit the issue
We will respond to security vulnerability reports within 48 hours.
After the initial reply to your report, we will:
- Confirm the problem and determine the affected versions
- Audit code to find any potential similar problems
- Prepare fixes for all supported versions
- Release security patches as soon as possible
We ask that you:
- Give us reasonable time to address the issue before making any information public
- Make a good faith effort to avoid privacy violations, destruction of data, and interruption or degradation of our service
- Only interact with accounts you own or with explicit permission of the account holder
When using php-chatbot:
- API Keys: Store API keys securely using environment variables, never commit them to version control
- Input Validation: Use the built-in message filtering middleware to sanitize user inputs
- Rate Limiting: Implement appropriate rate limiting in your application
- Updates: Keep the package updated to the latest version
- Configuration: Review and customize the security configuration based on your needs
- Monitoring: Log and monitor chat interactions for suspicious activity
php-chatbot includes several built-in security features:
- Message Filtering Middleware: Filters profanity, aggressive content, and malicious links
- Input Sanitization: Validates and sanitizes user inputs
- Configurable Content Policies: Customizable rules for content filtering
- Safe Defaults: Secure configuration out of the box
For more information about configuring these features, see the main README.md.
We recognize and thank the following individuals for responsibly disclosing security vulnerabilities:
(No reports yet)
Thank you for helping keep php-chatbot and our users safe!