I have a javascript application running on nodejs. It reads stdin to take a username and password to access some online services.
These credentials stays in variables the whole time the application is running (24/7) in case a relogin is required.
Is it possible for someone who gets access to the server to "debug" the application and obtain those variables the same way a person can do in a browser? or any other way.
I still have little to no understanding of the internals working of node.
EDIT: The application is running on a Docker container!