CloneGuard
Overview
Detects Type 1 and Type 2 code clones in AI-assisted coding in real time — before the developer accepts the suggestion.
CloneGuard is a research tool that automatically detects code clone propagation introduced by AI coding assistants like GitHub Copilot — before the developer accepts the suggestion. HOW IT WORKS: 1. Reads all existing code from your GitHub editor 2. Builds a live index using Karp-Rabin hashing 3. When Copilot suggests code — checks against index 4. Shows warning if Type 1 or Type 2 clone detected FEATURES: - Real-time clone detection — fires automatically - Detects Type 1 (exact) and Type 2 (renamed) clones - Live codebase index built from your current file - Non-blocking warning popup with similarity score - Shows matched function name and line number - Works on github.com and github.dev - All processing done locally — no code sent externally WHAT ARE CODE CLONES: Type 1 — Exact clone: identical code copied verbatim Type 2 — Renamed clone: same logic, different variable names Built for research at Stevens Institute of Technology. Clone Propagation in AI-Assisted Coding Environments.
0 out of 5No ratings
Details
- Version1.0.0
- UpdatedJune 10, 2026
- Offered byvaansh3
- Size21.27KiB
- LanguagesEnglish (United States)
- Developer
Email
vaansh3@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes