-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code ql evaluation 3 #4
base: main
Are you sure you want to change the base?
Conversation
Test |
import { seal } from './utils.js'; | ||
|
||
|
||
var t = /<script type="application\/json">((.|\s)*?)<\/script>/; |
Check failure
Code scanning / CodeQL
Inefficient regular expression
} | ||
|
||
export const isDevEnv = () => { | ||
return apiHost() && apiHost().toLowerCase().includes('mydev.com');} |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization
|
||
var t = /<script type="application\/json">((.|\s)*?)<\/script>/; | ||
|
||
if(host && host.toLowerCase().includes('mydomain.com')){ |
Check failure
Code scanning / CodeQL
Incomplete URL substring sanitization
Test