AI is incredibly useful.
But it is often plausible
when it is wrong.
AI sounds confident even when it is wrong. It does not show uncertainty or tell you when it is guessing.
# AI generated — 100% confident:
def connect_database():
import mysql.connector
# ⚠️ Deprecated library!
conn = mysql.connector.connect(...)
Always verify:
Treat AI output as a draft, not as truth.
AI generates code that doesn’t match your project’s architecture.
# Your project: Repository Pattern
class UserRepository:
def __init__(self, db_session):
self.db = db_session
# AI suggests: Active Record ❌
class Product:
def save(self):
db.session.add(self)
Fix it once — in your rules files:
.cursorrulesAGENTS.mdcopilot-instructions.mdEncode: architecture patterns, naming, tech stack, security requirements, testing expectations.
Fix the instruction layer, not just the output.
The model invents APIs, options, and flags that don’t exist.
Typical symptoms:
What to do:
Developers use AI as a hiding place instead of a tool.
❌ “The AI did this, I don’t know why it works”
❌ Copy-paste without reading
❌ Debugging by “asking AI” instead of investigating
❌ Accepting code you could not explain in a code review
“If you feel like a fraud because you genuinely don’t understand the code you’re submitting, that’s not imposter syndrome — that’s a sign you need to slow down and learn the fundamentals.”
Mimo Blog
AI generates code with well-known vulnerabilities.
# SQL Injection
query = f"SELECT * FROM users
WHERE name = '{username}'"
# Hardcoded secret
API_KEY = "sk-proj-abc123..."
# PII in logs (GDPR!)
logger.info(
f"User {email} performed {action}")
Be especially careful with:
Security is not delegable.
AI makes these mistakes regularly.
Before merging AI-assisted code:
If the code touches identity, payments, or personal data — treat AI output as untrusted until proven otherwise.
Missing Tests & False Confidence
AI makes code look finished before it’s exercised.
Cost Explosions
| Tool | Cost |
|---|---|
| Copilot | $10–19/user/mo |
| Cursor | $20/mo |
| Claude API | ~$15/1M tokens |
Vendor Lock-in
| Tool | Lock-in |
|---|---|
| Cursor | Cursor IDE + cloud |
| v0 | Vercel + Supabase |
| Amazon Q | AWS-optimized |
Privacy & Prompt Injection
AI can generate code that works today but is expensive to maintain tomorrow.
Warning signs:
Better habits:
Before accepting AI-generated code, ask:
| Problem | Mitigation |
|---|---|
| Trust | Review every line |
| Context | Rules files |
| Hallucination | Verify docs |
| Fundamentals | Understand first |
| Security | SAST + human review |
| Problem | Mitigation |
|---|---|
| Missing tests | Tests first |
| Cost | Minimize context |
| Lock-in | Keep code portable |
| Prompt injection | Validate output |
| Maintenance | Small changes |