{"id":23658235,"url":"https://github.com/timooo-thy/anti-scam","last_synced_at":"2025-09-17T21:58:06.390Z","repository":{"id":224948622,"uuid":"764666351","full_name":"timooo-thy/anti-scam","owner":"timooo-thy","description":"SG Anti-Scam AI is a pioneering platform designed to empower your online safety by leveraging the power of artificial intelligence.","archived":false,"fork":false,"pushed_at":"2024-05-10T06:46:39.000Z","size":228,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T11:14:27.902Z","etag":null,"topics":["azure-storage","clerk","nextjs","openai","pinecone","shadcn-ui","tailwindcss","vercel"],"latest_commit_sha":null,"homepage":"https://anti-scam.vercel.app","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/timooo-thy.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":"2024-02-28T13:51:43.000Z","updated_at":"2025-04-25T07:13:12.000Z","dependencies_parsed_at":"2024-03-12T02:51:53.214Z","dependency_job_id":"e0deae94-c5fe-4882-b8ec-6fe2aa469bd4","html_url":"https://github.com/timooo-thy/anti-scam","commit_stats":null,"previous_names":["timooo-thy/anti-scam"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timooo-thy/anti-scam","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fanti-scam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fanti-scam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fanti-scam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fanti-scam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timooo-thy","download_url":"https://codeload.github.com/timooo-thy/anti-scam/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timooo-thy%2Fanti-scam/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275673194,"owners_count":25507471,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["azure-storage","clerk","nextjs","openai","pinecone","shadcn-ui","tailwindcss","vercel"],"created_at":"2024-12-29T00:06:08.839Z","updated_at":"2025-09-17T21:58:06.336Z","avatar_url":"https://github.com/timooo-thy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SG Anti-Scam AI\n\nSG Anti-Scam AI is a pioneering platform designed to empower your online safety by leveraging the power of artificial intelligence. Our mission is to protect users from potential scams encountered during online transactions, especially on platforms like Carousell. By uploading screenshots of your conversations, SG Anti-Scam AI provides peace of mind through advanced scam detection techniques.\n\n## Why SG Anti-Scam AI?\n\nIn the digital age, scams have become increasingly sophisticated, making it difficult for users to distinguish between legitimate offers and scams. SG Anti-Scam AI addresses this challenge by:\n\n- **Enhancing Safety:** Providing a robust layer of protection against scams.\n- **Offering Peace of Mind:** Eliminating the guesswork from online transactions.\n- **Delivering Fast Feedback:** Swiftly informing users about the safety of their interactions.\n\n## How It Works\n\n1. **Upload Conversations:** Users can upload screenshots of their conversations from online marketplaces.\n2. **AI Detection:** Our AI algorithms analyse the conversation, identifying potential scam patterns with a high success rate.\n3. **Fast Feedback:** Users receive immediate feedback on the conversation's safety, along with an AI-generated scam score.\n\n### AI Flow\n\n- **RPA Processing:** Each submission is processed using Robotic Process Automation (RPA) to handle the data efficiently.\n- **GPT Vision API:** To analyze the conversation screenshots, we use GPT Vision API for advanced text recognition, overcoming the limitations of traditional OCR.\n- **GPT-4 with RAG:** We leverage GPT-4 with Retrieval-Augmented Generation (RAG) for analyzing conversation patterns and comparing them with known scam scenarios.\n- **AI Scoring:** An AI-generated scam score is calculated based on the analysis.\n- **Email Notification:** Users receive an email with the results of the analysis.\n- **Vectorise JSON File:** Conversation with AI score is vectorised with OpenAI's embedding and stored in Pinecone.\n- **Admin Dashboard:** An administrative dashboard allows for human review of submissions and scores, ensuring a human-in-the-loop approach for accuracy.\n\n## Tech Stack\n\n- **Frontend:** Next.js, Tailwind CSS, Shadcn UI for a modern, responsive user interface.\n- **Backend:** Next.js API and Server Actions.\n- **Authenication** Clerk for authentication and user role management.\n- **AI and Machine Learning:** OpenAI GPT Vision API, GPT-4, Embeddings with Retrieval Augmented Generation for similarity search and scam detection.\n- **Database:** Pinecone for efficient similarity search in conversational data and Azure blob storage for storing incoming submissions from users.\n- **Hosting:** Deployed on Vercel for reliable, global access.\n\n## Getting Started\n\nTry SG Anti-Scam AI [here](https://anti-scam.vercel.app).\n\nTo contribute to or use SG Anti-Scam AI, clone the repository and follow the setup instructions:\n\n```bash\ngit clone https://github.com/timooo-thy/anti-scam.git\ncd anti-scam\nnpm install\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Fanti-scam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimooo-thy%2Fanti-scam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimooo-thy%2Fanti-scam/lists"}