Improving Query Safety & Parameterization Across IYP Browser / Neo4J Browser / Bolt Clients #63
ayushman1210
started this conversation in
General
Replies: 2 comments
-
|
Hi @dpgiakatos, just a small follow-up on this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
For "Neo4J Browser and Bolt sessions" it is better to discuss this topic with Neo4J people. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
During a review of the fetchConnectedNodes function in the IYP Browser, I noticed that user-controlled input (like nodeId) is directly interpolated into Cypher queries. While Neo4j doesn’t allow SQL-style injection, direct interpolation can still introduce issues such as:
This pattern exists across multiple parts of the app (IYP Browser, Neo4J Browser, Bolt sessions), so it’s clearly a broader architectural topic — not specific to a single component.
Since @dpgiakatos confirmed that this is handled at the database level (timeouts, read-only mode), I wanted to open a discussion about whether the project would prefer:
This conversation started from an investigation in this issue
(linking here for reference): [https://github.com/InternetHealthReport/iyp-browser/issues/13]
I’d be happy to help contribute once the maintainers settle on the preferred direction.
Looking forward to hearing your thoughts!
Beta Was this translation helpful? Give feedback.
All reactions