Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hunt-laravel

Skill by elementalsouls

hunt-laravel is an agent skill that guides an AI assistant through testing Laravel (PHP) targets for known and common vulnerabilities. It covers debug mode leakage, Ignition RCE (CVE-2021-3129), exposed Telescope and Horizon dashboards, and .env exposure.

  • Score 91
  • 21k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hunt-laravel

Built from the published package, never by AI.

git clone --depth 1 https://github.com/elementalsouls/Claude-BugHunter /tmp/Claude-BugHunter && mkdir -p ~/.claude/skills && cp -r /tmp/Claude-BugHunter/skills/hunt-laravel ~/.claude/skills/hunt-laravel

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hunt-laravel in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

hunt-laravel is an agent skill that gives an AI assistant a structured checklist of Laravel-specific vulnerabilities to test on a target that runs Laravel (PHP). It covers debug mode leakage with APP_DEBUG=true, Ignition RCE (CVE-2021-3129), unauthorized access to Telescope and Horizon dashboards, .env file exposure, signed URL manipulation, mass assignment through Eloquent, and cookie deserialization. Each phase includes curl commands and sample requests.

The skill says a Laravel app can be detected from X-Powered-By headers, Laravel session cookies, or /storage/ paths. It also covers an environment override through query arguments (CVE-2024-52301) and includes a chain table that links findings to impact and severity. It is aimed at people testing Laravel applications for security issues.

Written from the project's SKILL.md and checked against it.

What it can do

  • Laravel fingerprintingDetects Laravel from X-Powered-By headers, session cookies, common paths and the error page.
  • Debug mode and Ignition RCEChecks for Whoops or Ignition pages and tests the CVE-2021-3129 solution endpoint.
  • Telescope and Horizon checksProbes Telescope and Horizon dashboards and their API endpoints for exposed request, job and environment data.
  • .env and APP_KEY exposureLooks for exposed .env files and logs, and notes what an leaked APP_KEY allows.
  • Environment override (CVE-2024-52301)Tests whether a ?--env= query argument switches the app to a local or testing configuration.
  • Signed URL manipulationModifies parameters and removes signatures on signed URLs to see whether validation fails.
  • Mass assignment testingAdds fields such as is_admin or role to profile and registration requests.
  • Cookie deserializationDescribes forging a session cookie with a phpggc gadget chain when APP_KEY is known.

What you need

  • curl
  • PHP
  • Python 3
  • git
  • phpggc

Try asking

  • Check whether this Laravel site exposes Telescope or Horizon dashboards.
  • Test the .env paths on this target and look for an exposed APP_KEY.
  • Try mass assignment on the profile and register endpoints for admin fields.

Good to know

  • The Ignition RCE applies to Laravel below 8.4.2 with APP_DEBUG=true and writable storage/logs.
  • The CVE-2024-52301 override needs register_argc_argv=On in php.ini.
  • The cookie forging step refers to a laravel_cookie_forge.py script that is not included in the source.
  • Some steps assume a reachable target and a valid session cookie.

Security check

F
  • Sends keys or private files to a web addressIn skills/hunt-laravel/SKILL.md: curl -s "https://$TARGET/.env

Checked automatically: skills/hunt-laravel/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB

Alternatives to hunt-laravel

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

hunt-laravel: common questions

Which Laravel vulnerabilities does this skill cover?

The skill covers debug mode leakage, Ignition RCE (CVE-2021-3129), Telescope and Horizon exposure, signed URL manipulation, queue worker abuse, mass assignment, cookie deserialization and .env exposure. It also lists the CVE-2024-52301 environment override.

What conditions does the CVE-2021-3129 test need?

The source says it applies to Laravel below 8.4.2 with debug mode on and writable storage and logs. It points to the ambionics/laravel-ignition-rce tool for the exploit.

How does the skill tell that a target runs Laravel?

It says to look for X-Powered-By headers, Laravel session cookies, or /storage/ paths. It also checks the 404 page for Laravel, Whoops or Ignition text.

How do I install hunt-laravel?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hunt-laravel free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hunt-laravel safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.

What are alternatives to hunt-laravel?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

hunt-laravel Install

Add to stack

Loading.