Discussion

Are developers trusting AI-generated code too much?

I've been experimenting a lot with AI coding tools (Cursor, Claude, etc.), and one thing stood out:

Most developers don't really review AI-generated code.

In many cases, it "looks fine" at first glance, but contains issues like: - Hardcoded secrets (API keys, tokens) - Unsafe patterns (eval/exec, insecure deserialization) - Prompt injection hidden in comments or instructions

So I built something to test this idea.

It's a lightweight proxy that sits between the IDE and the LLM, and analyzes output in real-time before it reaches the developer.

The goal isn't to replace code review, but to catch risky patterns at the moment they're generated.

Curious if others are seeing the same issue with AI-assisted development.

(If anyone’s curious, I put together a VS Code extension for this)

4 points skypark0407 7 months ago 3 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton