Is kai-jar/gmail-oauth safe?
Yes. kai-jar/gmail-oauth is safe to install. Oathe's behavioral security audit gave the gmail-oauth skill by kai-jar a trust score of 87/100 with 5 findings, none critical or high.
https://github.com/openclaw/skills/tree/main/skills/kai-jar/gmail-oauth
Is kai-jar/gmail-oauth safe to install?
The kai-jar/gmail-oauth skill is a legitimate, well-written documentation and helper script for setting up headless Gmail OAuth flows using the gog CLI. The SKILL.md contains no prompt injection, hidden instructions, or obfuscation. The included bash script communicates exclusively with Google's OAuth endpoints and performs standard token exchange. Primary risks are: OAuth client credentials are transiently exposed in the process list during curl execution, the skill normalizes dismissal of Google security warnings, and the resulting gmail.modify tokens grant broad Gmail access that could be leveraged if subsequent malicious skills access the gog keyring.
What security issues were found in kai-jar/gmail-oauth?
Category Scores
Findings (5)
MEDIUM OAuth credentials transiently exposed in process list -15 ▶
The exchange_code function in gmail-auth.sh passes CLIENT_ID and CLIENT_SECRET as curl -d arguments. These values are visible in /proc/
Evidence: curl -s -X POST https://oauth2.googleapis.com/token -d "code=${code}" -d "client_id=${CLIENT_ID}" -d "client_secret=${CLIENT_SECRET}"
LOW Third-party homebrew tap dependency not audited -10 ▶
SKILL.md instructs installation of 'steipete/tap/gogcli' from a personal homebrew tap. The gog CLI itself is out of scope for this audit but represents an unaudited dependency that handles Gmail tokens and API access.
Evidence: brew install steipete/tap/gogcli
LOW Normalizes dismissal of Google security warnings -5 ▶
SKILL.md explicitly instructs users (and by extension agents) to click 'Advanced' then 'Go to [app name] (unsafe)' to bypass Google's unverified app warning. While accurate for personal use, this pattern conditions users to dismiss security prompts.
Evidence: Click: 1. Advanced (bottom left) 2. Go to [app name] (unsafe) — Safe to proceed since you own the app.
LOW gmail.modify scope grants broad email access -17 ▶
The skill defaults to gmail.modify scope, which grants the authorized agent read, send, delete, and label management over the user's entire Gmail account. If the resulting tokens are accessible to a malicious skill or agent, this represents significant account access.
Evidence: SCOPE="https://www.googleapis.com/auth/gmail.modify" and scopes table: gmail.modify — Read, send, delete, manage labels (recommended)
INFO Canary files read twice during audit session 0 ▶
Sensitive canary files were accessed at both pre-clone and post-install timestamps. Access pattern (CLOSE_NOWRITE, both rounds) is consistent with the audit harness performing integrity baseline and verification reads rather than skill-initiated exfiltration.
Evidence: inotify: OPEN/ACCESS/CLOSE_NOWRITE for .env, .ssh/id_rsa, .aws/credentials at 05:06:28 and auditd PATH records at 1771909612.705
Should I install kai-jar/gmail-oauth?
Oathe's verdict for kai-jar/gmail-oauth is SAFE with a trust score of 87/100. Recommendation: Install with caution.