eval() call detected
High
- Category
- Dangerous Code Execution
- Content
"codec": video_stream.get("codec_name") if video_stream else None, "width": video_stream.get("width") if video_stream else None, "height": video_stream.get("height") if video_stream else None, "fps": eval(video_stream.get("r_frame_rate", "0/1")) if video_stream else None, } if video_stream else None, "audio": { "codec": audio_stream.get("codec_name") if audio_stream else None,- Confidence
- 99% confidence
- Finding
- Using eval() on data derived from ffprobe output is dangerous because it executes arbitrary Python expressions, not just math. If an attacker can influence the parsed metadata or the ffprobe output path, this can become arbitrary code execution in the context of the skill process.
