Intent-Code Divergence
Medium
- Confidence
- 98% confidence
- Finding
- The examples are marketed as 'production-ready' and 'best practices', yet the Python snippets construct Gremlin queries with f-strings and directly embed user-controlled values such as usernames, locations, category names, and titles. This creates a query-injection risk where crafted input can alter traversal logic, access unintended graph data, or potentially trigger destructive operations depending on server permissions and connector behavior.
