Skip to content

Security: AdarshTheki/cartify-ecommerce-app

Security

SECURITY.md

πŸ” Security Policy

🧩 Supported Versions

Only the latest version receives active support and security patches.

Version Supported
1.x βœ… Yes
<1.0.0 ❌ No

🚨 Reporting a Vulnerability

If you find a security issue, please do not disclose it publicly.

  • Contact: adarshverma549@gmail.com
  • Subject: [Security Report] Vulnerability in MERN App
  • Please include:
    • Detailed description of the issue
    • Steps to reproduce
    • A proof-of-concept (if possible)

We'll review and respond within 72 hours and aim to patch validated vulnerabilities within 7 days.


πŸ›‘οΈ Security Measures

βœ… Backend (Node.js + Express)

  • JWT-based authentication with refresh token rotation
  • OAuth login via Google and GitHub using Passport.js
  • HTTP headers secured with helmet
  • Rate-limiting and DDoS protection
  • Input validation with express-validator
  • Passwords hashed with bcrypt

βœ… Database (MongoDB)

  • Mongoose schema validation
  • Prevents NoSQL injection
  • Environment-based database credentials
  • User data isolation

βœ… Frontend (React + Vite)

  • No use of dangerouslySetInnerHTML
  • Sensitive tokens handled via HttpOnly cookies
  • Protected routes via role-based access

πŸ” Regular Maintenance

  • Monthly dependency audit via npm audit and snyk
  • Linting and CI/CD checks for safe code delivery
  • GitHub Dependabot enabled for patch alerts

πŸ™ Responsible Disclosure

We appreciate responsible disclosures and will acknowledge valid reports in our project changelog.


πŸ“… Last Updated

  • August 2, 2025

There aren’t any published security advisories