Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Token Tracker

v1.0.0

监控 OpenAI/其他模型 Token 消耗,支持每日/每周账单推送和超额警报

0· 74·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description match the provided files: a Python tracker, a Node hook that logs per-session token usage, install script to copy files into ~/.openclaw, and cron examples for scheduled reports — all are coherent with a token-tracking skill.
!
Instruction Scope
The hook reads OpenClaw session status files (~/.openclaw/sessions/*.json) and logs event.context (JSON.stringify) to stdout; session status/context can contain full conversation content and other sensitive metadata, so logs or the created usage_records.json may expose sensitive data. The SKILL.md and cron-config instruct automated report delivery via Telegram (external channel) which can leak billing/usage info if not configured carefully. The Hook also falls back to estimating tokens from event.context; that indicates the hook will parse context fields beyond just token counters.
Install Mechanism
No external downloads or extract steps; post-install.sh simply copies files into ~/.openclaw and creates a data directory. This is low-risk from supply-chain perspective, but it requires filesystem write access to the home OpenClaw directories.
Credentials
The skill declares no required env vars or credentials, which is consistent. However: HOOK.md requires Node (reasonable), and cron-config references delivery via Telegram without declaring Telegram credentials (expected to be provided by the platform). The absence of declared credentials is not necessarily malicious, but you should confirm where outgoing messages will be delivered and that Telegram/other channel config is under your control.
Persistence & Privilege
always:false and no attempt to modify other skills or system-wide configs. The post-install script enables the hook via the openclaw CLI if available and creates files under ~/.openclaw — behavior is scoped to the skill's own directories.
What to consider before installing
What to consider before installing: - Privacy: the hook reads ~/.openclaw/sessions/*.json and logs event.context to stdout; those logs (gateway logs) can contain conversation text and other sensitive metadata. If you run this skill, protect gateway logs and review what session status files contain. - External delivery: cron-config uses Telegram as a delivery channel. Ensure any automated report/alert destination is configured by you and that tokens/credentials for Telegram are not supplied to an untrusted skill. If you don't want automatic external delivery, do not install the cron jobs or set delivery to a safe internal channel. - Review and test in isolation: run the skill in a non-production user/account first to confirm it only records the intended fields. Inspect usage_records.json and config.json for stored data and remove/secure them as needed. - Code quality: the Node hook contains a coding bug (uses 'await import("fs")' inside a non-async function), and the hook prints full context — consider fixing the code to only extract token counts and model names and to avoid logging entire context. The Python script appears to work but uses a simplified timezone handling and will create files under ~/.openclaw/workspace/skills/token-tracker. - Trust and provenance: the skill has no homepage and an unknown source. If you do not trust the author, prefer manual inspection, run in an isolated environment, or avoid enabling the hook/cron features. - Operational: HOOK.md indicates Node is required. If you install the hook, ensure Node runs with expected module semantics (ESM) and that OpenClaw's hook registry will not forward sensitive data elsewhere.

Like a lobster shell, security has layers — review code before you run it.

latestvk974d5d39k4f2dzyczbxya9c9s83fst3

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

💰 Clawdis

Comments