High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: annotate ffmpeg exec for gosec
Marioc48ea0a3829e
diff --git a/internal/handlers/record.go b/internal/handlers/record.goindex 495bbe66..c235e18c 100644--- a/internal/handlers/record.go+++ b/internal/handlers/record.go@@ -532,6 +532,8 @@ func encodeFFmpegToFile(ctx context.Context, tmpDir, outputPath, format string,args = append(args, "-fs", strconv.Itoa(maxOutputBytes))args = append(args, outputPath)+ // #nosec G204 -- ffmpeg executable is fixed and args are built from validated,+ // bounded internal values (format/fps/scale/output path), not shell-expanded input.cmd := exec.CommandContext(ctx, "ffmpeg", args...)var stderr bytes.Buffercmd.Stderr = &stderr