Skip to content

v0.6.0: Aho-Corasick O(N+M) Matcher, GCG Suffix Detector, Offline Threat Intel, Async Core & Control Center

Choose a tag to compare

@seotarek seotarek released this 21 Oct 00:24
· 15 commits to main since this release

πŸš€ 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 Python http.server) with interactive scanner, live audit generator, and Prometheus metrics on http://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/