{"id":22357686,"url":"https://github.com/bluzi/forter-ex","last_synced_at":"2026-04-11T14:01:52.955Z","repository":{"id":22790083,"uuid":"97323827","full_name":"bluzi/forter-ex","owner":"bluzi","description":"Home exercise for Forter.com - A login page, with client-side bot detection tricks.","archived":false,"fork":false,"pushed_at":"2025-12-31T10:59:24.000Z","size":114,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-04T16:12:11.858Z","etag":null,"topics":["bot-detection","bot-traps","elasticsearch","es6","expressjs","javascript"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-15T15:14:56.000Z","updated_at":"2020-05-24T16:39:30.000Z","dependencies_parsed_at":"2024-09-12T16:16:24.857Z","dependency_job_id":null,"html_url":"https://github.com/bluzi/forter-ex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bluzi/forter-ex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Fforter-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Fforter-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Fforter-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Fforter-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluzi","download_url":"https://codeload.github.com/bluzi/forter-ex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluzi%2Fforter-ex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot-detection","bot-traps","elasticsearch","es6","expressjs","javascript"],"created_at":"2024-12-04T14:15:51.089Z","updated_at":"2026-04-11T14:01:52.936Z","avatar_url":"https://github.com/bluzi.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forter Exercise by Eliran Pe'er\nA login page, with some client-side bot detection tricks.\n\n## Instructions\n1. Clone the project, and run `npm install`\n2. Run the project using `npm start`\n3. Navigate to http://localhost:3000/user/login\n\n# Login credentials\n*Email*: eliran013@gmail.com\n\n*Password*: Aa123456\n\n# Tech\n## Client \n* Vanilla JavaScript\n* Bulma, just for fun\n\n## Server\n* JavaScript\n* ExpressJS\n* ElasticSearch\n\n# What's in there?\n## Bot detection\n* Two bot traps - A semi-invisible anchor and an invisible password input. Using these elements will fire the `onBotDetected` event\n* Required mouse movement\n* Fast input prevention - Type too fast and you're considered a bot\n* Fast submit - Submit the form too fast and you're considered a bot\n* Login attempts spam - Spam the form submittion while changing the input fields will fire the `onBotDetected` event\n\n## onBotDetected\nThe event itself isn't implemented, but you can think about it as if it bans the IP address or present a CAPTCHA (Same as Google CAPTCHA)\n\n## Server security\n* I implemented access tokens middleware (Could have used JWT, but I thought it will be more fun)\n* All of the passwords are hashed using a NPM package called `credential` (https://www.npmjs.com/package/credential). It uses pbkdf2.\n\n## ElasticSearch\nThe ElasticSearch is hosted on AWS. It's a trial, so it'll be available until 29.07.2017\n\n## Things I could have done\n* HTTPS\n* Serverside generation of bot traps - Generation of random bot traps in random places in the HTML, will make them less predictable\n* JWT\n* Detect bots by clicks\n* RDP detections using mouse tracking\n* Much more... :) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzi%2Fforter-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluzi%2Fforter-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluzi%2Fforter-ex/lists"}