PandaShield checks visitors in the background with proof-of-work and browser signals. Real people usually pass without clicking. Suspicious traffic gets a slider puzzle, and bots get blocked.
Every layer makes attacks more expensive. Real visitors only see a puzzle when the earlier checks look suspicious.
The visitor's browser solves a small SHA-256 task in the background. It's quick for one person but costly at bot scale, and it gets harder for IPs that send lots of requests.
Checks for headless browsers, the webdriver flag, software-only graphics, fake clicks and request rate, then scores the visitor from 0 (bot) to 1 (human).
The server draws a slider puzzle with a decoy gap. The answer never reaches the browser, and the server also checks that the drag moved like a hand.
A pass gives a token that works once and expires after 5 minutes. It's tied to the site key, domain and the visitor's IP hash.
The verify response uses Turnstile's field names, plus score and interactive.
<form action="/login.php" method="POST"> <input name="email" type="email" required> <div class="panda-shield" data-sitekey="pk_your_site_key"></div> <button type="submit">Sign in</button> </form> <script src="https://panda-network.net/captcha.php?action=api.js" async defer></script>
<?php
$res = file_get_contents('https://panda-network.net/captcha.php?action=siteverify', false, stream_context_create(['http' => [
'method' => 'POST',
'header' => "Content-Type: application/x-www-form-urlencoded\r\n",
'content' => http_build_query([
'secret' => 'sk_your_secret_key',
'response' => $_POST['panda-shield-response'] ?? '',
'remoteip' => $_SERVER['REMOTE_ADDR'],
]),
'timeout' => 5,
]]));
$data = json_decode($res ?: '{}', true);
if (empty($data['success'])) { http_response_code(403); exit('Security check failed'); }
// $data['score'] (0–1) and $data['interactive'] are also availableWidget options: data-sitekey data-theme data-action data-cdata data-callback data-expired-callback data-error-callback. JS API: pandaShield.render(), .reset(), .getResponse(), .remove().
Each key only works on the domains you list, and their subdomains.
Browser type, screen size, language count, graphics renderer name, the webdriver flag, and counts of mouse, keyboard and scroll events (never what you type). These are scored once and then thrown away.
A salted one-way hash of your IP address, event types and scores. Raw IPs are never saved. Events are deleted after 30 days and tokens after 24 hours.
No tracking cookies, no profiles across sites, no ads, and no data is sold. The widget runs in a sandboxed frame and can't read the page it's on.