head to head · open source
AI-Infra-Guard vs Dark-Moon
AI-Infra-Guard has 6,539 GitHub stars, 609 forks, 35 open issues and last shipped 2 days ago. Dark-Moon has 957 stars, 159 forks, 3 open issues and last shipped yesterday. AI-Infra-Guard leads on adoption by 583% (6,539 vs 957 stars). AI-Infra-Guard is written in Python under Apache-2.0; Dark-Moon is written in Python under GPL-3.0. AI-Infra-Guard has attracted 9% as many forks as stars, Dark-Moon 17%. Dark-Moon was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 4 topic tags (ai-red-teaming, ai-security, llm, llm-security), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| AI-Infra-Guard | Dark-Moon | |
|---|---|---|
| GitHub stars | ★ 6.5K | ★ 957 |
| License | Apache-2.0 | GPL-3.0 |
| Written in | Python | Python |
| Last push | 2026-09-20 | 2026-09-21 |
| Forks | ⑂ 609 | ⑂ 159 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick AI-Infra-Guard if
- You weight community size — 6.5K stars and counting
- You want the Apache-2.0 license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick Dark-Moon if
- You want the Dark-Moon feature set and don't need the biggest community
- You prefer the GPL-3.0 license terms
- Your stack matches Python
- You evaluated both and Dark-Moon fits your workflow better
About AI-Infra-Guard
AI Infra Guard (A.I.G) is a full stack AI red teaming platform from Tencent Zhuque Lab that scans agents, MCP servers, agent skills and AI infrastructure for security risk and evaluates large language models against jailbreak attacks, built for security engineers and AI platform teams that need to self examine their own AI deployments.
read the full AI-Infra-Guard overview →
About Dark-Moon
DarkMoon is a self hosted, GPL 3.0 autonomous AI penetration testing platform for security teams, red teams and AI security engineers who point it at infrastructure they are authorised to test and let a local or cloud model run the whole assessment unattended, returning a working exploit as proof for every finding.
read the full Dark-Moon overview →
More in AI & Machine Learning
Related comparisons
More AI Security & Privacy projects
Compare either of these against the rest of the AI Security & Privacy field.
Frequently asked questions
Is AI-Infra-Guard or Dark-Moon more popular?
AI-Infra-Guard has 6,539 GitHub stars and Dark-Moon has 957. AI-Infra-Guard has the larger community by that measure.
Are AI-Infra-Guard and Dark-Moon free?
Both are open source. AI-Infra-Guard is licensed under Apache-2.0 and Dark-Moon under GPL-3.0. Neither carries a licence fee.
What is the difference between AI-Infra-Guard and Dark-Moon?
AI-Infra-Guard is written in Python and Dark-Moon in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, AI-Infra-Guard or Dark-Moon?
Choose AI-Infra-Guard if you want the larger community (6,539 stars) or its Apache-2.0 licence terms. Choose Dark-Moon if its feature set, stack or GPL-3.0 licence fits better. Both are self-hostable.