| Version | Supported |
|---|---|
| 1.0.x | ✅ |
If you discover a security vulnerability in this SDK, please report it by:
- Do NOT open a public issue
- Email the maintainer directly or create a private security advisory on GitHub
- Include detailed information about the vulnerability
This project uses development dependencies (Vite, Vitest, TypeScript tools) that may show vulnerabilities in npm audit. These vulnerabilities:
- ✅ Are in devDependencies only - Not included in the published package
- ✅ Do not affect production usage - Only used during development/testing
- ✅ Do not affect end users - Not bundled in the distributed package
The published npm package includes only:
{
"dependencies": {
"dotenv": "^17.2.2",
"ws": "^8.14.2", // ✅ Safe version (vulnerabilities are in ws 7.x)
"web3": "^4.16.0",
"web3-eth-accounts": "^4.3.1"
}
}All production dependencies are kept up-to-date and secure.
The following advisories affect development tools only:
- esbuild/vite (moderate) - Development server vulnerability, not included in production
- validator/vite-plugin-dts (moderate) - TypeScript declaration generation tool, dev only
- vue-template-compiler (moderate) - Build tool dependency, dev only
- ws 7.x (high) - Old version in dev dependencies, production uses ws 8.x (safe)
These do not pose a security risk to applications using this SDK.
You can verify what's included in the published package:
npm pack asterdex-sdk
tar -tzf asterdex-sdk-1.0.0.tgzOnly dist/, README.md, and LICENSE files are included.
- API Credentials: Never commit API keys or secrets to version control
- Environment Variables: Use
.envfiles (gitignored) for sensitive data - Testnet First: Always test on testnet before using mainnet
- Rate Limiting: Respect API rate limits to avoid account suspension
- Error Handling: Implement proper error handling for all API calls
- Updates: Keep the SDK updated to receive security patches
This is an unofficial SDK and is not affiliated with AsterDEX. Use at your own risk. Always review the source code before using in production.