About Trap
Trap is an MCP server published by buggregator in the Files category: enough dumping. Let's trap! A local debug server and dump functions for PHP: dumps, logs, Sentry, emails, OpenTelemetry traces and profiles from XHProf, Xdebug, Excimer, SPX and pprof. No package is published for it, so it installs from a source checkout.
The repository has 278 stars and 17 forks, is licensed BSD-3-Clause, and its last commit was on 30 Nov 2026. The latest release is 1.25.0 (27 Nov 2026): Features profiler: collapse the recursion of the call graph into a node per function on request (8bfa838) ui: update the web UI to buggregator/frontend 1.44.0 (509698a). It follows 1.24.0 (26 Nov 2026), and the 5 most recent releases go back to 1.21.0 (22 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include buggregator, cli, debug, excimer, monolog and opentelemetry.
Install
git clone https://github.com/buggregator/trapSecurity checks
Static checks derived from the repository 19 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.3K words.
- ✓License declaredThe repository declares the BSD-3-Clause license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by composer.lock and tools/psalm/composer.lock.
- !No dynamic code executionScanned 649 source files and found 1 call to eval or shell execution, in src/Module/XDebug/Session.php:72. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 20 callsresources/frontend/assets/audit-CeR6XIJA.js:1, resources/frontend/assets/es-Y9gLN0Kf.js:1, resources/frontend/assets/index-CzUS0Gv3.js:2
- Writes or deletes files
- 44 callssrc/Client/Internal/Fallback.php:25, src/Client/Log/TrapLogger.php:125, src/Client/Log/TrapLogger.php:203
- Lockfile
- composer.lock and tools/psalm/composer.lock
Pattern matches on the source text of 649 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.3K words, fetched 19 hours ago. The original in the repository is authoritative.
Read full README