Show HN:AI Code Guard – AI 生成程式碼的安全掃描器

Show HN:AI Code Guard – AI 生成程式碼的安全掃描器

Hacker News·

AI Code Guard 是一款新推出的安全掃描工具,專門用於偵測由 GitHub Copilot、Claude 和 ChatGPT 等 AI 助理生成的程式碼中的安全漏洞,旨在防止程式碼進入生產環境前出現安全風險。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

Detect security vulnerabilities in AI-generated code

License

Uh oh!

There was an error while loading. Please reload this page.

ThorneShadowbane/ai-code-guard

Folders and files

Latest commit

History

Repository files navigation

🛡️ AI Code Guard

Detect security vulnerabilities in AI-generated code before they reach production

Image

Image

Image

AI coding assistants (GitHub Copilot, Claude, ChatGPT, Cursor) are revolutionizing development — but they can introduce security vulnerabilities that slip past code review. AI Code Guard scans your codebase for security issues commonly found in AI-generated code.

🎯 What It Detects

🚀 Quick Start

📊 Example Output

🔧 Configuration

Create .ai-code-guard.yaml in your project root:

📋 Rule Reference

🔌 CI/CD Integration

GitHub Actions

Pre-commit Hook

🧠 Why AI-Generated Code Needs Special Attention

AI coding assistants are trained on vast amounts of code — including insecure patterns. Common issues include:

This tool specifically targets patterns commonly introduced by AI assistants.

🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Adding New Detection Patterns

📚 Research Background

This tool implements patterns identified in research on AI coding assistant security vulnerabilities. Key references:

📄 License

MIT License — see LICENSE for details.

🙏 Acknowledgments

Built with 🛡️ by security engineers who use AI coding assistants daily

About

Detect security vulnerabilities in AI-generated code

Topics

Resources

License

Contributing

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

  2

Packages

  0

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:AI 控制框架 – 阻止 AI 編碼助手交付虛假程式碼

    3 個月前

  2. 展示 HN:AI 編碼工具包。用於可靠 AI 編碼的低開銷工作流程

    3 個月前

  3. Show HN:Claude Code 插件可攔截破壞性的 Git 和檔案系統指令

    4 個月前

  4. Show HN:CIE – 開源程式碼智慧引擎,專為 AI 編碼助手打造

    3 個月前

  5. Show HN:Phantom Guard – 偵測AI幻覺導致的套件攻擊

    4 個月前