---
title: "Discussion on \"AI Can Write the Code. But Can It Prove the Code Is Safe?\" | Hashnode"
description: "Discussion on \"AI Can Write the Code. But Can It Prove the Code Is Safe?\". An engineer’s perspective on AI coding agents, secure software development, and why passing tests is only the beginning.\nA feature works. The tests are green. The API returns the expected JSON, the UI"
url: "https://hashnode.com/posts/ai-can-write-the-code-but-can-it-prove-the-code-is-safe/6af4ac18c8cab78378e53435"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AI Can Write the Code. But Can It Prove the Code Is Safe?](https://rjshree.hashnode.dev/ai-can-write-the-code-but-can-it-prove-the-code-is-safe?utm_source=hashnode&utm_medium=feed)

An engineer’s perspective on AI coding agents, secure software development, and why passing tests is only the beginning. A feature works. The tests are green. The API returns the expected JSON, the UI

Nov 11 · 17 min read · rjshree.hashnode.dev  
Read the article

-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#coding](https://hashnode.com/tag/coding)
-   [#vibe-coding](https://hashnode.com/tag/vibe-coding)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#vibecoding](https://hashnode.com/tag/vibecoding)
-   [#code-review](https://hashnode.com/tag/code-review)

## Written by

[Rajshree](https://hashnode.com/@rjshree)

@rjshree · Noida, India

  
[View profile](https://hashnode.com/@rjshree)

Software Engineer | MERN Stack Developer | AI & ML

I'm Rajshree, a Software Engineer focused on modern web development, the MERN stack, and AI/ML. I enjoy building scalable applications, exploring new technologies, and continuously improving my craft. I write about React, JavaScript, Node.js, SEO, performance optimization, Three.js, AI, and the lessons I learn while building real-world projects. 🌐 Portfolio: https://rjshree.com

## Responses 1

Markdown supported · ⌘↵ to post

[Paul Pham](https://hashnode.com/@paulpham157)

[5d ago](https://hashnode.com/posts/ai-can-write-the-code-but-can-it-prove-the-code-is-safe/6af4ac18c8cab78378e53435/comment/6af732406de7ba9a52436965)

The 404 loosened to toBeLessThan(500) is the one I'd flag in review, it passes for almost any bug.
