Skip to content

Conversation

@guyerez
Copy link
Owner

@guyerez guyerez commented Jul 20, 2025

No description provided.

@guyerez guyerez changed the title Test SAST PR Scan Test SAST PR Scan [skip ci] Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 20, 2025
@guyerez guyerez reopened this Jul 20, 2025
@guyerez guyerez closed this Jul 21, 2025
@guyerez guyerez reopened this Jul 21, 2025
@guyerez guyerez closed this Jul 21, 2025
@guyerez guyerez reopened this Jul 21, 2025
@guyerez
Copy link
Owner Author

guyerez commented Jul 21, 2025

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 2 High 9 Medium
Total 2 High 9 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High SAST Finding

Unsafe Subprocess Command Execution (CWE-78)

More Details

This rule detects instances where user-controlled data is passed to the subprocess module in Python, which could lead to command injection vulnerabilities. Command injection allows an attacker to execute arbitrary system commands on the server, potentially leading to data theft, system compromise, or other malicious actions.

When user input is passed unsanitized to subprocess functions like subprocess.run(), subprocess.call(), or subprocess.Popen(), an attacker could craft input that causes the application to execute unintended system commands. This presents a significant security risk, as the attacker can potentially gain full control over the system.

To avoid this vulnerability, user input should be properly sanitized and validated before being passed to subprocess functions. Alternatively, consider using safer methods that do not involve executing external commands, or implement strict input validation and whitelisting mechanisms.

Attribute Value
Impact High
Likelihood Medium

Rule ID: WS-I013-PYTHON-00193

@guyerez guyerez closed this Jul 21, 2025
@guyerez guyerez reopened this Jul 21, 2025
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High SAST Finding

Unsafe Subprocess Command Execution (CWE-78)

More Details

This rule detects instances where user-controlled data is passed to the subprocess module in Python, which could lead to command injection vulnerabilities. Command injection allows an attacker to execute arbitrary system commands on the server, potentially leading to data theft, system compromise, or other malicious actions.

When user input is passed unsanitized to subprocess functions like subprocess.run(), subprocess.call(), or subprocess.Popen(), an attacker could craft input that causes the application to execute unintended system commands. This presents a significant security risk, as the attacker can potentially gain full control over the system.

To avoid this vulnerability, user input should be properly sanitized and validated before being passed to subprocess functions. Alternatively, consider using safer methods that do not involve executing external commands, or implement strict input validation and whitelisting mechanisms.

Attribute Value
Impact High
Likelihood Medium

Rule ID: WS-I013-PYTHON-00193

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High SAST Finding

Unsafe Subprocess Command Execution (CWE-78)

More Details

This rule detects instances where user-controlled data is passed to the subprocess module in Python, which could lead to command injection vulnerabilities. Command injection allows an attacker to execute arbitrary system commands on the server, potentially leading to data theft, system compromise, or other malicious actions.

When user input is passed unsanitized to subprocess functions like subprocess.run(), subprocess.call(), or subprocess.Popen(), an attacker could craft input that causes the application to execute unintended system commands. This presents a significant security risk, as the attacker can potentially gain full control over the system.

To avoid this vulnerability, user input should be properly sanitized and validated before being passed to subprocess functions. Alternatively, consider using safer methods that do not involve executing external commands, or implement strict input validation and whitelisting mechanisms.

Attribute Value
Impact High
Likelihood Medium

Rule ID: WS-I013-PYTHON-00193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants