mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
11 lines
316 B
Python
11 lines
316 B
Python
"""Command injection — unsupported fixture.
|
|
|
|
Low-confidence finding that produces Unsupported(ConfidenceTooLow).
|
|
Expected verdict: Unsupported(ConfidenceTooLow)
|
|
"""
|
|
import subprocess
|
|
|
|
|
|
def process_request(cmd):
|
|
"""Vulnerable function used in unsupported-confidence test."""
|
|
subprocess.run(cmd, shell=True)
|