Missing User Warnings
Medium
- Confidence
- 91% confidence
- Finding
- The script persists a long-lived Google Drive OAuth refresh token to disk, which creates a durable local secret that can be stolen by any process or user with filesystem access. Although the code attempts to set mode 0600, it gives no user-facing disclosure at the point of storage and uses a default path under /root, increasing risk in shared/containerized environments where secrets may be copied into images, backups, or logs.
