GA4 Analytics

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

Anyone using this skill gives it read access to GA4 reporting data for the configured property, using a sensitive refresh token.

Why it was flagged

The skill requires Google OAuth credentials and a GA4 property ID to access account analytics data.

Skill content
`GA4_PROPERTY_ID`, `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REFRESH_TOKEN`
Recommendation

Use a dedicated OAuth client, keep the refresh token private, and ensure the token is limited to the intended GA4 property and read-only analytics access.

What this means

The granted token can read analytics reports but the reviewed code does not show write or admin operations.

Why it was flagged

The OAuth setup requests the Google Analytics read-only scope, which supports the stated non-mutating purpose.

Skill content
SCOPES = ["https://www.googleapis.com/auth/analytics.readonly"]
Recommendation

Confirm the OAuth consent screen shows only the expected read-only Analytics permission before authorizing.

What this means

The refresh token could be copied from terminal output or logs if the session is shared or recorded.

Why it was flagged

The setup helper prints the full refresh token so the user can export it, which is expected for setup but exposes a sensitive credential in terminal output.

Skill content
print(f"Refresh Token: {tokens.get('refresh_token', 'N/A')}")
Recommendation

Run the auth helper only in a private terminal, avoid sharing logs, and store the refresh token in a secure environment-variable manager.

What this means

Dependency contents and versions are not fixed by the artifact, so users rely on the current packages resolved by pip.

Why it was flagged

The script documents runtime dependencies installed from Python packages without pinned versions or a lockfile.

Skill content
Install: pip install google-analytics-data google-auth-oauthlib
Recommendation

Install dependencies from trusted package indexes and consider pinning known-good versions in your environment.