Skip to content

feat: Human-like Interactions & Advanced Stealth#28

Open
ToufiqQureshi wants to merge 1 commit intomainfrom
feature/human-interactions-stealth-13213244710666700193
Open

feat: Human-like Interactions & Advanced Stealth#28
ToufiqQureshi wants to merge 1 commit intomainfrom
feature/human-interactions-stealth-13213244710666700193

Conversation

@ToufiqQureshi
Copy link
Copy Markdown
Owner

This PR implements advanced human-like behavior and stealth capabilities to evade modern bot detection systems (like Akamai).

Key changes:

  1. Human Interaction (interaction.py):

    • Mouse: Replaced linear mouse movement with cubic Bézier curves. Added variable speed (acceleration/deceleration) and "overshoot" behavior.
    • Typing: Implemented variable inter-key delays (Gaussian distribution), random "thinking" pauses, and occasional mistakes (typing wrong char -> backspace -> correct char).
  2. Stealth Engine (stealth.py):

    • Fingerprint Randomization: Injects JS to add deterministic noise to <canvas> and WebGL readbacks, randomizing the fingerprint per session while maintaining consistency within the session.
    • WebRTC Protection: Overrides RTCPeerConnection to prevent local IP leakage.
    • Deep Masking: Hides navigator.webdriver deep in the prototype chain.
  3. Configuration (config.py):

    • Ensured enable-automation flag is stripped from browser arguments.
    • Fixed a file corruption (merge conflict marker).

These changes aim to pass "human" checks by simulating realistic input patterns and defeating fingerprinting heuristics.


PR created automatically by Jules for task 13213244710666700193 started by @ToufiqQureshi

- Implemented Bézier curve mouse movements for `click` and `mouse_drag` to simulate natural hand arcs.
- Added variable typing speeds, random hesitations, and typo/correction logic to `type` and `fill`.
- Enhanced `stealth.py` with advanced fingerprint randomization (Canvas, WebGL, AudioContext noise).
- Improved `navigator.webdriver` masking and plugin/mime-type spoofing.
- Updated `config.py` to filter `enable-automation` flags and fixed a merge conflict artifact.
- Added dependency `emoji` to `pyproject.toml` (required by `keys.py` but missing in environment).

Co-authored-by: ToufiqQureshi <139612256+ToufiqQureshi@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chuscraper Ready Ready Preview, Comment Feb 23, 2026 9:37am

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.

1 participant