Sure API
Analysis
This is a real Sure API helper, but it needs careful review because it can use an API key to make broad financial/account changes and its raw request path is not tightly limited.
Findings (3)
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.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
METHOD=${1:-}
PATH_=${2:-}
...
curl -sS \
-H "X-Api-Key: $SURE_API_KEY" \
...
-X "$METHOD" \
"$URL" \
"$@"The raw helper accepts caller-supplied method, path, and arbitrary curl arguments, then sends an authenticated request. This bypasses the safer wrapped CLI's --yes gate and can reach high-impact POST/PATCH/DELETE endpoints described in the API references.
curl -fsSL --max-time 30 "$OPENAPI_URL" -o "$OPENAPI_PATH" ... node "$SKILL_DIR/scripts/sure_openapi_summarize.js" "$OPENAPI_PATH" > "$SUMMARY_PATH"
The self-update workflow downloads the upstream OpenAPI file and overwrites local reference files. This is purpose-aligned and does not execute the downloaded YAML, but it changes what the skill treats as official API surface.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
const baseUrl = args.base_url || env.SURE_BASE_URL; const apiKey = args.api_key || env.SURE_API_KEY; ... 'X-Api-Key': apiKey,
The CLI sends the Sure API key to the configured or argument-supplied base URL. Because metadata declares no primary credential or required env vars, and the base URL is not allowlisted, the credential boundary is not clearly declared or constrained.
