Loading weBench…
Loading weBench…

ID: marvel-s-guardians-of-the-galaxy_built-in-benchmark-automated• Submitter: webench•Game: Marvel's Guardians of the Galaxy
{
"args": [],
"score": "presentmon",
"metrics": [
{
"id": "average_fps",
"source": "presentmon"
},
{
"id": "one_percent_low_fps",
"source": "presentmon"
}
],
"time_est": 180,
"executable": "webench_guardians_epic.ps1",
"script_content": "$ErrorActionPreference='Stop'\nif(Get-Process gotg -EA SilentlyContinue){throw 'Guardians of the Galaxy is already running. Close it before starting the benchmark.'}\nAdd-Type @'\nusing System;using System.Runtime.InteropServices;\npublic static class WBInput{\n[StructLayout(LayoutKind.Sequential)]public struct R{public int l,t,r,b;}\n[StructLayout(LayoutKind.Explicit,Size=40)]public struct I{[FieldOffset(0)]public int type;[FieldOffset(8)]public K k;}\n[StructLayout(LayoutKind.Sequential)]public struct K{public ushort vk,scan;public uint flags,time;public IntPtr extra;}\n[DllImport(\"user32.dll\")]static extern bool SetForegroundWindow(IntPtr h);\n[DllImport(\"user32.dll\")]static extern bool GetWindowRect(IntPtr h,out R r);\n[DllImport(\"user32.dll\")]static extern bool SetCursorPos(int x,int y);\n[DllImport(\"user32.dll\")]static extern void mouse_event(uint f,uint x,uint y,uint d,UIntPtr e);\n[DllImport(\"user32.dll\",SetLastError=true)]static extern uint SendInput(uint n,I[] a,int z);\npublic static void C(IntPtr h,double x,double y){R r;if(!GetWindowRect(h,out r))throw new Exception(\"Window bounds unavailable.\");SetForegroundWindow(h);SetCursorPos(r.l+(int)((r.r-r.l)*x),r.t+(int)((r.b-r.t)*y));mouse_event(2,0,0,0,UIntPtr.Zero);mouse_event(4,0,0,0,UIntPtr.Zero);}\npublic static void E(){var d=new I{type=1,k=new K{scan=0x12,flags=8}};var u=new I{type=1,k=new K{scan=0x12,flags=10}};if(SendInput(2,new I[]{d,u},40)!=2)throw new Exception(\"Could not send E.\");}\n}\n'@\nfunction W([string]$n,[int]$s){$d=(Get-Date).AddSeconds($s);do{$w=Get-Process gotg -EA SilentlyContinue|?{$_.MainWindowHandle -ne [IntPtr]::Zero -and $_.MainWindowTitle -eq $n}|select -First 1;if($null -ne $w){return $w};Start-Sleep -Milliseconds 500}while((Get-Date)-lt$d);throw \"Expected window not found: $n\"}\n$e=Join-Path $PSScriptRoot 'retail\\gotg.exe';if(!(Test-Path -LiteralPath $e)){throw \"Expected executable not found: $e\"}\nStart-Process $e -ArgumentList '-NoLauncher' -WorkingDirectory $PSScriptRoot|Out-Null\n$l=W 'Guardians Of The Galaxy' 60;[WBInput]::C($l.MainWindowHandle,.04,.06)\n$g=W \"Marvel's Guardians of the Galaxy\" 180;Start-Sleep 50;$g=W \"Marvel's Guardians of the Galaxy\" 10;[WBInput]::E();Start-Sleep 4;$g=W \"Marvel's Guardians of the Galaxy\" 10;[WBInput]::C($g.MainWindowHandle,.15,.80);Start-Sleep 3;$g=W \"Marvel's Guardians of the Galaxy\" 10;[WBInput]::C($g.MainWindowHandle,.47,.85)",
"presentmon_config": {
"process_name": "gotg.exe",
"trim_end_seconds": 2,
"start_delay_seconds": 0,
"capture_duration_seconds": 75,
"process_stability_seconds": 65,
"process_wait_timeout_seconds": 180
}
}[🤖 AI Safety Audit - xiaomi/mimo-v2.5-pro] ✓ SAFE (Confidence: 95%): The script automates the game 'Guardians of the Galaxy' by launching its executable with a standard argument (-NoLauncher) and simulating mouse clicks and key presses via Win32 APIs to interact with the game UI for benchmark startup. All parameters are hardcoded strings or derived from local processes (window names). There are no external network requests, data downloads, obfuscation techniques, or persistence mechanisms. The combination of operations is consistent with legitimate benchmark orchestration: process launch, UI interaction for automation, and no data flow that could indicate malicious intent.