Repository navigation
v0.6.0: Aho-Corasick O(N+M) Matcher, GCG Suffix Detector, Offline Threat Intel, Async Core & Control Center
π What's New in LightGuard-Agent v0.6.0
- β‘ Zero-Dependency Aho-Corasick Fast Matcher (
FastPatternMatcher): Linear-time (N+M)$ multi-pattern matching across thousands of adversarial injection keywords without regex backtracking overhead. - π‘οΈ Adversarial Suffix & GCG Anomaly Detector (
AdversarialSuffixDetector): Statistical bigram transition entropy and punctuation burst clustering detecting automated Greedy Coordinate Gradient jailbreaks in under 0.05 ms. - π Offline Threat Intelligence Registry (
ThreatIntelRegistry): Cryptographically verified JSON threat feeds with SHA-256 checksums to sync enterprise signatures offline without updating the core package. - β‘ High-Throughput AsyncIO Core (
AsyncLightGuardAgent): Native non-blocking coroutines (process_observation,verify_action) for FastAPI, Starlette, and asynchronous tool loops. - π₯οΈ Built-in Offline Web Control Center (
lightguard dashboard): Zero-dependency local browser dashboard (powered by Pythonhttp.server) with interactive scanner, live audit generator, and Prometheus metrics onhttp://127.0.0.1:8443. - π§ͺ 100% Test Coverage: Expanded unit test suite with 92/92 passing tests in ~1.0s.
PyPI: https://pypi.org/project/lightguard-agent/0.6.0/
Docs: https://seotarek.github.io/LightGuard-Agent/