Skip to content

Security: HyperDevTools/stellar-toolkit

Security

SECURITY.md

Security Policy

Reporting a Vulnerability

If you discover a security vulnerability, please do the following:

  1. DO NOT open a public issue
  2. Report via GitHub Security Advisories (preferred):
    • Go to the repository Security tab
    • Click "Report a vulnerability"
  3. Or email privately with details

What to include:

  • Description of the vulnerability
  • Steps to reproduce
  • Potential impact
  • Suggested fix (if any)
  • Your contact information

Response Time

  • We aim to acknowledge reports within 48 hours
  • We will provide updates every 7 days until resolved
  • Critical vulnerabilities will be patched within 7 days
  • Non-critical vulnerabilities within 30 days

Supported Versions

Version Supported
0.1.x ✅
< 0.1 ❌

Security Best Practices for Contributors

Before Submitting a PR:

  • ✅ Never commit secrets (API keys, tokens, passwords)
  • ✅ Use environment variables for sensitive configuration
  • ✅ Run npm audit locally before submitting
  • ✅ Review all dependencies for known vulnerabilities
  • ✅ Avoid using eval() or executing arbitrary code
  • ✅ Validate and sanitize all inputs
  • ✅ Use parameterized queries (prevent injection attacks)
  • ✅ No hardcoded credentials or private keys

Code Review Requirements:

  • All PRs require maintainer approval
  • CI must pass (includes security checks)
  • No suspicious patterns or obfuscated code
  • Dependencies must be justified and from trusted sources

Dependency Security

We use:

  • Dependabot - Automatic vulnerability alerts and updates
  • npm audit - Continuous dependency scanning
  • Manual review - All dependency additions reviewed

Vulnerability Disclosure

When a vulnerability is confirmed:

  1. We will create a security advisory
  2. Develop and test a fix
  3. Release a patch version
  4. Publish the advisory with details
  5. Notify users via GitHub releases

Security Features

This project implements:

  • Input validation on all external data
  • Secure error handling (no information leakage)
  • No arbitrary code execution
  • Secure network operations (HTTPS only)
  • Dependency monitoring and updates

Bug Bounty

Currently, we do not offer a bug bounty program. However, we deeply appreciate responsible disclosure and will acknowledge security researchers in our release notes and security advisories.

Contact

For security-related questions: Use GitHub Security Advisories or create a private issue.


Thank you for helping keep Stellar Toolkit secure! 🔒

There aren't any published security advisories