Privacy and data
What NiceTryBot keeps about visitors and for how long, with text for your sites' privacy notice.
What NiceTryBot keeps about the visitors to your sites and about your team, where, and for how long, with text for your sites' privacy notice. Under the GDPR you, the operator, are the controller of this data. This is a starting point, not legal advice.
Everything NiceTryBot collects about the visitors to your sites, and about your own team: where it's kept, why, how long, and how it's deleted. It's written for operators completing their own records (GDPR Article 30) and their legitimate interests assessment.
Nothing in this list is sent to a third party. Data stays on your edge servers, in your log bucket and in your database. The one exception is AI Ask, which is off until a team member adds their own Anthropic API key.
Retention below is the default. Each team can change it on the Visitor data page (1 to 730 days),
and the defaults can be changed for a whole installation with the VISITOR_DATA_* environment
variables. visitor-data:prune runs every hour and deletes anything older.
Visitors' data
On the edge servers
| Data | What's in it | Kept | Notes |
|---|---|---|---|
Caddy access log (/var/log/caddy/access.json) |
Every request: time, host, full URL including query string, method, status, request headers (values of Cookie, Authorization and similar are redacted by Caddy), client IP, TLS fingerprints |
Rolls at 100 MB, last 10 files, at most 90 days | The only place query strings are kept. Vector reads it, redacts it, and ships it on |
Lockdown state (/var/lib/caddy/lockdown.json) |
Locked hostnames and admins' allowlisted IPs | Until the lockdown changes | |
| Request bodies on captured routes | Read in memory, redacted, then logged | Not kept on the edge | Only on routes a team captures |
In the log bucket (S3)
| Data | What's in it | Kept |
|---|---|---|
| Shipped request logs | The access log after redaction: query strings dropped, smart-claim PINs masked, location and network added from local DB-IP files | 30 days (bucket lifecycle) |
In the database
| Data | What's in it | Why | Kept (default) |
|---|---|---|---|
Request log (edge_requests) |
Time, site, path (no query string), method, status, duration, what the edge did, client IP, user agent, JA3, JA4, JA4H header fingerprint, client hints, Accept-Language, network (ASN), approximate location (country, region, city, coordinates), edge tag |
Finding and stopping scanners, floods, credential stuffing and fraud | 90 days |
| Livewire calls | Which Livewire component a request called | Telling apart actions that share one URL | With its request |
| Tarpit holds | Which tarpit held a request, why it went in, what came of it and how long it was held | Showing what each tarpit did | With its request |
Captured bodies (captured_responses) |
Redacted response bodies; with request recording on, redacted request bodies, the domain of an email address, a password's length (never the password), watchword hits | Investigating attacks on one form | Only on routes a team captures, and request bodies only when the team ticks "Also record what was sent". 1 day, unless flagged: a watchword matched it, or its client holds a verdict, in which case 30 days. Rules and reports read bodies within a day; a backtest of a rule on response bodies only sees the flagged ones beyond that |
Gym visits (gym_sessions) |
Client IP, user agent, JA4, client hints, country, network, site, the address the visitor asked for (including its query string), progress through each challenge with times, which IPs, fingerprints and client hints made attempts | Challenging clients that look automated, and sending people back where they were going | 90 days |
Captcha answers (captcha_answers) |
Pass or fail, time, captcha, answering IP, whether the client looked spoofed or outdated | Measuring which challenges stop bots and not people | 90 days. The answer itself (word typed, path drawn) is checked and discarded |
Fingerprints (js_fingerprint_sightings, js_fingerprints) |
Taken by JavaScript inside the gym only: platform, vendor, timezone, languages, screen and window sizes, colour depth, CPU cores, memory, touch points, canvas/WebGL/audio/font/math hashes, WebGL renderer, plugin count, automation flags, cookie and storage support, Do Not Track, focus, visibility, connection type, browser brand claims; with the IP and JA4 it came from | Recognising one automated device across IPs; spotting headless browsers | 90 days. A fingerprint with no sightings left is deleted too |
Verdicts (verdicts) |
IP and/or JA4, the rule, action (tag or ban), when first and last matched, expiry | Holding a client that misbehaved for a while | While in force, then 30 days after they expire or are lifted. A rule written FOR … ends; FOREVER doesn't |
Client labels (client_labels) |
Names a team gives an IP, fingerprint, user agent or set of client hints | Recognising known clients | Until the team deletes them, or the visitor is erased |
Erasure record (visitor_erasures) |
A keyed hash of an erased IP or fingerprint, who asked, when, how many rows went | Showing an erasure request was carried out | Until the team is deleted |
Lookup tables (paths, user agents, TLS fingerprints, client hints, networks, locations) hold values shared by many requests. On their own they don't identify anyone, and they stay.
Cookies set on visitors
| Cookie | Set when | Purpose | Expires |
|---|---|---|---|
_q_session |
A visitor enters the gym | Carries on the same gym visit across reloads | 15 minutes idle |
_q_pass |
A visitor passes the gym | Lets them through without being challenged again | The routine's pass time: 1 minute to 1 week |
_q_pass_k |
An admin opens a locked site with a signed pass | Lets the admin through a lockdown | 12 hours |
No analytics, advertising or tracking cookies. Cookies a site sets for itself pass through untouched.
Your team's data
| Data | Kept |
|---|---|
| Accounts: name, email, password hash, two-factor secrets, passkeys, browser sessions | Until the account is deleted |
| Team membership, roles and invitations | Until removed; unanswered invitations are deleted when they expire |
| Rules, routines, captures, threat monitors, saved searches, domains, origins | Until deleted |
| Anthropic API keys (AI Ask) | Encrypted; until the user removes them |
Deleting data
- Automatically:
visitor-data:prune, hourly, deletes what's past each team's retention. Each run stops after a few minutes and the next carries on, so a long backlog clears over several runs. - One visitor, on request: on the Visitor data page, look the visitor up by their gym reference, IP address or JA4, and choose Erase this visitor. It deletes their requests (with captured bodies), gym visits (including ones where they took over another visitor's challenge), captcha answers, fingerprints, verdicts and labels, then records that it was done. A reference or IP erases that IP address. Erase by JA4 only for a bot's own fingerprint: a JA4 belongs to a browser and system build, so everyone on the same build shares it.
- Not covered by erasure: the edge's rolling access log and the S3 log bucket, which expire on their own (see above).
AI Ask
AI Ask turns a question into a search or a rule. It sends your question, the search or rule you're editing, and your team's hostnames to Anthropic with the API key you entered. It doesn't send request records, but anything typed into the question is sent, so leave out IP addresses you don't want to share. It's off until someone adds a key under Settings → AI.
Where it runs
Self-hosted, all of the above is on infrastructure you control.
Text for your privacy notice
Visitors to a site behind NiceTryBot need to be told their data is processed for security (GDPR
Articles 13 and 14, and most US state privacy laws). Add one of these to each site's privacy notice,
adjusted to the features you use. Replace every [bracketed] part.
Short version
Security and bot protection. To keep this site available and to stop automated abuse and fraud, we process technical information about each request, including your IP address, approximate location, browser details and how your browser connects. If your connection looks automated, we may ask you to wait or complete a short check, and set a cookie so you aren't asked again. We do this because of our legitimate interests in security and fraud prevention. The information stays on our own systems, isn't shared with anyone else, and is deleted after
[90]days. If a check stops you, contact[email or link].
Full version
Security and bot protection
To keep this site available and secure, and to stop automated abuse such as fake sign-ups, password guessing and fraudulent submissions, we run a security service in front of it. It processes:
- For every request: your IP address, approximate location (country, region and city, worked out from your IP address), network provider, the page you asked for, your browser's user agent and language settings, and technical fingerprints of how your browser connects (its TLS and header fingerprints and client hints).
- If your connection looks automated: we may ask you to wait, let your browser complete a short computation, or solve a puzzle before continuing. While you do, we also read information about your browser and device (such as screen size, timezone, and how it draws graphics), and whether you pass the check. We set a cookie so you aren't asked again for a while.
[If you capture form submissions:]On[forms]: what is submitted, with passwords and other sensitive values removed, to investigate attacks on those forms.Why, and on what basis. We do this because of our legitimate interests in keeping the site secure and preventing fraud (GDPR Article 6(1)(f)). We don't use this information for advertising or marketing, and we don't try to work out who you are.
Automated decisions. Some visitors are challenged or turned away automatically when their connection looks automated. If that happens to you, contact
[email or link]and quote the reference shown on the page, and a person will review it.Sharing. This information stays on our own systems. It isn't sold or shared with anyone else.
[If you use AI Ask: Our staff may use an AI assistant (Anthropic) to search our security logs; it receives their questions and our site names, not your records.]How long we keep it. Request records are deleted after
[90]days, security checks after[90]days, and recorded form submissions after[1]day, or[30]days if they're part of an attack we're investigating. Server logs roll over within[90]days.Your rights. You can ask what we hold about you, ask us to delete it, or object to this processing, by contacting
[email]. Tell us your IP address, or the reference shown on a security check, so we can find your records.
Cookies
If your site lists its cookies, add these. They're strictly necessary for security, so they don't need consent under the ePrivacy rules.
| Cookie | Purpose | Expires |
|---|---|---|
_q_session |
Keeps your place while a security check is in progress | 15 minutes of inactivity |
_q_pass |
Shows you've passed a security check, so you aren't asked again | [the pass time you chose] |
_q_pass_k |
Lets our administrators reach the site during maintenance | 12 hours |
On the security check itself
Give visitors a way to reach a person. Set Contact for visitors on the Visitor data page: the gym then shows it under each challenge and on the page a turned-away visitor sees, with a reference you can look up on the same page.