Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- This is a true documentation vulnerability because the example incorrectly states that `/api/public` skips `app.use('/api/*', authenticate())`, when that middleware pattern would also match `/api/public`. Developers following this guidance may unintentionally expose or misconfigure authentication boundaries, leading to broken access control or routes behaving opposite to expectations.
