openclaw - 💡(How to fix) Fix ClawHub capability tags are false positives: Crypto, Can make purchases, Requires OAuth [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60908Fetched 2026-04-08 02:45:49
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants
RAW_BUFFERClick to expand / collapse

Skill: earlvanze/renatus-icm (v2.1.3)

Problem

The capability signals panel on the skill page shows three tags that are false positives:

Detected TagWhy It is Wrong
CryptoTriggered by accessToken(), xsrfToken() — these are OAuth/access tokens for the Renatus back office API, not cryptocurrency
Can make purchasesTriggered by email campaign keywords (recipient, send, batch) — the skill sends marketing emails, not purchases
Requires OAuth tokenTriggered by Authorization: Bearer header and access_token read from localStorage — this is session-token extraction from the user own browser for back-office registration, not OAuth credential grants

Impact

Capability signals are shown prominently on the skill public listing before installation. Users seeing "Crypto" and "Can make purchases" for a real estate event marketing tool will reasonably conclude the skill does something it does not. These tags also compound the Suspicious verdict even though the underlying code is straightforward email/registration automation.

Suggested Fix

Capability detection should either:

  1. Use more specific regex/heuristics to distinguish OAuth access tokens from crypto assets (e.g., flag only if bitcoin, btc, wallet, crypto. domains appear)
  2. Allow skill owners to override or annotate capability tags in SKILL.md frontmatter
  3. At minimum, exclude "Requires OAuth token" when the token source is the user own browser session via CDP rather than an OAuth grant flow

Reproduction

The triggering patterns are in these files:

  • scripts/renatus_register_guest.pyaccessToken() function returning currentAuth?.access_token
  • scripts/renatus_delete_lead.py — same
  • scripts/add_event.py / generate_event_page.py — same + Authorization: Bearer header construction
  • send_commercial_email_batches.py — email batch keywords (recipient, subject, send)

None of these involve cryptocurrency, purchases, or OAuth grant flows.

extent analysis

TL;DR

The most likely fix involves refining the capability detection regex/heuristics to distinguish between OAuth access tokens and crypto assets, or allowing skill owners to override capability tags.

Guidance

  • Review the capability detection logic to improve its specificity in identifying crypto-related functionality, focusing on excluding OAuth access tokens used for back-office API access.
  • Consider implementing an override mechanism for skill owners to annotate or correct capability tags in the SKILL.md frontmatter to address false positives.
  • Examine the token source identification to exclude "Requires OAuth token" when the token is sourced from the user's own browser session via CDP, rather than an OAuth grant flow.
  • Verify the changes by testing the capability detection against the provided reproduction files (scripts/renatus_register_guest.py, scripts/renatus_delete_lead.py, etc.) to ensure the false positives are resolved.

Example

No explicit code changes are suggested without further details on the capability detection implementation. However, an example of how the override mechanism in SKILL.md frontmatter might look could be:

---
capability_tags:
  - exclude: Crypto
  - exclude: Can make purchases
---

This is speculative and would depend on the actual implementation of the override mechanism.

Notes

The solution may require adjustments based on the specific implementation of the capability detection logic and the override mechanism. The provided suggestions aim to guide towards a more accurate detection and mitigation of false positives.

Recommendation

Apply a workaround by refining the capability detection logic to better distinguish between OAuth access tokens and crypto assets, as this approach directly addresses the root cause of the false positives without requiring an upgrade to a potentially non-existent fixed version.

FAIL-SAFE

Given the information provided, the suggestions are aimed at guiding the resolution of the false positives issue without making assumptions about the underlying implementation details. If further specifics about the capability detection logic or the override mechanism are needed, additional guidance may be required.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING