checkmarx-ts / checkmarx-github-action

Checkmarx Scan Github Action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Cx] Information - Use_Of_Hardcoded_Password

github-actions opened this issue · comments

Information - Use_Of_Hardcoded_Password
0 Node - Line 35 - "cxPassword"
let cxUsername = core.getInput('cxUsername', { required: false })
let cxPassword = core.getInput('cxPassword', { required: false })
let cxToken = core.getInput('cxToken', { required: false })

1 Node - Line 35 - getInput
let cxUsername = core.getInput('cxUsername', { required: false })
let cxPassword = core.getInput('cxPassword', { required: false })
let cxToken = core.getInput('cxToken', { required: false })

2 Node - Line 35 - cxPassword
let cxUsername = core.getInput('cxUsername', { required: false })
let cxPassword = core.getInput('cxPassword', { required: false })
let cxToken = core.getInput('cxToken', { required: false })

3 Node - Line 76 - cxPassword
if (utils.isValidString(cxPassword)) {
password = cxPassword.trim()

Comments
Miguel Freitas checkmarx-github-action-master, [Monday, June 8, 2020 9:52:20 PM]: Changed severity to Info
Miguel Freitas checkmarx-github-action-master, [Monday, June 8, 2020 9:51:51 PM]: Changed status to Confirmed


Project Details
Checkmarx Version: 9.0.0.40085 HF1
Project ID: 6
Project Name: checkmarx-github-action-master
Preset: Checkmarx Default
Owner: miguel
Team: CxServer\SP\EMEA


Scan Details
Initiator Name: Miguel Freitas
Scan ID: 1000032
LOC: 4601
Files Scanned: 10
Scan Type: Full
Scan URL: https://cxprivatecloud.checkmarx.net/CxWebClient/ViewerMain.aspx?scanid=1000032&projectid=6
Scan Comment: git master@a2462b7bc679b9d12bcf6255ff8519553dc9eb6d
Scan Type: 00h:01m:03s
Scan Start Date: Tue Jun 09 2020 20:30:16 GMT+0000 (Coordinated Universal Time)
Scan Time: 00h:01m:03s
Source Origin: LocalPath
Visibility: Public


Result Details
Query ID: 3933
Query Path: JavaScript\Cx\JavaScript Server Side Vulnerabilities\Use Of Hardcoded Password Version:1
Query Group: JavaScript_Server_Side_Vulnerabilities
Query Name: Use_Of_Hardcoded_Password
Query Language: JavaScript
Query Language Hash: 0935562945055365
Query Language Change Date: Tue May 19 2020 00:00:00 GMT+0000 (Coordinated Universal Time)
Query Version Code: 97095146
Query Severity: Low
Query Severity Index: 1
Similarity ID: -1181149130
Path ID: 1
Result ID: 1000032
Result State: 2
Result Severity: Information
Result Status: Recurrent
Result Assignee:


Mitigation Details
Checkmarx Recommendations URL: https://cxprivatecloud.checkmarx.net/CxWebClient/ScanQueryDescription.aspx?queryID=3933&queryVersionCode=97095146&queryTitle=Use_Of_Hardcoded_Password
CWE ID: 259
CWE URL: https://cwe.mitre.org/data/definitions/259.html