Skip to content

How does GoRules prevent XSS? #223

Answered by stefan-gorules
justin0108 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @justin0108,

XSS is not applicable to GoRules as it is a business rules engine. XSS is applicable for frontend running applications, GoRules runs on the backend. The JavaScript is evaluated inside QuickJS (similar to V8, but smaller) and each evaluation spawns a separate context / isolate. We don't use eval or anything similar. Each function runs in it's own context and it doesn't "leak".

Hopefully this answers your question, but if you can provide specific scenario that presents a concern happy to go through it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@justin0108
Comment options

Answer selected by justin0108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants