Skip to main content
Security is your responsibility. The Melonly API provides secure infrastructure, but proper token management and implementation practices are critical for maintaining system security.
No Security Support: Security vulnerabilities, breaches, or compromised tokens are not supported. Implement proper security measures from the start.

Token Security

API tokens provide full access to your server data and operations. Treat them as sensitive credentials.

Storage Requirements

Recommended Approach
Never commit .env files to version control.

Security Violations

Never:
  • Commit tokens to version control (Git, SVN, etc.)
  • Include tokens in client-side code or JavaScript bundles
  • Share tokens in chat messages, emails, or documentation
  • Log tokens in application logs or error messages
  • Store tokens in browser local storage or cookies

Token Lifecycle Management

Recommended Schedule: Every 90 days minimum
Immediate Actions for Compromised Tokens:
  1. Revoke token immediately via Melonly dashboard
  2. Generate replacement token with new name/identifier
  3. Update all applications using the compromised token
  4. Review audit logs for unauthorized activity
  5. Investigate breach source and remediate vulnerability

Network Security

HTTPS Requirements

All API communication must use HTTPS. HTTP connections are rejected.

IP Restrictions

Consider implementing IP allowlisting at your application level:

Application Security

Input Validation

Always validate data before sending to the API:

Error Handling

Implement secure error handling that doesn’t expose sensitive information:

Audit and Compliance

Request Logging

Log API requests for security monitoring (without exposing tokens):

Incident Response

Suspected Token Compromise

  1. Immediate containment - Revoke token via dashboard
  2. Damage assessment - Review audit logs for unauthorized actions
  3. System remediation - Update affected applications with new tokens
  4. Root cause analysis - Identify and fix the compromise vector
  5. Prevention measures - Implement additional security controls

Security Contact

For security vulnerabilities in the Melonly API itself (not implementation issues), contact: admin@melonly.xyz
Scope Limitation: Security support is limited to API infrastructure vulnerabilities only. Implementation security, token management, and application-level security issues are not supported.