AI Code Trust Validator

Free open-source security scanner for AI-generated code. Detect vulnerabilities, backdoors, hallucinated APIs, and logic errors before shipping to production.

GitHub Get Started Releases
4
Analysis Types
3
Languages
5ms
Avg Validation
4
IDE Plugins

Scan AI-Generated Code for Security Vulnerabilities

Security Vulnerability Scanner

Detect SQL injection, hardcoded secrets, command injection, XSS, and other security vulnerabilities in AI-generated code.

AI Hallucination Detector

Catch fake imports, invented functions, imaginary APIs, and hallucinated packages before they break production.

Logic Error Validator

Find unreachable code, infinite loops, dead branches, and other logic errors that AI commonly introduces.

AI-Powered Auto-Fix

LLM-powered code fixes using OpenAI, Anthropic, or Ollama. One-command fix with confidence scores.

IDE Integration

VS Code extension, JetBrains plugin, and LSP server for real-time validation in your editor.

Detailed Reports

JSON, HTML dashboard, SARIF for GitHub Security tab, and PDF reports with detailed findings.

Install AI Code Trust Validator

Install from PyPI

pip install ai-trust-validator

Also available as Docker image, GitHub Action, and pre-commit hook

Compare AI Code Security Tools

Feature AI Trust Validator Semgrep SonarQube CodeQL
AI Hallucination Detection Built-in No No No
AI Auto-Fix Built-in Limited No No
Trust Score 0-100 No Quality Gate No
Multi-LLM Support 4 providers No No No
IDE Plugins VS Code + JetBrains VS Code All IDEs VS Code
Open Source MIT LGPL Community only Limited
Self-Hosted Yes Yes Yes Limited

Frequently Asked Questions

What is AI Code Trust Validator?

AI Code Trust Validator is a free open-source security tool that analyzes AI-generated code for vulnerabilities, backdoors, hallucinated imports, and logic errors. It supports Python, JavaScript, and TypeScript.

How do I check AI-generated code for security issues?

Install with pip install ai-trust-validator, then run aitrust validate your_file.py to get a trust score and detailed vulnerability report.

Is AI Code Trust Validator free?

Yes. AI Code Trust Validator is free and open-source under the MIT license. No usage limits, no API keys required for basic scanning.

What languages are supported?

AI Code Trust Validator currently supports security scanning for Python, JavaScript, and TypeScript code analysis.

Does it work with ChatGPT and GitHub Copilot code?

Yes. AI Code Trust Validator scans any AI-generated code regardless of which AI tool produced it, including ChatGPT, GitHub Copilot, Claude, Gemini, and others.

Can I use it in my CI/CD pipeline?

Yes. Use the GitHub Action, Docker image, or pre-commit hook to integrate security scanning into your CI/CD workflow.

Open Source and Community

Star on GitHub

Help others discover AI Code Trust Validator. Every star helps the project grow.

Star the Repo

Contribute

Beginner-friendly issues available. Check the "good first issue" label to get started.

View Issues

Discussions

Ask questions, share ideas, and connect with other users in GitHub Discussions.

Join Discussions