- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Test SAST PR Scan [skip ci] #3
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: main
Are you sure you want to change the base?
Conversation
          Wiz Scan Summary
 To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.  | 
    
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.
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 | |
| Likelihood | 
Rule ID: WS-I013-PYTHON-00193
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.
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 | |
| Likelihood | 
Rule ID: WS-I013-PYTHON-00193
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.
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 | |
| Likelihood | 
Rule ID: WS-I013-PYTHON-00193
No description provided.