Privacy policy
Last updated: December 5, 2026
This page describes what AlgosLab stores and why. It covers the site as it works today.
Who is responsible
AlgosLab is a student-built project. The people who run AlgosLab, in Saudi Arabia, are responsible for the data described here. Contact: contact@algoslab.dev. Messages sent to our contact address pass through third-party email services before reaching the team.
What we store
- Your account: your name, email address and password (if you set one). The password is stored only as a hash, so nobody can read it. Also your role (user, admin or owner), your points, whether your account is banned and why, whether your email address is verified, when the account was created and last changed, and when you asked to delete it, if you did.
- Google or GitHub sign-in: if you sign in with Google or GitHub or connect one of them to your account, which of the two, the ID of your account there, and a label we show you on your account page (the email address of that account, or your GitHub user name). Disconnecting deletes all three.
- Your acceptance of the terms: when you create an account, the date and time you accepted the Terms of use and the Privacy policy, and which version you accepted (the date they were last updated).
- Email codes: the 6-digit codes we email you to verify your email address, to confirm deleting your account, or to confirm a sign-in change on an account without a password. Each is stored only as a hash, with when it was sent, when it expires and how many wrong tries were made. A code works for 10 minutes and stops working after 5 wrong tries. A used code is deleted, and a new code replaces the old one.
- Password resets: when you ask to reset your password, a one-time code for the link, stored only as a hash. It works once, for 60 minutes.
- Your work: every submission, with the code, the programming language, the result, how many tests passed and how long it took. Also which problems you have solved, and when, and which solutions you opened before solving the problem, and when. We use that last record only so that solving such a problem gives no points.
- Drafts: while you are logged in, the code you are writing in the editor is saved to your account about two seconds after you stop typing, one draft per problem and programming language, with the time it was saved. A draft is only there so you can continue later. It is never run or graded, and a draft that is the same as the starter code is not kept. Your browser keeps a copy too (see the Cookies page).
- Sessions: while you are logged in, the server keeps a session with your IP address and your browser's description (its user agent).
- The activity log: when someone registers, logs in, fails to log in, is refused because of a ban, or logs out, the site records the email address used, the IP address, the browser description and the time. When an account is banned or unbanned, that is recorded too.
- The staff log: actions by staff, such as editing content or banning an account, with the staff member's email and IP address and the account or content affected.
- The security log: when a request tries something the site does not allow or that looks like abuse (an admin page without permission, a hidden form field that only bots fill in, an address that attacks often probe, suspicious input, too many attempts, a failed form check or bot check, or a wrong email code), the site records the IP address, the browser description (first 255 characters), the method and the address requested, your account if you were logged in, which rule matched, the names of the fields involved and the flagged value (first 200 characters). Changes to an account are recorded the same way: a deletion requested, refused or cancelled, a deleted account (without the account or email address), Google or GitHub connected or disconnected, and a password added or changed. Passwords, tokens and cookies are never recorded. Repeats from one IP address within 10 minutes are counted in one entry.
- Banned IP addresses: when an owner bans an IP address, the address, when the ban ends, an optional note, who banned it and how many requests it blocked.
- Rate limits: to limit how often a form can be used, the server counts recent attempts per IP address, email address or account. Each count applies only for a set time, from one minute to one day.
- Bug reports you send: see "Bug reports" below.
- Your answer to "Why are you leaving?" if you delete your account: see "Deleting your account" below.
- The server's error log: when something goes wrong on the server, it writes a technical record of the error, which can include the page address and your account ID.
We don't use analytics, advertising or tracking of any kind, and we don't sell your data. The only services that receive it are the ones described on this page.
Why
- To run your account, grade your code and keep your points: that is the service you asked for.
- To keep the site safe: the logs help us spot attacks on accounts, misuse and cheating.
- To fix bugs you report, and to reply if you gave us an email address.
Who can see it
- Everyone: your name and points, on the leaderboard, once you have at least one point and unless your account is banned.
- Admins and owners: account details, points, solved problems, a list of submissions with their results, the activity log entries of one account at a time, and the answers to "Why are you leaving?". The admin pages never show the code of a submission or a draft.
- Owners also see the whole activity log, the staff log, the security log, banned IP addresses, and bug reports with everything attached to them, including your code and the screenshot if you chose to send them.
- The database itself, which holds everything on this page, can only be reached by the people who run the site.
- The code runner: your code and the tests are sent to a separate server that runs them in a throwaway container and returns the output. It keeps nothing.
Emails we send
We send these emails and no others:
- a 6-digit code to verify your email address, after you register, when you log in before verifying, or when you ask for a new one;
- a link to reset your password, when you ask for one;
- a 6-digit code to confirm deleting your account, then a message with the date your account will be deleted, and another one if logging in cancels the deletion;
- a 6-digit code to confirm a sign-in change, if your account has no password;
- a message when Google or GitHub is connected to or disconnected from your account, and when a password is added or changed, so you can act if it was not you.
We use a third-party service to send these emails. Your email address, your name and the message itself are shared with it only for that purpose. This provider may be located outside Saudi Arabia. We never send marketing emails or newsletters.
Signing in with Google or GitHub
You can log in or create an account with Google or GitHub instead of a password. This is optional: email and password work without it.
- What we receive: your name, your email address (only an address Google or GitHub has verified), your profile picture and the ID of your account there, and on GitHub also your user name. We use nothing else from your profile. We keep the name and email address in your account, and the ID to recognise you next time. We don't keep your profile picture, and we don't store the access token Google or GitHub gives us: it is used only during that sign-in, to read these details.
- What we ask for: only your name and email address. On GitHub we read the list of your email addresses to find your primary, verified one, and keep only that one. We never post anything to your Google or GitHub account and never read anything else from it.
- During the sign-in: the session holds a one-time check value and, for a new account, your name, email address and account ID until you accept the terms, for at most 15 minutes. Nothing is created before you accept them.
- Connecting from your account page: you can connect Google or GitHub to an account you already have, even if that Google or GitHub account uses a different email address. We use that address only to show you which account is connected. We never use it to log you in, to reset your password or to email you, and it never replaces the email address of your AlgosLab account. While you connect, the session holds a one-time check value tied to your account for at most 10 minutes.
- What they learn: Google or GitHub sees that you are signing in to AlgosLab, and when. Their own privacy policies cover what they do with that.
- An account created this way has no password until you add one on your account page (confirmed with a 6-digit code we email you) or with Forgot password. You can disconnect Google or GitHub there as long as another way to sign in remains.
Bug reports
If you use "Report a bug" or "Report this problem", we receive what you write and some details about the page, so we can find and fix the problem. The form shows everything before you send it.
- Always sent: your description, the page address (without the part after "?"), the page title, the time, your browser description (its user agent) and screen size, your time zone, the language, theme and app version, and the error the page showed.
- Only if you choose: your email address (if you are not logged in), your account and its email address (if you are logged in), recent failed requests and error messages from the page, a screenshot of the visible page (password and code fields are covered), and on a problem page the code you wrote, the problem and your last result.
We remove passwords, tokens and similar secrets from the failed requests and error messages before we store them. We don't store your IP address with the report. Only the site's owners read bug reports, and we use them only to fix problems and to reply to you if you gave an email address. Please don't put other people's personal data in a report.
Bot protection
We use an automated bot-protection check on sign-up and login, and also on the password reset form and on the bug report form when you are not logged in, to stop automated abuse. It may process technical data such as your IP address. When one of these forms is on screen, your browser loads the check from the provider that runs it, and the provider receives your IP address and signals from your browser (such as its type, settings and how it behaves) to decide whether a person is using it. When you send the form, our server sends the provider the check's one-time code and your IP address to confirm the result. We don't store either; a failed check is recorded in the security log. We don't use the check for anything else, and other pages don't load it. What the provider does with this data is covered by its own privacy policy.
What your browser loads
- The code editor (Monaco) on lesson and challenge pages is served by this site itself, so your browser contacts no other service for it.
- Fonts are served by this site itself, not by a font service.
- The bot check on the forms named above comes from its provider, not from this site.
- Like any website, the servers that host the site see your IP address when you visit.
Where your data is stored
Your data is stored on servers located in Saudi Arabia (Riyadh). The website is served through third-party hosting and content delivery providers. Apart from them, data reaches only the services described on this page: the service that sends our emails, the email services our contact address passes through, the bot check, and Google or GitHub when you choose to sign in with one of them.
How long we keep it
- Your account, solved problems, solution records and drafts are kept until the account is deleted. A draft also goes when you use "Reset to starter code" for that problem and language, or when the problem is removed. If an owner resets your progress, your solved problems, points and solution records are deleted; your submissions stay.
- Submissions are kept. After your account is deleted they stay without your name or email address (see "Deleting your account").
- A login session ends when you log out or after 2 hours without activity; "Remember me" keeps you logged in for up to 30 days.
- Email codes work for 10 minutes, and a password reset link for 60 minutes.
- Activity log entries are deleted after 90 days.
- Security log entries are deleted 90 days after they were last seen, and banned IP addresses 30 days after their ban ends. A permanent ban stays until an owner removes it.
- Bug reports are deleted 30 days after we close them, and every report after 180 days at the latest, with its screenshot.
- The server's error log is one file per day, and only the 14 most recent files are kept.
- The staff log and the answers to "Why are you leaving?" are kept.
These deletions run automatically once a day.
Deleting your account
You can delete your account yourself: on your account page, use "Delete my account". We ask for your password (if your account has one) and a code we email to you.
- Your account is closed at once: you are logged out everywhere and can't use it. It is deleted for good 7 days later. If you log in before then, the deletion is cancelled and we email you to say so.
- What we delete: your account (name, email address, password), your progress and points, your solution records, your drafts, your email codes and password reset links, your sessions and Google or GitHub links, and the activity log entries with your account or email address.
- What we keep, without your name or email address: the code you submitted, bug reports you sent (your email address and the link to your account are removed; what you wrote and attached stays until the report is deleted), and security log entries (they keep the IP address until they are deleted, 90 days after they were last seen). Staff log entries are kept as they are, including the email address they name.
- Admin and owner accounts can't be deleted this way; the owner removes them. When an owner deletes an account, the same data is deleted and kept as described here, at once, without the 7 days.
When you delete your account you can tell us why. This is optional. We save only the reason you picked, your comment if you wrote one, and the day, without your name, email address, account or IP address, so we can't tell whose answer it is. Admins and owners can read these answers, and they are kept after your account is deleted. If you write personal information in the comment, it is kept with the answer, so please don't.
Backups
We keep backup copies of the database so we can recover from a failure. They contain the data described on this page. Deleted data can stay in backup copies until those copies are replaced.
Your rights
You can ask us to:
- show you the data we hold about you, and give you a copy of it;
- correct it if it is wrong;
- delete it;
- stop using it: you can withdraw your consent at any time.
You can do much of this yourself on your account page: change your name, add or change your password, connect or disconnect Google or GitHub, and delete your account (see "Deleting your account" for what is deleted and what is kept). Deleting your account also withdraws your consent: we then stop using your data, except what we keep as described there.
For anything else, email contact@algoslab.dev from the address on your account. We reply within 30 days.
Age
AlgosLab is for people aged 18 or over. By creating an account you confirm that you are 18 or older. We do not knowingly collect data from anyone under 18. If you think someone under 18 has given us data, email contact@algoslab.dev and ask for it to be deleted.
Cookies and browser storage
The site uses only the cookies it needs to keep you logged in and to protect forms, and keeps a few values in your browser: your settings, your code drafts and whether you have closed the cookie notice. The Cookies page lists them all.
Language
This policy is available in Arabic and English. If the two versions differ, the Arabic version prevails.
Changes
When this page changes, the date at the top changes.
Questions and data requests
Email from the address on your account, so we can tell the request comes from you.
contact@algoslab.dev