-
Notifications
You must be signed in to change notification settings - Fork 0
created-sut-user #4
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
var sutUserName = "this-is-a-fake-user"; | ||
var sutUserPassword = "not-really-a-password-this-is-fake"; | ||
var sutAPIToken = "bdh97thhdewbIuytvfm90JytgMR453kri09wrnfryswbnhgqwertyuioDFGHJKCVBNMertyuidfghjkUJMIK" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Automated PR Comment From Polaris SASTPolaris SAST Issue - Use of Hard-coded CredentialsLow CWE-798 How to fixPotential mitigations include the following:
In Windows environments, the Encrypted File System (EFS) may provide some protection.
Use randomly assigned salts for each separate hash that is generated. This increases the amount of computation that an attacker needs to conduct a brute-force attack, possibly limiting the effectiveness of the rainbow table method.
|
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.
Automated PR Comment From Polaris SAST
Polaris SAST Issue - Use of Hard-coded Credentials
Low CWE-798
A secret, such as a password, cryptographic key, or token is stored in plaintext directly in the source code, in an application's properties, or configuration file. Users with access to the secret may then use the secret to access resources that they otherwise would not have access to.
How to fix
Potential mitigations include the following:
In Windows environments, the Encrypted File System (EFS) may provide some protection.
Use randomly assigned salts for each separate hash that is generated. This increases the amount of computation that an attacker needs to conduct a brute-force attack, possibly limiting the effectiveness of the rainbow table method.