| Version | Supported |
|---|---|
| 3.0.x | ✅ |
| < 3.0 | ❌ |
BitFlow includes several built-in security features:
- Hardcoded paper trading mode - Cannot accidentally trade real money
- All trades execute on Alpaca's paper trading environment
- No real funds at risk
- API keys stored in
.envfile (never committed to git) .envfile is gitignored by default- Keys never logged or displayed in console
- Maximum position size: 15% of account equity
- Maximum stop loss: 5% per trade
- Maximum take profit: 10% per trade
- Risk per trade: Configurable (default 1%)
- Built-in delays between API calls
- Retry logic with exponential backoff
- Prevents API abuse and bans
- All user inputs validated
- Symbol whitelist (BTC/USD, ETH/USD, etc.)
- Numeric ranges enforced
- Prevents injection attacks
If you discover a security vulnerability, please follow these steps:
- Email: security@meridian-algo.com (or open a private security advisory on GitHub)
- Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Wait for our response before public disclosure
- ❌ Open a public issue for security vulnerabilities
- ❌ Share exploit code publicly
- ❌ Test vulnerabilities on production systems
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Depends on severity
- Critical: 1-7 days
- High: 7-14 days
- Medium: 14-30 days
- Low: 30-90 days
-
Protect Your API Keys
- Never share your
.envfile - Never commit
.envto git - Rotate keys regularly
- Use paper trading keys only
- Never share your
-
Keep Software Updated
- Update to latest version regularly
- Check for security patches
- Update dependencies:
npm update
-
Monitor Your Account
- Check Alpaca dashboard regularly
- Review trade history
- Monitor position sizes
- Set up alerts
-
Use Strong Credentials
- Strong Alpaca account password
- Enable 2FA on Alpaca account
- Secure your development machine
-
Limit Exposure
- Start with small amounts
- Test thoroughly in paper trading
- Never risk more than you can afford to lose
-
Code Review
- Review all PRs for security issues
- Check for hardcoded credentials
- Validate input handling
- Test error scenarios
-
Dependency Management
- Keep dependencies updated
- Audit with
npm audit - Review dependency changes
- Use lock files
-
Secure Coding
- Validate all inputs
- Handle errors gracefully
- Never log sensitive data
- Use parameterized queries
-
Paper Trading Only: This bot is designed for paper trading. Do not modify for live trading without extensive testing and risk management.
-
API Dependencies: Security depends on Alpaca's API security. Review their security practices.
-
Local Storage: Historical data and scores stored locally in CSV files. Protect your machine.
-
No Encryption: Local data is not encrypted. Don't store on shared systems.
- GDPR: No personal data collected or stored
- Financial Regulations: Paper trading only, not a financial service
- Open Source: MIT License, use at your own risk
This software is provided "as is" without warranty. Trading cryptocurrencies carries significant risk. The developers are not responsible for any financial losses. Always test thoroughly and never risk more than you can afford to lose.
- Security Issues: security@meridian-algo.com
- General Issues: https://github.com/MeridianAlgo/Bitflow/issues
- Discussions: https://github.com/MeridianAlgo/Bitflow/discussions
Last Updated: December 2024
Version: 3.0
Made with ❤️ by MeridianAlgo