azure-expert
Audited by Socket on Sep 24, 2026
3 alerts found:
SecurityAnomalyx2No clear evidence of malware or intentional data theft is present. However, user-controlled command-line values reach shell=True commands, creating a command-injection vulnerability that can run arbitrary commands with the user's privileges. Use subprocess.run with argument lists and validate inputs; avoid shell=True.
The code appears intended for legitimate, read-only Azure cost and resource analysis. It has a command-injection risk because it constructs shell commands from command-line input and CLI-returned values while using shell=True. No clear malware behavior is present in the fragment. Prefer subprocess argument lists with shell=False and validate values.
This is an Azure resource status-reporting utility. It contains a command-injection vulnerability because untrusted CLI arguments are embedded in shell commands executed with shell=True. No clear malware behavior is present. Use argument lists with shell=False and validate or safely quote resource identifiers.