Open Source

Free Laravel packages that catch AI leaks before they ship.

The same failures we find in audits, turned into tooling you can install today. MIT licensed, no account, no telemetry. They run on the wire and in CI, so a leak fails the build instead of reaching production.

Why these exist

AI ships features fast. It also ships leaks.

An assistant wires an integration the quick way and a secret ends up in the frontend, a prompt carries a customer record to a third party, or an agent loops overnight into a large bill. None of it shows up in code review, because the problem is in the data and the runtime, not the diff. These packages watch the places review cannot.

</>

AI Lint

Finds AI provider keys leaked into tracked or browser-reachable files, and flags model output flowing into unsafe sinks. Dev-only, gates CI.

composer require --dev laravelsecurityaudit/laravel-ai-lint

Guide · GitHub · Packagist

AI Egress Guard

Scans, redacts, and can block outbound requests to OpenAI, Anthropic, and Gemini when a prompt carries secrets or PII. Works at the HTTP layer, no proxy.

composer require laravelsecurityaudit/laravel-ai-egress-guard

Guide · GitHub · Packagist

(!)

AI Circuit Breaker

Stops runaway agents: breaks loops inside one request and opens a circuit on a per-tenant spend anomaly. Observes by default, blocks when you are ready.

composer require laravelsecurityaudit/laravel-ai-circuit-breaker

Guide · GitHub · Packagist

§30

AI Ledger

Turns AI traffic into a GDPR Article 30 record of processing and a subprocessor register. Categories and hashes only, never the data itself.

composer require laravelsecurityaudit/laravel-ai-ledger

Guide · GitHub · Packagist

@

Mail Guard

Scans outgoing Laravel mail for leaked secrets, PII, and compliance issues. Preview in an inbox, block unsafe sends, and fail CI before email leaks.

composer require laravelsecurityaudit/laravel-mail-guard

Guide · GitHub · Packagist

{ }

Secret Scanner

The shared detection engine under the guards: rules, scanner, redactor, and a severity and confidence model. Framework-agnostic, zero Laravel dependency.

composer require laravelsecurityaudit/laravel-secret-scanner

GitHub · Packagist

Free tools and a human audit

The packages are the first gate. Not the last.

These catch the leaks a scanner can see: exposed keys, secrets and PII on the wire, runaway spend, missing records. They are the cheap first gate on every commit. The logic flaws that actually sink an app, broken authorization, mass assignment, an insecure flow across three files, need a human who has seen the exploits. That is the audit.

  • Install the free packages to close the obvious gaps today
  • Book an audit when you want the logic reviewed too
  • Every finding shipped with a concrete, Laravel-idiomatic fix
What the tools catch
automated, on every commit
Exposed keysPII in promptsRunaway spend

Close the gaps a scanner cannot see.

The free packages handle the obvious leaks. Book an audit for the logic flaws underneath.