# AI & LLM security (AI model and agent security)

Control what data goes into AI tools, and secure the AI models and agents you build or run yourself.

## What goes wrong without it
Prompt injection, leaked data in prompts and over-powered AI agents are new ways to lose data or money.

## How to start
- Approve which AI tools staff may use and what data may go into them, and give staff a company account so they do not use personal ones.
- Give AI agents and the tools they connect to (such as MCP servers) the smallest permissions they need, have a person approve risky actions such as payments, and log what they do.
- Test your own AI features for prompt injection and data leakage before launch, and treat every email, web page or file the AI reads as untrusted.

## Tools with solid or core coverage
- [Shielda](https://securitystackcompare.com/en/tools/shielda) (Core strength): An AI security engineer that orchestrates security for small and mid-size companies: instead of being one more scanner, it chooses, installs and runs proven open-source tools, works with the security tools you already have and uses the latest AI models as instruments, fixes what they find, and adds experts who act as your CISO.
- [Lakera Guard (Check Point AI Guardrails)](https://securitystackcompare.com/en/tools/lakera) (Core strength): A real-time filter that protects AI applications from prompt injection, data leakage and harmful content.
- [HiddenLayer](https://securitystackcompare.com/en/tools/hiddenlayer) (Core strength): An AI security platform that scans models for hidden threats, tests them and detects attacks on AI applications at runtime.
- [Promptfoo](https://securitystackcompare.com/en/tools/promptfoo) (Solid): An open-source tool to test and red-team LLM applications for prompt injection, jailbreaks and data leaks.
- [garak](https://securitystackcompare.com/en/tools/garak) (Solid): NVIDIA's free, open-source scanner that probes large language models for prompt injection, data leakage, jailbreaks and other weaknesses.
- [Agent Guard](https://securitystackcompare.com/en/tools/agent-guard) (Solid): Open-source TypeScript libraries that control which tools an AI agent may run, on which resources, and which actions need approval.
- [Checkmarx One](https://securitystackcompare.com/en/tools/checkmarx-one) (Solid): An enterprise application security platform covering code, open-source dependencies, APIs, secrets, IaC, containers and running web apps in one console.
- [Mend.io](https://securitystackcompare.com/en/tools/mend) (Solid): An application security platform focused on open-source dependency risk, plus code, container and AI-model scanning; also the company behind the Renovate update bot.
- [Endor Labs](https://securitystackcompare.com/en/tools/endor-labs) (Solid): Code and dependency security that uses reachability analysis to show which vulnerabilities your application can actually trigger, with checks for AI-written code.
- [Cycode](https://securitystackcompare.com/en/tools/cycode) (Solid): An application security platform combining its own scanners (code, dependencies, secrets, IaC, CI/CD pipelines) with results from other tools in one risk view.
- [OX Security](https://securitystackcompare.com/en/tools/ox-security) (Solid): An application security posture platform that scans code, dependencies and pipelines, links findings to cloud runtime, and adds an AI agent for secure coding.

## The open-source route
Free and open-source tools can cover this too. Pros: Free to use: no licence fees, so you can start today and scale without per-user costs. Mature projects are used and reviewed by large communities, and their detection rules are public, so you can see exactly what is checked and tune it. You can see and adapt how it works, and change it to fit your business. You keep control of your data, because the tool runs on systems you choose. Cons: Setup takes time and some technical skill; there is rarely a vendor to do it for you. (With Shielda: it picks the right tools for your systems, installs them and pre-configures them for you.) Tools need ongoing tuning, updates and maintenance, or they quietly stop protecting you; check a project is still actively maintained before you rely on it. (With Shielda: it chooses proven projects and keeps them running on a schedule and in your CI pipeline.) Someone must watch the alerts and reports and act on them; a tool nobody checks gives no protection. (With Shielda: it uses AI models to work through the results, prepares and applies fixes, and adds experts who act as your CISO.)

Where to find the right free tool:
- [OWASP Top 10 for LLM Applications](https://genai.owasp.org/llm-top-10/) (OWASP GenAI Security Project): The 10 biggest risks in LLM apps (prompt injection, data leaks, excessive agency) with fixes for each.
- [OWASP Top 10 for Agentic Applications](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/) (OWASP GenAI Security Project): The 10 biggest risks when AI agents use tools and act for you (goal hijacking, tool misuse, too much access), with fixes for each.
- [AI Security Solutions Directory](https://genai.owasp.org/ai-security-solutions-landscape/) (OWASP GenAI Security Project): Searchable directory of open-source and commercial AI security tools, filterable by OWASP LLM and AI agent risks.
- [Guidelines for secure AI system development](https://www.ncsc.gov.uk/collection/guidelines-secure-ai-system-development) (NCSC (UK)): Guidance (2023) from the NCSC, CISA and partner agencies on securely designing, building, deploying and running AI systems.

---
Security Stack Compare scores declared capabilities (0–3 per building block, assuming each feature works as described). Published by Shielda, which is also listed. Methodology: https://securitystackcompare.com/en/about
