GAM icon indicating copy to clipboard operation
GAM copied to clipboard

Plain text Client ID and Secret in gam folder

Open goneafk opened this issue 9 years ago • 1 comments

There is a .json file saved in the GAM folder that contains the Client ID and Client Secret for the service account. This seems quite dangerous and opens up that service account to have the credentials exfiltrated and used illicitly.

Thoughts?

My layman's idea of a solution:

These credentials should be encrypted and then decrypted by the gam executable after initial write so that you can't access that information without it being processed by the gam binary that saved them during enrollment.

If people are cycling the keys, there could be a way to pass the credentials through the gam binary so that they are also encrypted.

goneafk avatar Jul 19 '17 17:07 goneafk

But the decryption would still be stored locally so what's the point?

GAM has always depended on the local device to be secured. You can handle that with your built in OS encryption.

jay0lee avatar Aug 10 '17 19:08 jay0lee