-
Notifications
You must be signed in to change notification settings - Fork 25
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
Set up CI with Azure Pipelines #3577
base: master
Are you sure you want to change the base?
Conversation
[skip ci]
@@ -247,6 +247,8 @@ | |||
return; | |||
} | |||
|
|||
console.log(process.env); |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information High
process environment
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix AI 7 days ago
To fix the problem, we should avoid logging the entire process.env
object. Instead, we can log only non-sensitive information or avoid logging environment variables altogether. In this case, we will remove the logging of process.env
to ensure no sensitive information is exposed.
- Remove the line that logs
process.env
. - No additional methods, imports, or definitions are needed.
-
Copy modified line R250
@@ -249,3 +249,3 @@ | ||
|
||
console.log(process.env); | ||
// Removed logging of process.env to avoid exposing sensitive information | ||
|
No description provided.