Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Livewire Injection Stopper Laravel Package

darvis/livewire-injection-stopper

View on GitHub
Deep Wiki
Context7
1.2.3

Added

  • Silent handling for Livewire bot-driven TypeError exceptions (for example: Cannot assign array to property ...) when they originate from Livewire update flows
  • Payload update normalization for multiple Livewire request formats, improving detection of array-injection attempts

Changed

  • Exception silencing now integrates with dontReport, reportable, and renderable hooks for stronger compatibility with Laravel exception pipelines
  • Improved local warning message text for blocked Livewire manipulation attempts
  • Updated documentation to clarify Sentry/noise behavior, payload-injection handling, and custom app/Exceptions/Handler.php integration guidance
1.2.2

Changed

  • Simplified blocked_user_agents config by using single 'python' pattern instead of multiple variants
  • Added documentation explaining that patterns use str_contains() for wildcard matching
  • Removed redundant patterns: python-requests, python/requests, python requests, python requests 2., python-urllib (all now covered by 'python')

1.2.1

Changed

  • Added explicit pattern 'python requests 2.' to blocked user agents for better detection of Python Requests 2.x versions
1.2.0

Added

  • Sentry Error Silencing - Automatically silences CannotUpdateLockedPropertyException errors from being reported to Sentry and other error tracking services
  • New SilentExceptionHandler class to handle locked property exceptions without reporting them
  • New config option silence_locked_property_exceptions to enable/disable Sentry error silencing (enabled by default)
  • Exception handling registration in ServiceProvider to catch and return 403 responses for locked property manipulation attempts

Changed

  • Updated README.md with new Sentry error silencing feature documentation
  • ServiceProvider now registers exception handling for locked property exceptions

1.1.1

Added

  • Livewire Payload Injection Detection - Detects and blocks attempts to inject arrays into scalar Livewire properties (type confusion attacks)
  • User-Agent Whitelist - New allowed_user_agents config for monitoring tools (Sentry Uptime, UptimeRobot, Pingdom, StatusCake)
  • Block All Array Injections - New block_all_array_injections config option to block arrays sent to top-level properties
  • Known Scalar Properties List - New scalar_properties config with common property names that should never receive arrays
  • New config option check_payload_injection to enable/disable payload checking

Changed

  • Expanded blocked User-Agent list - Added more HTTP clients and unwanted bots:
    • HTTP clients: aiohttp, httpx, go-http-client, java/, okhttp, axios, node-fetch, libwww-perl, python-urllib
    • SEO/AI bots: ahrefsbot, semrushbot, dotbot, mj12bot, blexbot, dataforseo, bytespider, petalbot, gptbot, claudebot, ccbot, anthropic
  • Improved curl pattern matching (now curl/ to be more specific)
  • Improved looksLikeScalarProperty() method to also check exact property names and block arrays to non-nested properties
  • Code style improvements (removed verbose PHPDoc blocks, consistent spacing)

1.0.0

Added

  • Spam Bot Blocking Middleware - Automatically blocks automated spam bots (Python scripts, curl, wget, scrapy) from accessing your application
  • Livewire Security Audit Command - php artisan livewire-injection-stopper:audit scans Livewire components for vulnerable public properties
  • IP Blocking - Block specific IP addresses via configuration
  • User-Agent Blocking - Block requests based on User-Agent patterns
  • Route Whitelisting - Whitelist specific routes (e.g., webhooks) from bot blocking
  • Suspicious Payload Detection - Detects and blocks suspicious Livewire update payloads
  • Configurable Settings - Publish and customize all blocking rules via config file
  • Support for PHP 8.1, 8.2, and 8.3
  • Support for Laravel 11 and 12
  • Support for Livewire 3
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony