Cookie Consent
Hi, this website uses essential cookies to ensure its proper operation and tracking cookies to understand how you interact with it. The latter will be set only after consent.
Read our Privacy Policy
Back

Introducing Custom Detectors: Tailor Your AI Security with Precision

Lakera's custom detectors allow you to define specific words, text strings, rules and patterns to flag when screening, meeting your unique security and content moderation needs.

Lakera Team
October 7, 2024
October 7, 2024
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

In-context learning

As users increasingly rely on Large Language Models (LLMs) to accomplish their daily tasks, their concerns about the potential leakage of private data by these models have surged.

[Provide the input text here]

[Provide the input text here]

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet, Q: I had 10 cookies. I ate 2 of them, and then I gave 5 of them to my friend. My grandma gave me another 2boxes of cookies, with 2 cookies inside each box. How many cookies do I have now?
‍
Title italic

A: At the beginning there was 10 cookies, then 2 of them were eaten, so 8 cookies were left. Then 5 cookieswere given toa friend, so 3 cookies were left. 3 cookies + 2 boxes of 2 cookies (4 cookies) = 7 cookies. Youhave 7 cookies.

English to French Translation:

Q: A bartender had 20 pints. One customer has broken one pint, another has broken 5 pints. A bartender boughtthree boxes, 4 pints in each. How many pints does bartender have now?

Lorem ipsum dolor sit amet, line first
line second
line third

Lorem ipsum dolor sit amet, Q: I had 10 cookies. I ate 2 of them, and then I gave 5 of them to my friend. My grandma gave me another 2boxes of cookies, with 2 cookies inside each box. How many cookies do I have now?
‍
Title italic Title italicTitle italicTitle italicTitle italicTitle italicTitle italic

A: At the beginning there was 10 cookies, then 2 of them were eaten, so 8 cookies were left. Then 5 cookieswere given toa friend, so 3 cookies were left. 3 cookies + 2 boxes of 2 cookies (4 cookies) = 7 cookies. Youhave 7 cookies.

English to French Translation:

Q: A bartender had 20 pints. One customer has broken one pint, another has broken 5 pints. A bartender boughtthree boxes, 4 pints in each. How many pints does bartender have now?

The release of Lakera Policy Control Center brought a suite of powerful tools for AI security, and we’re excited to introduce a feature that adds even more flexibility and precision: custom regular expression based detectors.

This new capability allows you to define specific words, text strings, rules and patterns to flag when screening, meeting your unique security and content moderation needs.

Hide table of contents
Show table of contents

What’s New with Custom Regex Detectors?

With custom regular expression (regex) detectors, Lakera Guard enables you to create custom content moderation and sensitive data screening detectors using regex so that your app can detect, block, or flag specific content that matters most to you.

Whether you need to flag custom PII data types like employee IDs, prevent data leakage of your system prompts, restrict certain types of communication through blocking certain words and phrases, or monitor specific content across your GenAI applications, this feature gives you the control to do so seamlessly.

Here’s how custom regex detectors elevate your security:

Custom Regex Detectors: Quick Overview

Custom Regex Detectors: Quick Overview

Real-World Applications

Custom regex detectors open up a world of possibilities for businesses dealing with sensitive data or unique content requirements.

Here are some use cases where this feature shines:

  • E-commerce & Consumer Platforms: Moderate user-generated content by blocking specific terms, competitor names, or inappropriate topics.
  • Financial Institutions: Detect and block sensitive information like bank account numbers, employee IDs, or sensitive demographic data to meet compliance and protect customer data.‍
  • Healthcare Providers: Ensure compliance with health regulations by flagging or blocking PHI such as medical terms, patient data or medical conditions.‍
  • International Companies: Prevent the mention of politically or culturally sensitive topics across regions, using tailored detectors for each market.

For companies with highly specific security requirements, custom regex detectors provide the flexibility and control needed to stay secure without relying on one-size-fits-all solutions.

Custom Detectors Are Part of Lakera Guard

Custom regex detectors come ready out of the box with Lakera Guard. You can configure as many custom detectors as needed directly within your Lakera Guard policy and immediately start flagging custom fields, all without any code changes.

These detectors integrate with Lakera Guard’s native detectors, for combined analysis in the Lakera Guard dashboard or external security tools, allowing you to monitor and manage them effortlessly.

With just a few clicks, your security team can set up new detectors and ensure consistent security across your entire organization.

[DEMO VID]

Looking Ahead: What’s Next for Lakera Guard

At Lakera, we’re committed to continuously improving our security offerings. Custom regex detectors are just one of the many ways we’re helping organizations take control of their AI security.

As we roll out future updates, we’ll continue to add more customizable features to keep you one step ahead of evolving threats.

See Lakera's Policy Control Center in Action

Join us on October 15th, 2024, at 6 PM CET | 9 AM PT for a live session titled “Product Peek: Lakera’s Policy Control Center – How to Tailor GenAI Security Controls per Application.”

In this session, you’ll:

  • Explore Lakera’s Policy Control Center and its powerful capabilities for customizing GenAI security controls per application.
  • See hands-on demonstrations of how to fine-tune security policies with custom detectors and tailored defenses.
  • Learn how top enterprises are managing and scaling security across diverse AI use cases.
  • Discover how to centralize security without code changes.

👉 Book your spot now!

Lakera LLM Security Playbook
Learn how to protect against the most common LLM vulnerabilities

Download this guide to delve into the most common LLM security risks and ways to mitigate them.

Unlock Free AI Security Guide.

Discover risks and solutions with the Lakera LLM Security Playbook.

Download Free

Explore Prompt Injection Attacks.

Learn LLM security, attack strategies, and protection tools. Includes bonus datasets.

Unlock Free Guide

Learn AI Security Basics.

Join our 10-lesson course on core concepts and issues in AI security.

Enroll Now

Evaluate LLM Security Solutions.

Use our checklist to evaluate and select the best LLM security tools for your enterprise.

Download Free

Uncover LLM Vulnerabilities.

Explore real-world LLM exploits, case studies, and mitigation strategies with Lakera.

Download Free

The CISO's Guide to AI Security

Get Lakera's AI Security Guide for an overview of threats and protection strategies.

Download Free

Explore AI Regulations.

Compare the EU AI Act and the White House’s AI Bill of Rights.

Download Free
Lakera Team

GenAI Security Preparedness
Report 2024

Get the first-of-its-kind report on how organizations are preparing for GenAI-specific threats.

Free Download
Read LLM Security Playbook

Learn about the most common LLM threats and how to prevent them.

Download

Explore AI Regulations.

Compare the EU AI Act and the White House’s AI Bill of Rights.

Understand AI Security Basics.

Get Lakera's AI Security Guide for an overview of threats and protection strategies.

Uncover LLM Vulnerabilities.

Explore real-world LLM exploits, case studies, and mitigation strategies with Lakera.

Optimize LLM Security Solutions.

Use our checklist to evaluate and select the best LLM security tools for your enterprise.

Master Prompt Injection Attacks.

Discover risks and solutions with the Lakera LLM Security Playbook.

Unlock Free AI Security Guide.

Discover risks and solutions with the Lakera LLM Security Playbook.

You might be interested
5
min read
•
New feature

No-Code GenAI Security with Lakera Policy Control Center

With Lakera's Policy Control Center you can define application-specific controls for every one of your GenAI applications—in real time and without developers having to change a single line of code.
Lakera Team
October 7, 2024
4
min read
•
New feature

Introducing Lakera Chrome Extension - Privacy Guard for Your Conversations with ChatGPT

Lakera introduces Lakera PII Extension—a user-friendly Chrome plugin that allows you to input prompts to ChatGPT securely.
Lakera Team
September 27, 2024
3
min read
•
Update

Lakera Guard Expands Content Moderation Capabilities to Protect Your AI Applications and Users

Lakera Guard now offers expanded coverage to detect violent and dangerous content, ensuring that your AI applications remain safe, secure, and compliant.
Lakera Team
September 27, 2024
3
min read
•
Update

Lakera Guard Enhances PII Detection and Data Loss Prevention for Enterprise Applications

Lakera Guard introduces Advanced PII Detection and DLP capabilities.
Lakera Team
September 27, 2024
3
min read
•
Update

Lakera Guard Expands Enterprise-Grade Content Moderation Capabilities for GenAI Applications

We are excited to announce a significant upgrade to Lakera Guard's Content Moderation capabilities.
Lakera Team
September 25, 2024
6
min read
•
New feature

Lakera’s Prompt Injection Test (PINT)—A New Benchmark for Evaluating Prompt Injection Solutions

We've released the first version of a new Prompt Injection Test (PINT) Benchmark that can be used to evaluate any prompt injection detection system with a comprehensive dataset that no model, including ours, is directly trained on.
Lakera Team
September 27, 2024
10
min read
•
New feature

ChainGuard: Guard Your LangChain Apps with Lakera

In this tutorial, we'll show you how to integrate Lakera Guard into your LangChain applications to protect them from the most common AI security risks, including prompt injections, toxic content, data loss, and more!
Lakera Team
October 1, 2024
5
min read
•
New feature

Introducing Lakera Guard – Bringing Enterprise-Grade Security to LLMs with One Line of Code

Introducing Lakera Guard: Bringing enterprise-grade security to LLMs with one line of code.
David Haber
October 1, 2024
Activate
untouchable mode.
Get started for free.

Lakera Guard protects your LLM applications from cybersecurity risks with a single line of code. Get started in minutes. Become stronger every day.

Join our Slack Community.

Several people are typing about AI/ML security. 
Come join us and 1000+ others in a chat that’s thoroughly SFW.