Skip to content

Code Security Report: 11 total findings [main] #82

Description

@mend-for-github-com

Code Security Report

Scan Metadata

Latest Scan: 2026-07-27 05:41pm
Total Findings: 11 | New Findings: 0 | Resolved Findings: 0
Tested Project Files: 149
Detected Programming Languages: 2 (Go, JavaScript / TypeScript*)

  • Check this box to manually trigger a scan

Note: GitHub may take a few seconds to process actions triggered via checkboxes.
Please wait until the change is visible before continuing.

Most Relevant Findings

The list below presents the 10 most relevant findings that need your attention. To view information on the remaining findings, navigate to the Mend Application.

SeverityVulnerability TypeCWEFileData FlowsDetected
MediumHeap Inspection

CWE-244

flags.go:78

12024-12-04 04:30pm
Vulnerable Code

APPLIANCE_PASSWORD_SH string = COMMON_PASSWORD_SH

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 76505eec-1057-4c92-acaf-bb9e36903de4 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 76505eec-1057-4c92-acaf-bb9e36903de4 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:91

12024-12-04 04:30pm
Vulnerable Code

BLADE_PASSWORD_SH string = COMMON_PASSWORD_SH

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 435835ce-d10b-4c2a-ae63-132a46b6ceb3 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 435835ce-d10b-4c2a-ae63-132a46b6ceb3 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:77

12024-12-04 04:30pm
Vulnerable Code

APPLIANCE_PASSWORD string = APPLIANCE + "-" + PASSWORD

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 6712c848-bbbf-42b6-90da-cdad62a98aee Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 6712c848-bbbf-42b6-90da-cdad62a98aee Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:161

12024-12-04 04:30pm
Vulnerable Code

HOST_PASSWORD_DFLT string = "admin12345"

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 4b2e9f2d-db69-4cb9-bca0-bccd63d538e0 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 4b2e9f2d-db69-4cb9-bca0-bccd63d538e0 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:34

12024-12-04 04:30pm
Vulnerable Code

PASSWORD string = "password"

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk eedafc4d-95a9-44f8-9ecf-0131090d8223 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive eedafc4d-95a9-44f8-9ecf-0131090d8223 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:154

12024-12-04 04:30pm
Vulnerable Code

BLADE_PASSWORD_DFLT string = "0penBmc"

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 173d1605-fea3-49b2-bd57-23db451987c3 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 173d1605-fea3-49b2-bd57-23db451987c3 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:104

12024-12-04 04:30pm
Vulnerable Code

HOST_PASSWORD_SH string = COMMON_PASSWORD_SH

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 37f69a5d-c8d0-40b1-b5f7-459394497dd5 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 37f69a5d-c8d0-40b1-b5f7-459394497dd5 Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:147

12024-12-04 04:30pm
Vulnerable Code

APPLIANCE_PASSWORD_DFLT string = "dummypswd"

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk abec7d65-ea53-4657-8dcb-b553e876f150 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive abec7d65-ea53-4657-8dcb-b553e876f150 Optional Comment
 
MediumWeak Pseudo-Random

CWE-338

sessions.go:192

12024-11-19 10:02pm
Vulnerable Code

r := rand.New(seed)

Secure Code Warrior Training Material

● Training

   ▪ Secure Code Warrior Weak Pseudo-Random Training

● Videos

   ▪ Secure Code Warrior Weak Pseudo-Random Video

● Further Reading

   ▪ OWASP Insecure Randomness

Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 71f397ca-6e52-4537-9c23-3fa5b1e3c41f Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 71f397ca-6e52-4537-9c23-3fa5b1e3c41f Optional Comment
 
MediumHeap Inspection

CWE-244

flags.go:103

12024-12-04 04:30pm
Vulnerable Code

HOST_PASSWORD string = HOST + "-" + PASSWORD

Secure Code Warrior Training Material
Suppress Finding

To suppress this finding as a acceptable risk, comment:

/mend code suppress acceptable-risk 127efa9c-3fbd-4d52-88ed-e39bf79d9442 Optional Comment

To suppress this finding as a false positive, comment:

/mend code suppress false-positive 127efa9c-3fbd-4d52-88ed-e39bf79d9442 Optional Comment

Findings Overview

Severity Vulnerability Type CWE Language Count
Medium Heap Inspection CWE-244 Go 10
Medium Weak Pseudo-Random CWE-338 Go 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions