Intent-Code Divergence
Medium
- Confidence
- 97% confidence
- Finding
- The whitelist runs before any suspicious-pattern checks and skips entire lines containing comments, docstring markers, API URLs, or localhost text. That creates a straightforward evasion path where malicious code or dangerous strings can be hidden on otherwise whitelisted lines, causing the scanner to miss them and undermining its core security purpose.
