tonnychiulab opened a new issue, #238:
URL: https://github.com/apache/casbin-gateway/issues/238

   Hello, and thank you very much for maintaining this project.
   
   I am not a programmer, so I cannot send a code change myself. I would be 
very grateful if you could consider the following security improvements.
   
   What I would like to ask
   
   Please consider removing the autoLoginAdmin and allowRelay bypass logic. It 
relies on the local RemoteAddr, and I am worried that this may allow admin 
auto-login when the service runs behind a reverse proxy.
   Please consider adding the existing IsAdminUsingDefaultPassword check to the 
RequireSignedIn boundary. This would keep API endpoints locked until the admin 
changes the default password.
   If possible, please update the frontend to detect the default-password 
state, redirect the user, and show a password-change dialog.
   
   I am sorry if I have misunderstood anything, and I know you are busy. Thank 
you very much for your time and for your work on this project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to