OpenAPI to CLI

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

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

Installing or using the skill may run code from the external openapi2cli package.

Why it was flagged

The skill runs an external package through uvx, and no version pin is shown in the artifact. This is expected for this CLI-generation skill but means package provenance and version should be trusted.

Skill content
uvx openapi2cli generate https://api.example.com/openapi.json --output my-api
Recommendation

Use the package from a trusted source, consider pinning a known-good version, and review the linked PyPI/GitHub project before relying on it.

What this means

Running the generated Python file can perform local code execution and make API requests according to the generated client.

Why it was flagged

The intended workflow includes generating and running a Python CLI file. This is purpose-aligned, but it is still generated code execution.

Skill content
python my-cli.py users list
Recommendation

Generate clients in a controlled directory, use trusted OpenAPI specs, and review or test generated scripts before using them with real credentials.

What this means

If a user provides powerful API tokens, the generated CLI may act with those permissions.

Why it was flagged

The generated CLIs can use authentication credentials. That is expected for API tools, but those credentials may grant real account or service access.

Skill content
Supports auth: API keys, Bearer tokens, Basic auth
Recommendation

Use least-privilege tokens, prefer test or read-only credentials when possible, and avoid exposing secrets in command history by using safer environment handling.

What this means

A generated CLI may create or change data in a connected API if used with sufficient credentials.

Why it was flagged

The generated CLI can expose mutating API operations such as create actions. This fits the purpose, but agents should not run mutating commands without user intent.

Skill content
python my-api.py posts create --title "Hello" --body "World"
Recommendation

Require explicit user confirmation for create, update, delete, publish, or other state-changing API commands, and use the documented dry-run mode before sending important requests.