antonn 78193254ad Security: fix ws-upgrade crash, per-user TOFU eviction, token log leaks; rebuild sshterm
Panel (index.js, client, views):
- upgrade handler: error guard on every upgraded socket (any path) plus a 3s
  zero-byte orphan reaper; engine.io destroyUpgrade disabled — closes the
  unauthenticated ECONNRESET crash of the whole panel and stops engine.io's
  1s timer from killing slow ssh-terminal handshakes
- /api/ssh-terminal/session: per-session token reuse cache in front of the
  rate limiter — floating-terminal auto-restore no longer burns the 10/min
  mint budget (tokens are re-served only to the same panel session + IP)
- global error middleware redacts credential-bearing query params via
  utils/url-sanitize.js — ssh-terminal ?token= values no longer reach logs
- floating-terminal restore consumes the persisted live flag: after the
  frame reported the SSH session dead, restore drops the stored session id
  and starts a clean connect; script cache busters bumped

sshterm (cmd/sshterm/main.go, rebuilt and deployed):
- TOFU store eviction is per-user and offender-pays (per-user caps: 64 pins
  and 256 contributed advisory hosts; total caps remain as backstops that
  evict the largest contributor first) — one user flooding first-use pins
  to hosts they control can no longer evict another user's pinned key or
  suppress their divergence warning
- the store file is reloaded on mtime/size change: admin edits to
  data/ssh_known_hosts.json now take effect on the next connection without
  a restart; corrupt files keep the last good state, deleted files clear
  the store, other read errors fail closed
- regression tests for flood/eviction/reload/healing + negative controls
- also lands the previously uncommitted IP-binding, trusted-proxy,
  allowed-hosts and metadata-blocking hardening; binary rebuilt through
  initialize.sh --repair-sshterm and verified live at
  /usr/local/bin/adpanel-sshterm (sha256 6bc0363479b91e6c49af9b153c8e552fd4ad8f9a5f787d73bbdc238ce0f7579e)
2026-09-23 17:50:40 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00
2026-06-10 17:04:11 +00:00

ADPanel Banner

"A change of thought and perfection found its way."

License Docs Discord

Compatibility: Currently works only with Ubuntu/Debian systems, we work hard to make compatibility to all Linux Distros


⚡ Quick Deployment

ADPanel

sudo mkdir -p /var/www && sudo git clone https://github.com/antonndev/ADPanel.git /var/www/adpanel && cd /var/www/adpanel && sudo bash ./initialize.sh --choice 1

ADaemon

curl -fsSL https://raw.githubusercontent.com/antonndev/ADaemon/main/install.sh | tr -d '\r' | sudo bash -s -- --yes

Overview

ADPanel™ | The open-source Docker Panel engineered for speed. Host containers with ease. While others charge for features, we deliver free.

Architecture

  • Security Rule #1 We bring an Apple-like experience to the developer's workflow.
  • Needing a change Developers shouldn't have to settle for outdated interfaces. We're ending the era of boring, complex UIs.

Documentation & Resources

Infrastructure Support

ADPanel™ isn’t just a game hosting panel, it’s a modern UI capable of running any Docker image on the planet. Start your journey today; our developers are constantly improving the platform to bring an enterprise-grade experience directly on your servers.


Manual Setup

If you prefer to set up ADPanel manually instead of using the one-liner installer:

# Clone the repository
git clone https://github.com/antonndev/ADPanel.git
cd ADPanel

# Copy the example environment file and fill in your values
cp .env.example .env

# Install dependencies
npm install

# Start the panel
npm start

Redis is optional. ADPanel works out of the box with file-based sessions. For production, we recommend enabling Redis — just uncomment SESSION_STORE=redis and set REDIS_URL in your .env file. If Redis becomes unavailable at runtime, the client automatically reconnects with exponential backoff.

License

Released under the MIT License. Copyright © 2026 - present ADPanel Workers.

S
Description
No description provided
Readme
32 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 71.5%
Go 10%
PHP 7.8%
EJS 5.2%
CSS 3.5%
Other 1.9%