-
Notifications
You must be signed in to change notification settings - Fork 37
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
Added check for hard coded API key in Typescript #62
base: master
Are you sure you want to change the base?
Added check for hard coded API key in Typescript #62
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
category: security | ||
|
||
pattern: | | ||
(lexical_declaration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pattern only looks at the variable name, not the value. This will result in a lot of false positives. It's best to implement such a checker using the Go API, to handle complex cases, and entropy etc. Look at #27 for details.
Hard Coded API keys when exposed can be used by hackers and can cause severe damage