Niubi Guard helps maintainers detect spam, harassment, and coordinated abuse on GitHub Issues and comments. You control signals, models, thresholds, and response actions, with dry-run as the default.
Overview
Niubi Guard is a defense system aimed at GitHub maintainers facing hostile Issues, repeated accusations, and coordinated reputation-pressure campaigns. You choose detection signals, allowlists, an OpenAI-compatible model, prompts, confidence thresholds, and what happens when something is flagged. Strong actions such as delete, close, lock, or block stay off until you enable them and run in apply mode rather than dry-run.
Every detection is meant to be transparent: labels, matched keywords or usernames, AI confidence, reasons, evidence, and planned actions are shown together. The web UI acts as a policy console where you connect a GitHub token, manage repositories, tune username and phrase defenses, configure AI scanning, and review output before anything destructive runs. API keys are not stored by the app; the browser sends them only for the current scan request.
AI detection scans your Issues and comments through an OpenAI-compatible adapter to catch semantic attacks that lack obvious keywords, including bot-like reports, coordinated harassment, spam campaigns, mass mentions, and copy-paste template abuse. Rule-based options can flag newly created accounts with optional profile enrichment. A CLI and JSON configuration file support the same workflow outside the UI.
You can install the CLI from npm, run the Next.js web UI locally, or use Docker. A hosted offering exists, and maintainers may also deploy the stack on their own infrastructure. Documentation and the web UI support English and Simplified Chinese.
Key features
- Configurable detection signals and allowlists
- OpenAI-compatible AI issue and comment scanning
- Dry-run by default with optional apply mode
- Web policy console and bilingual docs
- CLI with starter config generation
- Optional Docker deployment
- Transparent labels, reasons, and planned actions
- Destructive GitHub actions disabled until enabled
Use cases
- Defending a maintainer's GitHub repository from Issue spam
- Reviewing coordinated harassment before taking action
- Combining rule-based and LLM abuse detection
- Running policy scans from CLI or web console
- Blocking interaction limits on abusive accounts when configured