pteroca-com/pterodactyl-addon
Pterodactyl addon for Pteroca that connects Pterodactyl game-server management with Pteroca hosting workflows. It provides Laravel/PHP integration for panel features, helping streamline provisioning and administration for game-server deployments.
Architecture fit
/var/www/pterodactyl), not a standalone service. It couples the billing/SSO layer (PteroCA) to the game panel by extending the panel's Laravel routes, middleware, and views.users read/write, which is a privileged integration surface. Treat the addon as security-critical infrastructure, not a convenience plugin.Integration feasibility
composer require pteroca-com/pterodactyl-addon:^0.1.4, then php artisan optimize:clear. No configuration changes required in PteroCA, and the existing Application API key scope already satisfies the new requirements.Technical risk
/api/application/* reachable without admin-only middleware, key creation/deletion lacking root_admin and write permission, weak SSO token validation (no expiry, unset secret accepted, open post-login redirects) — describes a privilege-escalation and account-takeover chain, not a nuisance bug.root_admin identity.Key questions
/api/application/* routes publicly reachable during that window?root_admin grants, or SSO token abuse during the exposure window?root_admin requirement.Stack fit
Migration path
^0.1.4 (or exact 0.1.4 if we want determinism) and commit composer.lock. The upgrade itself is a dependency bump plus cache clear — no config migration, no schema migration mentioned..env (which holds the Application API key and the SSO secret), since the SSO secret must now be set.Compatibility
application-api routes.Sequencing
root_admin users. This can be done before the patch and informs incident classification.composer.lock to prior pin — noting rollback re-opens the vulnerability, so rollback should be a forward-fix, not a revert).root_admin accounts, and rotate the PteroCA Application API key and SSO secret as a precaution if exposure is suspected.Maintenance
composer audit in CI, Dependabot/Renovate on the addon, and subscriptions to the repo's GHSA feed. Given the version cadence, budget a recurring review slot rather than reacting per-release.Support
Scaling
Failure modes
root_admin callers of the addon API now receive authorization failures. Silent breakage risk for scripts and CI.Ramp-up
root_admin semantics, and the SSO token lifecycle.How can I help you explore Laravel packages today?