This project follows security best practices to ensure the safety of user data and system integrity.
Dependencies are regularly updated to include security patches and bug fixes. The project uses:
npm auditto check for known vulnerabilities- Dependabot for automated dependency updates (via GitHub Actions)
- Manual review of security advisories
Run these commands to check for security issues:
# Check for vulnerabilities
npm audit
# Check for vulnerabilities with moderate severity or higher
npm audit --audit-level=moderate
# Automatically fix vulnerabilities
npm audit fix
# Review outdated packages
npm outdated- No Hardcoded Secrets: The CLI does not store or request private keys or secrets
- Input Validation: All user inputs are validated before processing
- Secure Communication: All API calls use HTTPS
- Error Handling: Sensitive information is not exposed in error messages
- Dependency Scanning: Regular security audits of dependencies
If you discover a security vulnerability, please report it responsibly:
- Do not create a public issue
- Send details to the maintainers privately
- Include steps to reproduce the vulnerability
- Allow time for the issue to be fixed before disclosure
- Rate Limiting: Built-in rate limiting to prevent API abuse
- Input Sanitization: All inputs are sanitized before processing
- Secure Defaults: Default configuration prioritizes security
- Logging: Security-relevant events are logged for monitoring
The GitHub Actions CI/CD pipeline includes:
- Automated security scanning with Snyk
- Dependency vulnerability checks
- Code quality checks
- Automated testing
To maintain security:
- Run
npm auditregularly - Keep Node.js updated to the latest LTS version
- Review security advisories for dependencies
- Update dependencies when security patches are released
- Use
npm cifor clean installs in production
The CLI supports environment variables for configuration:
HORIZON_MAINNET_URL: Custom Horizon mainnet endpointHORIZON_TESTNET_URL: Custom Horizon testnet endpointLOG_LEVEL: Logging verbosity levelNODE_ENV: Environment setting (development/production)
Never commit environment variables with sensitive data to version control.