AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Keep your code secure

Insecure code catcher

Turn it on. Get a warning when your AI writes risky code, like injection, XSS or unsafe commands.

Insecure code catcher is a free AI skill for the job "Keep your code secure". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · MIT licence · Made by Alireza Rezvani · Thinking: low

Made by Alireza Rezvani. See the original on GitHub; we copied it as it is, with its licence.

What it does

A warning right before your AI writes risky code, so common security holes are caught at the moment they would be added. It is a hook, not a command: once installed, it runs on its own before every edit or write. It scans both the file path and the text about to be written. It checks for patterns tied to known attacks, such as running shell commands built from input, dynamic code evaluation, direct HTML injection in React or the browser, unsafe Python object loading, and risky expressions in GitHub Actions files. A match pauses the write with a note on the risk. It matches text patterns, so it flags and does not prove a bug.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run hooks in Claude Code.

More for Keep your code secure

Every keep your code secure skill