Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create antisandbox_mousemovement.py #488

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

kevross33
Copy link
Contributor

@kevross33 kevross33 commented Mar 16, 2025

Signature for detecting mouse movement in the sandbox.

There is a simple exclusion list for any problem processes for now although determining if a process creates a GUI window too may be an additional method I may implement later (although I expect most will expect button presses).

Checked on Lumma sample b14ddf64ace0b5f0d7452be28d07355c1c6865710dbed84938e2af48ccaa46cf

No mouse movement (weirdly there was always the first 2 like there was movement during sandbox/sample initialisation before it moved to no movement so I have accounted for that first initial "movement"). This was emulated with disable interaction option when submitting sample.
image

And with mouse movement. I opted for a lower value for this to trigger as sometimes it took not as many samples but with nomouse movement it would continuously poll until it saw some
image

Signature for detecting mouse movement detection in the sandbox. 

There is a simple exclusion list for any problem processes for now although determining if a process creates a GUI window too may be an additional method I may implement later (although I expect most will expect button presses).
Copy link
Contributor

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@doomedraven doomedraven merged commit e482cf9 into CAPESandbox:master Mar 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants