by birdlex · v0.0.1
Check Point Lakera AI Security
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Available inside your emploidai workspace after installation.
Author: Birdlex Wu
Version: 0.0.1
Type: tool
This plugin for Dify ("the plugin") provides an interface to the Lakera Guard API, a product of Check Point Software Technologies. It is designed to secure your AI applications by screening user inputs and model responses for a wide range of threats, including prompt injections, toxic content, and PII (Personally Identifiable Information) leakage.
API Key Security: You are responsible for the security of your Lakera Guard API Key. Do not expose it in client-side code or commit it to version control.
Service Disclaimer: This plugin is an interface to the Lakera Guard API. The performance, accuracy, and availability of the security screening are subject to Lakera's service terms. The author of this plugin is not responsible for the results provided by the Lakera Guard API.
License Disclaimer: The software is provided "as is," and the author disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.
To use this plugin, you will need a Lakera Guard API Key. You can sign up for a free trial on the Lakera website and follow the official quickstart guide to get your API key and set up your project. If you are unable to obtain an API key through the official website, please contact your local Check Point Partner for assistance.
project_id, payload (for detailed detections), breakdown (for flagging decisions), metadata, and dev_info.true or false boolean indicating if a threat was detected, alongside the complete raw JSON response from Lakera Guard for detailed analysis.Install the plugin from the Dify Marketplace, GitHub, or Local sources, and configure your API key.
You can add this plugin to either the Input or Output flow to detect suspicious content. You must also use a Conditional Node to make a determination: if the detection result is true, terminate the flow; if the detection result is false, continue the flow.
Plugin settings:
The parameters are described below:
true to include the payload in the response.true to include a breakdown of the flagging decision in the response.'{"user_id": "123"}'true to include developer information in the response.The output variables:
true or false.The input condition flow:
Chatflow Demo: