Intent-Code Divergence
Medium
- Confidence
- 93% confidence
- Finding
- The Python snippet initializes PATTERNS using _build_js_patterns() before that helper is defined, which will raise a NameError at import/runtime and break the scanner. In a security tool, a fail-to-run condition is dangerous because users may assume the audit completed successfully and miss real vulnerabilities.
