Analysis updated 2026-05-18
Scan a repository's issues and comments for spam or coordinated harassment patterns
Run destructive actions like deleting comments or blocking users only after explicitly enabling them
Configure an AI model to flag semantic attacks that keyword rules alone would miss
| albert-weasker/niubi_guard | gordensun/learningcell | predictiveflow-labs/polymarket-arbitrage-bot | |
|---|---|---|---|
| Stars | 199 | 200 | 197 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Needs a GitHub token to scan a repo, and optionally an OpenAI-compatible API key for AI detection.
Niubi Guard is a free, open-source tool that helps GitHub project maintainers defend their repositories against spam, harassment, and coordinated abuse campaigns. It was built in response to a pattern maintainers have reported: waves of hostile issues, repeated copy-paste accusations, and reputation-pressure attacks that normal moderation tools are not designed to handle. The tool works by scanning your repository's issues and comments and flagging content that matches abuse patterns. Detection can rely on keyword rules you define, a blocklist of specific usernames, allowlists that protect trusted contributors, or an AI model of your choosing. For AI detection, Niubi Guard connects to any OpenAI-compatible API, meaning you supply the API key, model name, and custom prompt. The model returns a structured verdict (malicious or not, a confidence score, and a reason), and you set the confidence threshold at which the tool acts. All destructive responses, such as deleting comments, closing issues, locking threads, or blocking users, are turned off by default. You must explicitly enable each action in a configuration file and then pass an apply flag when running the tool. Without that flag, it only prints what it would do, making dry-run the safe default for new users. Niubi Guard ships with three ways to run it: a command-line tool installable from npm, a web-based dashboard built with Next.js that lets you configure everything through a browser without touching files, and a Docker image for self-hosted setups. A free hosted version is also available at niubistar.com/guard for maintainers who do not want to self-host. The interface supports English and Simplified Chinese. The project is licensed under Apache-2.0 and welcomes contributions, including new attack samples, false-positive examples, prompt improvements, and eventual GitHub App or GitHub Actions support. The roadmap shows plans for a review queue, community threat feeds, and a full GitHub App integration in a later version.
An open-source tool that scans GitHub issues and comments for spam, harassment, and coordinated abuse, then lets maintainers act on it with keyword rules or AI detection.
Mainly TypeScript. The stack also includes TypeScript, Next.js, Docker.
Apache-2.0 license: use freely for any purpose, including commercial use, as long as you keep the copyright and license notices.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.