We actively support the following versions of the SuperDapp JS SDK:
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
We take security seriously. If you discover a security vulnerability, please follow these steps:
- Do NOT create a public GitHub issue
- Email security details to: [email protected]
- Include the following information:
- Description of the vulnerability
- Steps to reproduce
- Affected versions
- Potential impact
- Suggested mitigation (if any)
- Acknowledgment: Within 48 hours
- Initial Assessment: Within 5 business days
- Fix Development: Depends on severity and complexity
- Release: As soon as safely possible
- Critical: Remote code execution, authentication bypass
- High: Privilege escalation, data leakage
- Medium: Information disclosure, moderate impact
- Low: Minor security improvements
-
API Token Security
- Never commit API tokens to version control
- Use environment variables for secrets
- Rotate tokens regularly
- Use least-privilege access
-
Environment Configuration
- Validate all environment variables
- Use secure defaults
- Enable debug logging only in development
-
Deployment Security
- Use HTTPS in production
- Enable proper CORS settings
- Implement rate limiting
- Monitor for unusual activity
-
Code Security
- Keep dependencies updated
- Use npm audit regularly
- Validate user inputs
- Sanitize message content
-
Code Review
- All PRs require review
- Security-focused code review
- Automated security scanning
-
Dependencies
- Regular dependency updates
- Vulnerability scanning
- License compliance
-
Testing
- Security test cases
- Penetration testing
- Input validation tests
- Risk: Unauthorized access to bot APIs
- Prevention: Use environment variables, never log tokens
- Detection: Scan code for hardcoded secrets
- Risk: Malicious content in messages
- Prevention: Sanitize all user inputs
- Detection: Content filtering and validation
- Risk: Known vulnerabilities in packages
- Prevention: Regular updates, audit checks
- Detection: Automated scanning tools
Security updates are distributed through:
- GitHub Security Advisories
- NPM security notices
- Email notifications to registered users
- Discord community announcements
This SDK follows security standards for:
- API security best practices
- Data protection regulations
- Open source security guidelines
- Cloud deployment security
For security-related questions:
- Email: [email protected]
- Discord: SuperDapp Community
- GitHub: @superdapp/security-team
We appreciate security researchers who help improve our SDK's security. Responsible disclosure is acknowledged in our release notes and security advisories.