Skip to content
Guard.AI

Guard.AI

Github User Authentication Review Detector

Created on 8th March 2026

•

Guard.AI

Guard.AI

Github User Authentication Review Detector

The problem Guard.AI solves

Open-source maintainers often face a major problem during contribution events like Hacktoberfest: a sudden flood of low-effort pull requests. Many contributors submit trivial changes such as whitespace fixes, single-character edits, auto-formatted files, or copied documentation purely to qualify for rewards or swag.

This creates a heavy review burden for maintainers, forcing them to manually inspect dozens or even hundreds of pull requests to determine which ones are genuine contributions and which ones are spam.

GUARD.AI solves this by automatically analyzing every incoming pull request and assigning a low-effort risk score (0–100) using an AI model. The system evaluates factors such as:

  • Code diff size and structure
  • Commit patterns
  • File types changed
  • Author contribution history
  • Semantic relevance of the change

Based on the score, pull requests are categorized into:

  • Safe (0–30) – likely meaningful contributions
  • Review (31–69) – requires human verification
  • Dangerous (70–100) – likely low-effort or spam

Instead of manually reviewing every PR, maintainers can immediately focus on the ones that actually need attention.

The dashboard provides a real-time overview of repository activity, highlighting suspicious contributions, visualizing threat distribution, and presenting AI-generated explanations for why a pull request was flagged.

By automating the triage process, GUARD.AI dramatically reduces review fatigue, protects project quality, and allows maintainers to spend their time on meaningful collaboration rather than spam detection.

Challenges we ran into

One of the biggest challenges we encountered was integrating our backend with AWS Bedrock to power the AI-based pull request analysis.

Because GUARD.AI analyzes code diffs and contribution patterns using an LLM, we needed a reliable way to send structured repository data to the model and receive consistent scoring outputs. During early testing we ran into several issues, including request formatting problems, handling large diff payloads, and ensuring the model returned structured responses that could be parsed reliably by our backend.

Another challenge involved customizing the LLM prompts so that the model could accurately distinguish between meaningful contributions and low-effort changes. Small prompt variations sometimes caused inconsistent scoring results, which required careful prompt engineering and iterative testing.

To solve this, we implemented a structured analysis pipeline where pull request data is preprocessed before being sent to the model. We also standardized the response format so the backend could reliably extract the score, confidence level, and reasoning from the LLM output.

Additionally, we introduced asynchronous processing using queues to ensure that AI analysis would not block user-facing requests. This significantly improved system responsiveness and made the architecture more scalable.

These challenges helped us refine both the system architecture and the AI prompt design, ultimately making GUARD.AI more robust and production-ready.

Discussion

Builders also viewed

See more projects on Devfolio