mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-19 09:40:12 +00:00
7c493e8f0b31952db2dc7e19010cee6804fffb9e
Auth.Check resolved client_uuid → server.ID via UUIDToID without checking that the resolved server's UserID matched the user that the secret was bound to. An agent presenting one user's secret could target a different user's server UUID and impersonate it — poisoning monitoring state, triggering alerts, or quietly receiving tasks the real owner expected. Add authorizeAgentForUUID: if the UUID is unknown we still allow new registration bound to the secret owner; if the UUID is known but points to someone else's server we reject. The rejection message "client UUID does not belong to the agent secret owner" also helps operators trace which user's secret has leaked. Note: this changes runtime behaviour after batch-move/server — the new owner must reconfigure agents with their own secret. That is the correct contract; the previous behaviour was a cross-user reporting bug. Co-authored-by: naiba/CloudCode <hi+cloudcode@nai.ba>
LOGO designed by 熊大 .
:trollface: Nezha Monitoring: Self-hostable, lightweight, servers and websites monitoring and O&M tool.
Supports monitoring system status, HTTP (SSL certificate change, upcoming expiration, expired), TCP, Ping and supports push alerts, run scheduled tasks and web terminal.
>> Telegram Channel: 哪吒监控(中文通知频道)
>> Telegram Group: Nezha Monitoring Global (English Only), 哪吒监控(中文群组)
>> Use Cases | 我们的用户 (Google)
User Guide
Contributing
Translation
Is Nezha not in your language, or the translation is incorrect or incomplete? Get involved in the translations on Hosted Weblate.
Screenshots
| 用户前台 @hamster1963 | 管理后台 @nezhahq |
|---|---|
![]() |
![]() |
| hamster1963/nezha-dash | nezhahq/admin-frontend |
add your theme to service/singleton/frontend-templates.yaml
Contributors
Special Thanks
- IPInfo for providing an accurate GeoIP Database.
Star History
Languages
Go
99.3%
Shell
0.5%
PowerShell
0.2%

