X

PassAudited by VirusTotal on May 11, 2026.

Overview

Type: OpenClaw Skill Name: x-api-v2 Version: 1.0.0 The bundle is a functional X (Twitter) API v2 client implemented in pure Python using only the standard library. It correctly implements Bearer token authentication and the OAuth 2.0 PKCE flow for user-context actions like bookmarks and posting, including a local callback server (scripts/x.py). The code is well-structured, lacks obfuscation, and contains no evidence of data exfiltration, unauthorized file access, or malicious prompt injection instructions.

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

If OAuth is enabled, the skill can read private bookmark data and post tweets using the authorized account until the token is revoked or expires.

Why it was flagged

The skill uses delegated X account credentials, including write permission and refresh-capable offline access, and stores resulting tokens locally.

Skill content
Save tokens to `~/.openclaw/x/tokens.json` ... Scopes granted: `tweet.read`, `users.read`, `bookmark.read`, `tweet.write`, `offline.access`
Recommendation

Use the least-privileged X app permissions you need, protect files under ~/.openclaw/x, and revoke OAuth access if you stop using the skill.

What this means

A mistaken or over-permissive agent action could publish unintended content to the user’s X account.

Why it was flagged

The skill exposes a command that can create a public post on X. This is disclosed and aligned with the stated purpose, but it is a high-impact account action.

Skill content
python3 {baseDir}/scripts/x.py post "Hello from OpenClaw! 🦞"
Recommendation

Require explicit confirmation of the final tweet text before running post commands, and avoid granting tweet.write if you only need read-only features.

What this means

Private bookmarks or liked content may enter the agent conversation or be saved locally, where it could be reused or exposed if the file is shared.

Why it was flagged

The documentation shows private/bookmarked account data can be retrieved and written to a local file for later use.

Skill content
python3 {baseDir}/scripts/x.py bookmarks --max 100 > bookmarks.txt
Recommendation

Only retrieve or export bookmarks when needed, store exported files carefully, and delete them when no longer required.

What this means

Users have less external context for who maintains the skill or where to verify updates.

Why it was flagged

The registry metadata does not identify an upstream source or homepage, which limits provenance verification for a credential-handling skill.

Skill content
Source: unknown; Homepage: none
Recommendation

Review the included script before use and prefer installing credential-handling skills from a source you trust.