shadow-ai-google-workspace

Installation
SKILL.md

Google Workspace Shadow AI Detection

Use this skill to identify AI tool usage and OAuth exposure in Google Workspace audit evidence.

Workflow

  1. Start from a Google Workspace evidence directory containing token.ndjson, access_evaluation.ndjson, admin.ndjson, and optionally gemini_in_workspace_apps.ndjson.
  2. Run scripts/analyze_shadow_ai.py --input-dir <evidence> --output-dir <analysis> --internal-domain <domain>.
  3. Review confidence levels before making claims:
    • confirmed_oauth_grant: token feed evidence for an AI-like app or AI-related scope context.
    • access_evaluation_context: access-evaluation evidence that may indicate policy evaluation, attempted access, or contextual allow/block decisions.
    • workspace_gemini_usage: Gemini Workspace utilization events.
    • admin_oauth_control: Admin app trust, limited, block, exempt, or OAuth-scope control changes.
    • keyword_only: weak signal from naming only; validate manually.
  4. Check broad_oauth_events.csv for non-AI apps with risky Gmail, Drive, Calendar, Admin, Apps Script, or broad identity scope exposure.
  5. Validate current state in Admin Console before recommending block, trust, limited, or remediation actions.

Evidence Interpretation

Installs
1
GitHub Stars
12
First Seen
Today