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
- The code evaluates ffprobe-derived data with Python eval(), which can execute arbitrary Python code if the parsed value is attacker-controlled or if a malicious ffprobe binary/output is introduced. In this skill context, media metadata comes from untrusted files and external tooling, so treating it as executable code is unsafe and can lead to code execution in the process running the skill.
