---
title: "Smarter form security for AI-generated Netlify code | Netlify Changelog"
description: "Get the latest updates on Netlify products and features to meet your developer needs."
source: "https://www.netlify.com/changelog/smarter-form-security-for-ai-generated-netlify-code/"
last_updated: "2026-07-05T00:22:19.000Z"
---
When using the Netlify context files in Cursor or Windsurf, whenever the agents generate code with Netlify Forms, they will add the [honeypot field](https://docs.netlify.com/forms/spam-filters/#honeypot-field) to make your forms more secure by default.

[See context files](https://docs.netlify.com/welcome/build-with-ai/#netlify-context-files)