Download the PHP package theprimestudio/laravel-sentinel without Composer
On this page you can find all versions of the php package theprimestudio/laravel-sentinel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download theprimestudio/laravel-sentinel
More information about theprimestudio/laravel-sentinel
Files in theprimestudio/laravel-sentinel
Package laravel-sentinel
Short Description Enterprise security, antivirus, webshell detection, WAF, file integrity, and quarantine suite for Laravel
License MIT
Homepage https://theprimestudio.com
Informations about the package laravel-sentinel
Laravel Sentinel
Enterprise-grade security, antivirus, webshell detection, Web Application Firewall (WAF), file integrity monitoring, forensic quarantine, and tamper-evident telemetry for Laravel 10, 11, and 12.
Key Features
-
Deterministic File Integrity & Antivirus Scanner
- Static Heuristic Code Analyzer: Pure static analysis identifying web shells, disguised PHP polyglots in image files, SSI directives, server configuration overrides (
.htaccess/.user.ini), dynamic evaluations (eval/assert), system command executions, and multi-layer decoder chains without executing target files. - ClamAV Integration: Automatic detection and integration with local
clamdscandaemons (utilizing--fdpassfor zero-overhead permissions) and fallback to standaloneclamscan. - Baseline Inventory: SHA-256 state tracking differentiating authorized deployments (
--accept-baseline) from hostile file tampering. - Atomic Scanning Engine: Checkpointing, memory-bounded file traversal, time budgeting, and crash-resilient resume functionality.
- Static Heuristic Code Analyzer: Pure static analysis identifying web shells, disguised PHP polyglots in image files, SSI directives, server configuration overrides (
-
Forensic Quarantine
- Moves detected threats out of public web root into dated quarantine directories.
- Enforces restrictive
0400permissions with Apache/nginx execution denial. - Retains comprehensive metadata (SHA-256, owner UID, group GID, inode, timestamps, host) with authorized, auditable restoration.
-
Database Content Security Review
- Scans database tables for stored-XSS and injected markup.
- HTMLPurifier-backed sanitizer with
rich,basic, andplainprofiles. - Multi-pass URL and entity decode attack detection.
- Reversible backups (
security_content_backups) before applying sanitization, allowing CLI or UI rollback.
-
Web Application Firewall (WAF) & Request Defense
- Inspects URL paths, query parameters, and non-GET request bodies for Path Traversal, PHP stream wrappers, null bytes, SQL Injection, Command Injection, XSS, and Template Injection.
- Automated bot mitigation filtering automated attack tools while safeguarding legitimate search engines.
- HTTP Security Headers: Content Security Policy (CSP), HSTS, X-Frame-Options (
DENY), X-Content-Type-Options (nosniff), Referrer-Policy, andX-Powered-Bysuppression.
-
Tamper-Evident Incident Management & Telemetry
- Cryptographic SHA-256 hash chaining (
hash = sha256(prev_hash + canonical_event)) ensuring stored audit logs cannot be edited or deleted without detection. - Automated incident clustering with rate-limited flood suppression.
- Authentication anomaly detection: Brute-force and credential-stuffing monitoring with identifier masking.
- Throttled queued email notifications for critical incidents.
- Cryptographic SHA-256 hash chaining (
-
RFC 9116 security.txt
- Standards-compliant security disclosure policy at
/.well-known/security.txt. - Administrative GUI editor with URI validation and expiry constraints.
- Standards-compliant security disclosure policy at
- Full Administration UI
- Complete Blade administration panel for Vulnerabilities, File Findings, Quarantine Review, Incident Feed with real-time polling, CSV Export, and Security Audits.
Installation
You can install the package via Composer:
Publish configuration, migrations, and views:
Or publish individual assets via tags:
Run the database migrations:
Configuration
Edit config/security.php to customize your security policies:
enabled: Master toggle for all security features.auth.user_model: Host application user model (defaults toApp\Models\User).admin: Configure route prefix (admin), route name prefix (admin.), middleware (['web', 'auth']), and permission integration.csp: Content Security Policy directives.scanner: Roots to scan, excluded paths, quarantine path, and ClamAV settings.exploit_protection: WAF query and body inspection modes (blockvs.log).
Console Commands
Scheduling & Daemon Setup
In Laravel 11 & 12, register scheduled tasks in routes/console.php:
Credits
Laravel Sentinel is proudly built and maintained by The Prime Studio.
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-sentinel with dependencies
illuminate/contracts Version ^10.0 || ^11.0 || ^12.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0
illuminate/database Version ^10.0 || ^11.0 || ^12.0
illuminate/console Version ^10.0 || ^11.0 || ^12.0
illuminate/http Version ^10.0 || ^11.0 || ^12.0
illuminate/routing Version ^10.0 || ^11.0 || ^12.0
illuminate/view Version ^10.0 || ^11.0 || ^12.0
illuminate/notifications Version ^10.0 || ^11.0 || ^12.0
symfony/process Version ^6.0 || ^7.0
ezyang/htmlpurifier Version ^4.17 || ^4.18