-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
AST-02: Example API Keys in Documentation Match Live Key Format
Severity: HIGH
Affected File(s): aster-finance-futures-api.md, aster-finance-spot-api.md (multiple lines)
Description
API documentation contains three distinct 64-character hex key pairs that match the format of real Aster API keys. Only the spot docs include a 'for demonstration only' disclaimer. The futures docs and createApiKey response example contain no disclaimer.
Vulnerable Code
apiKey: dbefbc809e3e83c283a984c3a1459732ea7db1360ca80c5c2c8867408d28cc83
secretKey: 2b5eb11e18796d12d88f13dc27dbbd02c2cc51ff7059765ed9821957d82bb4d9
Impact
If any keys are or were active, an attacker could execute trades or access account data. The pattern teaches developers that publishing keys in documentation is acceptable.
Recommended Fix
- Confirm all three key pairs are revoked/non-functional
- Replace with clearly labeled placeholders (YOUR_API_KEY_HERE)
- Add 'for demonstration only' disclaimer to ALL examples
Methodology: Triple-verification static analysis -- each finding verified across three independent code review passes.
Researcher: Independent Security Researcher -- Mefai Security Team
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels