Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(guardrails): add lasso security guardrails #971

Merged
merged 3 commits into from
Mar 25, 2025

Conversation

raskanskyz-lasso
Copy link
Contributor

Add Lasso Security Integration Plugin for AI Content Classification

Description

  • Implemented new Lasso Security plugin for real-time content classification and security guardrails
  • Added core functionality in plugins/lasso/classify.ts for message analysis
  • Created comprehensive documentation in plugins/lasso/README.md
  • Added test suite in plugins/lasso/lasso.test.ts
  • Integrated plugin into the main plugin registry in plugins/index.ts
  • Included plugin manifest in plugins/lasso/manifest.json

Motivation

  • Enhances gateway security by integrating Lasso Security's Deputies Public API

Key Features

  • Real-time message classification
  • Detailed classification results with confidence scores

This PR adds a complete integration with Lasso Security's Deputies API, providing gateway users with advanced security classification capabilities for their AI applications.

@raskanskyz-lasso raskanskyz-lasso marked this pull request as ready for review March 4, 2025 08:23
@VisargD
Copy link
Collaborator

VisargD commented Mar 4, 2025

Hi @raskanskyz-lasso, thanks for the PR! We will review it soon.

@raskanskyz-lasso
Copy link
Contributor Author

thank you @VisargD !

@narengogi narengogi requested a review from VisargD March 10, 2025 19:18
@VisargD VisargD requested review from narengogi and removed request for VisargD March 19, 2025 10:19
@narengogi
Copy link
Collaborator

Verified the changes with node environment, but the requests to lasso endpoint from cloudflare workers environment are throwing a 403 error, rest looks good

Copy link
Collaborator

@narengogi narengogi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified, good to go 🚀

@VisargD VisargD merged commit 921d3e9 into Portkey-AI:main Mar 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants