mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-24 20:28:06 +02:00
8 lines
279 B
Python
8 lines
279 B
Python
import os
|
|||
from helpers import process_input
|
|||
|
|||
def handler():
|
|||
user_input = os.environ.get("INPUT")
|
|||
process_input("echo hello", user_input) # SAFE: tainted data in param 1 (non-sink)
|
|||
process_input(user_input, "debug") # UNSAFE: tainted data in param 0 (CMD sink)
|