DEV Community

Hardening AI Agents Series' Articles

Back to Ofri Peretz's Series
Every AI Model Ships a Vulnerability in Half the Code It Writes. Prompt Injection Has 3 Faces in Your Vercel AI SDK App — Here's the ESLint Rule for Each.
Cover image for Every AI Model Ships a Vulnerability in Half the Code It Writes. Prompt Injection Has 3 Faces in Your Vercel AI SDK App — Here's the ESLint Rule for Each.

Every AI Model Ships a Vulnerability in Half the Code It Writes. Prompt Injection Has 3 Faces in Your Vercel AI SDK App — Here's the ESLint Rule for Each.

Comments
12 min read
I Linted Every OWASP LLM Category Against a Real Vercel AI SDK App. 8 Fire. 2 Are Vendor Theater.
Cover image for I Linted Every OWASP LLM Category Against a Real Vercel AI SDK App. 8 Fire. 2 Are Vendor Theater.

I Linted Every OWASP LLM Category Against a Real Vercel AI SDK App. 8 Fire. 2 Are Vendor Theater.

Comments
10 min read
I Linted 12 AI-Shaped Agent Tools. All 12 Were Missing an Input Schema.
Cover image for I Linted 12 AI-Shaped Agent Tools. All 12 Were Missing an Input Schema.

I Linted 12 AI-Shaped Agent Tools. All 12 Were Missing an Input Schema.

Comments 1
15 min read
65–75% of Claude's Code Shipped a Vuln. Hardcoded Secrets Are the One an Agent Can Actually Fix.
Cover image for 65–75% of Claude's Code Shipped a Vuln. Hardcoded Secrets Are the One an Agent Can Actually Fix.

65–75% of Claude's Code Shipped a Vuln. Hardcoded Secrets Are the One an Agent Can Actually Fix.

Comments
12 min read
3 Lines of Vercel AI SDK Code Are a Prompt-Injection Hole — and "Just Sanitize It" Won't Close It
Cover image for 3 Lines of Vercel AI SDK Code Are a Prompt-Injection Hole — and "Just Sanitize It" Won't Close It

3 Lines of Vercel AI SDK Code Are a Prompt-Injection Hole — and "Just Sanitize It" Won't Close It

Comments
19 min read
Vercel AI SDK Security Holes That TypeScript Won't Catch — 19 Rules That Will
Cover image for Vercel AI SDK Security Holes That TypeScript Won't Catch — 19 Rules That Will

Vercel AI SDK Security Holes That TypeScript Won't Catch — 19 Rules That Will

Comments 1
12 min read