You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please share copyable code instead of screenshot?
I think it's because of signature using Promise.
A normal example like this works as expected https://semgrep.dev/s/7n32
hi,
I have been having findings about nosqli injections, I tried following the rule without luck, this is the version I am using
njsscan-0.2.9
This is the finding
This is the code:
As you can see, I'm using
mongo-sanitize
and thenconst emailClean = sanitize(req.body.email)
I'm following this rule
https://github.com/ajinabraham/njsscan/blob/master/njsscan/rules/semantic_grep/database/nosql_find_injection.yaml
The text was updated successfully, but these errors were encountered: