SKILLEMALL.ai

BD x402-api-integration

Turn any function into a revenue-generating API endpoint using x402 HTTP-native payments — zero dependencies, Node 16 stdlib only.

Not recommendedcritical or high security findings
ClawHub Agent Skills author: tiny-coder-2104 v0.1.0 MIT-0 2 files body ≈ 1 380 tokens Open the sourceclawhub.ai analyzed 19 h ago

Turn any function into a revenue-generating API endpoint using x402 HTTP-native payments — zero dependencies, Node 16 stdlib only.

As a process D 43/100 · Unfinished process — weak spots: result and completion, when it triggers, inputs and preconditions

IntegrationCloudflareInfrastructuretype and topics are labelled automatically from the skill text
JSON
Technical rating
B
77/100
safety, quality, tests
Safety 60%
81
Quality 40%
70
Run on models
none yet
Process rating
D
43/100
Unfinished process
Result and completion w 14
0
Inputs and preconditions w 11
0
Failures and branches w 10
0
the three weakest of ten parameters · all ten

What is at stake

The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.

Exfiltration
If you install

The instructions or scripts send data out: environment variables, keys, file contents, chat history. You may never notice, because the agent performs the upload as "part of the task".

For the author

If the upload is not needed for the task, remove it: catalogs flag such skills and delist them. If it is needed, name the destination explicitly, say what leaves the machine, and give the user a switch.

How to improve

  1. Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
  2. Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 2

  • high Exfiltration exfil-webhook-url SKILL.md:124
    Webhook / callback URL commonly used for exfiltration (verify the destination)
    # Returns: https://random-words.trycloudflare.com
Medium and low: 1
  • low Dangerous commands cmd-background-process SKILL.md:120
    Starts a background / autostarted process
    nohup node server.js > server.log 2>&1 &

Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning description-no-when description does not say WHEN to use the skill (no "use when")

Process rating: all ten parameters 43/100

  • 0Result and completion. Does not say what the result is
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 0Failures and branches. Linear process with no failure handling
  • 0Progress reporting. Says nothing while it works
  • 20When it triggers. No condition that starts the skill
  • 30Running it twice. 3 mutating operations with no state check
  • 60Tools and files. Uses tools (node) that frontmatter does not declare
  • 100Steps. 5 steps
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 1380 tokens
  • low 10 top-level sections: this looks like several domains in one skill

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +3Output format is not stated: the model decides each time
  • -2localhost URLs: will not work for another user
  • +1No license
  • +2Single-language instructions
  • +3Description length 130: enough signal without eating the budget
  • +4Structure: 11 headings
  • +3Step-by-step instructions: 5 items
  • +4Has examples (4 code blocks)

Quality base 70; lint remarks subtract, signals add up to 100. Result: 70.

External checks

ClawHub: suspicious
This skill is coherent but needs Review because its default payment-gated API example can be deployed publicly while accepting forged payments.
LLM: suspicious (high) · 15 Sept 2026