// detection rules

68 security mistakes AI-generated code makes, and how to fix them

This is the complete list of what the free scanner checks for in JavaScript, TypeScript and Python, plus Supabase migrations, Firebase rules files, Dockerfiles and compose files. Every rule fires the same way every time, and every one comes with a plain-English explanation and a fix you can paste into your AI tool.

npx @sixthwall/cli init

Logins, sessions and access

User input reaching your database or shell

Secrets and API keys

Configuration

Ports open to the network

Containers and deployment files

Your server fetching attacker-chosen URLs

Scripts injected into your pages

Encrypted connections

API behaviour

Browser protections

Other people's data

Which sites may call your API

Sessions