vinksyunit/not-today-honey

A Laravel honeypot package to simulate attractive web pages (like WordPress wp-admin) to detect attackers
1,250 2
Install
composer require vinksyunit/not-today-honey
Latest Version:v0.1.3
PHP:^8.4|^8.5
Laravel:12 · 13
License:MIT
Last Updated:Oct 14, 2026
Links: GitHub  ·  Packagist
Maintainer: Vinks

A Laravel honeypot package that simulates realistic admin pages (WordPress, phpMyAdmin) to detect and block attackers.

Detect threats, automatically

  • 3-level alert system — Probing → Intrusion Attempt → Attacking, each with configurable thresholds, block durations, and log levels
  • Leaked credential detection — truncated SHA256 comparison against known password lists; immediate escalation to Attacking on match

Protect your real features

  • Automatic IP blocking — detected attackers are blocked for configurable durations (minutes for probing, days for intrusion, weeks for attacking)
  • nottodayhoney.block middleware — deny blocked IPs globally or per route group with a single line

Honeypot traps that fool scanners

  • Realistic decoys — fake WordPress wp-login, phpMyAdmin, and generic admin pages with HTTP fingerprinting to attract CVE scanners and credential-stuffing bots
  • Event-driven alerts — Laravel events at each alert level; wire up Slack, mail, or any channel via listeners

Requirements

  • PHP 8.4+
  • Laravel 12+

Installation

composer require vinksyunit/not-today-honey
php artisan vendor:publish --tag="not-today-honey-config"
php artisan vendor:publish --tag="not-today-honey-migrations"
php artisan migrate

→ Full documentation

Sponsors

Special Sponsors

Blue team best practices

NotTodayHoney detects and signals — it is one layer of a defense-in-depth strategy. A honeypot without complementary layers is a smoke detector with no sprinklers.

  • Understand your attack surface — the OWASP Top 10 covers the most common application-layer risks; the ASVS gives you a structured checklist
  • Review code for security — authentication, authorisation boundaries, and input handling deserve attention on every change, not just security-focused sprints
  • Run penetration tests — a pentest finds what automated scanners miss: logic flaws, misconfigurations, privilege escalation paths
  • Monitor and respond — route AttackerAttackingEvent to an alerting pipeline; define a runbook for what your team does when an attacker is detected
  • Keep dependencies clean — attackers scan for known CVEs before trying credentials; run composer audit regularly

→ Blue Team Practices in the documentation for further reading and OWASP references.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

wallacemartinss/filament-security

Security plugin for Filament v5 - Disposable email blocking, honeypot protection...

17,553 34
padosoft/laravel-composer-security

Security checker for composer.lock.

4,105 31
trq/advisory

Checks the SensioLabs security advisor for security issues with your libraries.

2 0
glaivepro/hidevara

Laravel millipackage that hides variables from getting dumped in the Whoops page...

311,517 27
minvws/horsebattery-laravel

A Laravel package for the horsebattery password generator

39,496 1

Version History

Version Released PHP Laravel License
v0.1.3 ^8.4|^8.5 ^12.0|^13.0 MIT
v0.1.2 ^8.4|^8.5 ^12.0|^13.0 MIT
v0.1.1 ^8.4|^8.5 ^12.0|^13.0 MIT
v0.1.0 ^8.4|^8.5 ^12.0|^13.0 MIT