AINAScan - Scan AI-generated code: 48 bug patterns, 9 languages
by•
AST scanner for AI-generated code bugs. 48 patterns: MISSING_WRITE, FAKE_ASYNC, SQL_INJECTION_RISK, COMMAND_INJECTION, HARDCODED_SECRET, STUB_SKELETON, BUFFER_OVERFLOW + 41 more. 9 langs: Python, JS, TS, Go, Java, PHP, Ruby, Kotlin, C/C++. Catches what Semgrep/Bandit miss: structurally valid code that doesn't do what the function name says. P=R=F1=100% on 90-case benchmark. Free: key vg_free_test, no signup.
Replies
Hi Product Hunt! I'm the maker of AINAScan.
Built this after spending too much time reviewing AI-generated code that looked fine on the surface but had subtle bugs — save_user() functions that never write to the database, async def without any await silently blocking the event loop, f-string SQL that passes code review because it looks like the right shape.
Standard linters miss these because the code is syntactically valid. AINAScan is purpose-built for exactly this pattern.
Happy to answer any questions — what AI-gen bugs are you running into most in your codebase?