# Authentication in Express.js - ID: javascript-express-authentication - Severity: MEDIUM - Languages: JavaScript, TypeScript - Frameworks: express, fastify ## Description Detects missing authentication middleware on protected Express.js endpoints. Applies to admin, user-specific, and API management routes. ## Detection Message {method} {route} lacks authentication ## Remediation Add authentication middleware to protect this endpoint. Example: app.use('/admin', requireAuth); ## Documentation [object Object] ## Related Rules - **Docker Build Optimization and Best Practices** [LOW]: - **Docker Compose Obsolete Version Field** [LOW]: - **Docker File Operations Best Practices** [LOW]: - **Invalid Port Number in EXPOSE** [ERROR]: - **Multiple ENTRYPOINT Instructions** [MEDIUM]: