As spotted by [Sonarcloud](https://sonarcloud.io/project/security_hotspots?id=getlarge_nestjs-ory-integration), the regular expression used [here](https://github.com/getlarge/nestjs-ory-integration/blob/main/packages/keto-relations-parser/src/lib/relation-tuple-parser.ts#L50) might not be safe. - One could improve the regex or split the processing in multiple steps using JS string methods. - Or wrap the Regex operation in VM as suggested in [SO](https://stackoverflow.com/questions/38859506/cancel-regex-match-if-timeout), which would not work in browser though.