AI and store security JavaScript

llm-store-reviewSecurity review of AI chatbots and agents in your code, mapped to the OWASP LLM Top 10 2026

llm-store-review scans JavaScript, TypeScript and Python code that calls LLMs and reports prompt injection paths, leaked keys, risky tools, unsafe output handling, unbounded cost and hidden context, each mapped to the OWASP Top 10 for LLM Applications 2026, with SARIF output for GitHub code scanning.

npx npx llm-store-review

Free · MIT license · runs on your machine · no signup npm ↗GitHub ↗

How llm-store-review works

AI features are the newest and least reviewed code in most online stores. A chatbot built over a weekend often ships with the same few mistakes: an API key in the browser, the customer’s message pasted into the system prompt, a staff discount code “hidden” in the prompt, a refund tool the model can call without anyone checking, and replies inserted straight into the page as HTML.

llm-store-review reads your code and finds those patterns. Each finding comes with the file and line, why it matters and how to fix it, mapped to the OWASP Top 10 for LLM Applications 2026, the list security teams use. The report ends with a short checklist for the risks that only a person can judge.

It is built for precision. It knows Next.js server components from browser code, and strings from real code. On the 187 files of a popular open-source AI app template, it reported one issue, and that one was real.

Try it

You need Node.js 18.17 or newer. In your project folder:

npx llm-store-review

Add --md ai-review.md for a report with the checklist, or --sarif llm.sarif to show findings in GitHub’s Security tab.

Why I built it

My research is on AI security and efficient AI, and my client work is in e-commerce. The most damaging AI bugs I see in stores are not clever attacks. They are simple, repeated mistakes that a quick, honest review would catch.

Free and open source under the MIT license. Not affiliated with OWASP. Want a full review of your AI features? Book a call.

Agent skill included

Let your AI coding agent run llm-store-review for you

The llm-store-review skill works with Claude Code, Codex, Cursor, Gemini CLI and other agents that read SKILL.md files. It runs the tool, explains each finding in plain words and helps you fix it.

npx skills add MuhammadAhmadZia/llm-store-review --skill llm-store-review

Using the Claude or ChatGPT apps instead? Download the skill ZIP from the GitHub releases page and upload it under Skills.

See all 30 agent skills →

Questions about llm-store-review

What is the OWASP Top 10 for LLM Applications?

A list of the ten most important security risks in apps built on large language models, published by the OWASP GenAI Security Project. The 2026 edition came out on 4 August 2026. It covers prompt injection, data leaks, AI agents with too much power, unsafe model files, poisoned data, runaway costs, wrong answers, exposed prompts, leaky vector search and unsafe handling of model output.

Does a clean report mean my chatbot is secure?

No. It means none of the known risky patterns were found in the code. Some risks only show up in how the system is designed, so the report ends with a checklist of questions for each category. Answer those too.

Which languages and frameworks does it read?

JavaScript, TypeScript, React, Next.js, Vue, Svelte, Astro and Python (FastAPI, Flask, Django), with the OpenAI, Anthropic, Google, Vercel AI SDK, LangChain, LlamaIndex and other SDKs. It also checks .env files for AI keys that would reach the browser.

Is it affiliated with OWASP?

No. It maps its findings to OWASP's public list so you can use a common vocabulary with security teams and auditors.

UN Sustainable Development Goals

How each tool maps to SDG targets →

Want this set up and tuned for your store?

The tools are free. If you would rather have the checks run, the findings fixed and the results measured for you, that is what I do for clients.