BestTester takes security seriously. If you discover a security vulnerability, please email security@besttester.dev with:
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact of the vulnerability
- Suggested fix (if available)
Please do not open a public GitHub issue for security vulnerabilities. We will respond within 24 hours and work with you to verify and address the issue.
Every commit and pull request is scanned for:
- Secrets Scanning — via Gitleaks, detects AWS keys, API tokens, private keys, etc.
- Dependency Vulnerabilities — via
npm audit, blocks on high/critical issues - License Compliance — ensures no GPL/incompatible licenses in production dependencies
- OWASP Coverage — security test suite verifies protection against Top 10 vulnerabilities
# Run the unified security audit
npm run security:audit
# Or run checks individually:
npm audit --audit-level=high
npx gitleaks detect --verbose
npx license-checker --productionGitleaks runs automatically before every commit to prevent secrets from entering the repository:
git add .
git commit -m "feat: my feature" # Pre-commit hook blocks if secrets detected- Detection —
npm auditruns in CI on every push - Blocking — PRs fail if high/critical vulnerabilities exist
- Remediation — We run
npm audit fixand update lockfiles - Transparency — Fixed vulnerabilities appear in commit history
If a critical vulnerability affects BestTester:
- We immediately create a security patch release
- Existing dependents are notified via GitHub Security Advisory
- The fix is backported to supported versions
- Never commit secrets — API keys, tokens, credentials, private keys
- Use
.envfiles — Store sensitive data in.env,.env.local,.env.*.local - Review before pushing — Check your commits don't contain secrets
- Report issues privately — Don't disclose vulnerabilities in public discussions
- Keep BestTester updated — Regularly run
npm updateto get security patches - Monitor dependencies — Use
npm auditregularly - Report issues responsibly — Follow this security policy for disclosures
BestTester test suites verify security headers:
Content-Security-Policy— prevents XSSX-Content-Type-Options: nosniff— prevents MIME sniffingX-Frame-Options: DENY— prevents clickjackingStrict-Transport-Security— enforces HTTPSReferrer-Policy: strict-origin-when-cross-origin
All tests include coverage for OWASP Top 10 2021:
- A01: Broken Access Control
- A02: Cryptographic Failures
- A03: Injection
- A04: Insecure Design
- A05: Security Misconfiguration
- A06: Vulnerable Components
- A07: Identification and Authentication Failures
- A08: Software and Data Integrity Failures
- A09: Logging and Monitoring Failures
- A10: Server-Side Request Forgery
Run security tests:
npm run test:securityAfter discovering a vulnerability:
- Day 1 — We acknowledge receipt and begin investigation
- Day 3-7 — We confirm the vulnerability and develop a fix
- Day 7-14 — We release a security patch
- Day 14 — We publicly disclose (if not already public)
For security-related questions, contact: security@besttester.dev
Last Updated: 2025-03-05 Version: 1.0