{"id":26604227,"url":"https://github.com/devfreaked/arcjet-security-demo","last_synced_at":"2025-03-23T19:29:55.201Z","repository":{"id":283622321,"uuid":"952045930","full_name":"DevFreAkeD/arcjet-security-demo","owner":"DevFreAkeD","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T07:12:28.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T08:24:04.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"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/DevFreAkeD.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}},"created_at":"2025-03-20T16:40:14.000Z","updated_at":"2025-03-21T07:12:32.000Z","dependencies_parsed_at":"2025-03-21T08:34:14.376Z","dependency_job_id":null,"html_url":"https://github.com/DevFreAkeD/arcjet-security-demo","commit_stats":null,"previous_names":["devfreaked/arcjet-security-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Farcjet-security-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Farcjet-security-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Farcjet-security-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevFreAkeD%2Farcjet-security-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevFreAkeD","download_url":"https://codeload.github.com/DevFreAkeD/arcjet-security-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245157238,"owners_count":20569982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-03-23T19:29:54.584Z","updated_at":"2025-03-23T19:29:55.187Z","avatar_url":"https://github.com/DevFreAkeD.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🛡️ Arcjet Security Demo 🚀\n\nThis Project demonstrates Arcjet Security's **powerful security features** designed to protect web applications from threats such as **bot attacks, SQL injection, spam signups, and data leaks**. This project provides **API endpoints** and **interactive demo pages** to test each feature in action.\n\n---\n\n## 🛡️ Features Demonstrated\n\n### 1️⃣ **Shield WAF Protection**\n✅ Protection against **SQL injection** attacks  \n✅ **Cross-Site Scripting (XSS)** prevention  \n✅ Mitigation of **common web attacks**  \n✅ **Real-time threat detection** and blocking  \n\n### 2️⃣ **Bot Detection**\n✅ **Advanced bot traffic identification**  \n✅ Legitimate **bot allowlisting**  \n✅ **Automated threat detection**  \n✅ Protection against **scraping and automated attacks**  \n\n### 3️⃣ **Rate Limiting**\n✅ **Token bucket algorithm** implementation  \n✅ **Flexible rate limiting rules**  \n✅ **DDoS attack protection**  \n✅ **Customizable request thresholds**  \n\n### 4️⃣ **Sensitive Info Protection**\n✅ **PII (Personally Identifiable Information) detection**  \n✅ **Data leak prevention**  \n✅ **Sensitive data masking**  \n✅ **Compliance with data protection laws**  \n\n### 5️⃣ **Signup Protection**\n✅ **Prevention of signup form abuse**  \n✅ **Blocking bot registrations**  \n✅ **Detection of disposable email usage**  \n✅ **Protection against account takeovers**  \n\n---\n\n## 🚀 Tech Stack\n\n- **Next.js 15 (App Router)**\n- **TypeScript**\n- **Arcjet Security Suite**\n- **Lucide Icons**\n- **Tailwind CSS**\n\n---\n\n## 📞 Installation\n\n### **Prerequisites**\n- **Node.js v14+**  \n- **npm** or **yarn**  \n\n### **Setup**\n1. Clone the repository:  \n   ```bash\n   git clone https://github.com/DevFreAkeD/arcjet-security-demo.git\n   cd arcjet-security-demo\n   ```\n2. Install dependencies:  \n   ```bash\n   npm install\n   # or\n   yarn install\n   ```\n3. Run the development server:  \n   ```bash\n   npm run dev\n   # or\n   yarn dev\n   ```\n4. Open your browser and visit:  \n   **🔗 [`http://localhost:3000`](http://localhost:3000)** to see the demo.  \n\n---\n\n## 🌐 API Endpoints\n\n| Feature                     | Endpoint                           | Method  | Description |\n|-----------------------------|-----------------------------------|---------|-------------|\n| **Bot Detection**           | `/api/arcjet/bot-detection`       | `GET`   | Detects and blocks bot traffic. |\n| **Rate Limiting**           | `/api/arcjet/rate-limit`         | `POST`  | Controls the number of requests per user. |\n| **Shield WAF Protection**   | `/api/arcjet/shield-waf-protection`         | `GET`   | Blocks malicious web attacks (SQLi, XSS, etc.). |\n| **Email Validation**        | `/api/arcjet/email-validation`   | `GET`  | Checks for valid email addresses. |\n| **Signup Form Protection**  | `/api/arcjet/signup-form-protection`  | `POST`  | Detects spam, fake signups, and disposable emails. |\n| **Sensitive Info Detection**| `/api/arcjet/sensitive-info`     | `POST`  | Scans data for sensitive information leaks. |\n\n---\n\n## 🎭 Demo Pages\n\nEach security feature has an **interactive demo page**:\n\n| Feature                      | Demo Page                        |\n|------------------------------|----------------------------------|\n| **Bot Detection**            | `/demo/bot-detection`           |\n| **Rate Limiting**            | `/demo/rate-limit`              |\n| **Shield WAF Protection**    | `/demo/shield-waf-protection`              |\n| **Email Validation**         | `/demo/email-validation`        |\n| **Signup Form Protection**   | `/demo/signup-form-protection`       |\n| **Sensitive Info Detection** | `/demo/sensitive-info`          |\n\n---\n\n## 📚 Documentation \u0026 Resources\n- [**Arcjet Documentation**](https://docs.arcjet.com)\n- [**Next.js Documentation**](https://nextjs.org/docs)\n\n---\n\n🚀 **Built with ❤️ using Next.js.**  \n🔗 **Need help?** Feel free to open an [issue](https://github.com/DevFreAkeD/arcjet-security-demo/issues)!  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfreaked%2Farcjet-security-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevfreaked%2Farcjet-security-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevfreaked%2Farcjet-security-demo/lists"}