Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The file repeatedly markets the examples as 'production-ready' and following best practices, but the Python snippets construct Cypher queries with f-strings using user-controlled values such as user_id, category, product_id, sort, offset, and limit. This can mislead users into deploying insecure code and enables Cypher injection, query manipulation, data exfiltration, or destructive graph operations if copied into real services.
