codemod-gen

ISSUES FOUND max severity HIGHSkillSpector Safe 12 registry clawhub.ai last scanned 1 scan

3 findings (2 high, 1 medium), mainly data exfiltration, unauthorized tool use, social engineering. Most recent scan 2026-02-05.

This skill presents MODERATE TO HIGH security risks. The primary concerns are: (1) requiring users to expose OPENAI_API_KEY to unvetted third-party code executed via npx, (2) no supply chain security (unpinned package versions, no integrity checks), and (3) misleading simplicity claims that obscure security prerequisites. The skill delegates all functionality to an external npm package (ai-codemod) without providing transparency about what that package does with user credentials or code. While the core concept (codemod generation) is legitimate, the implementation creates credential exposure and supply chain attack vectors. The skill would benefit from either implementing codemod generation locally or providing much stronger security guidance and package verification steps.

Scanner's overall assessment (LLM analyzer)

Second scanner: NVIDIA SkillSpector

The two scanners disagree: Cisco rates this HIGH and SkillSpector found nothing. Check the false-positive register; signature matches on documentation are the usual cause. How the two scanners compare across the whole corpus: Two scanners, one corpus.

What this skill does

Generate codemods for large-scale code changes. Use when refactoring patterns across many files.

Package
1 file, 2.4 KB
SKILL.md
333 words, 12+ sections
Code
None. Instructions only.

SKILL.md covers: Codemod Generator · Quick Start · What It Does · Usage Examples · Class to functional components · Modernize code · API migrations · Framework upgrades · Best Practices · When to Use This · Part of the LXGIC Dev Toolkit · Requirements

Findings

HIGH Hardcoded External API Key Requirement Data Exfiltrationllm

The skill requires users to set an OPENAI_API_KEY environment variable to function. This creates a credential exposure risk as the skill executes an external npx command that will access this API key. Users may unknowingly expose their OpenAI credentials to third-party code they haven't audited. The skill provides no transparency about how this key is used or transmitted.

SKILL.md

Requirements section states: 'Needs OPENAI_API_KEY environment variable' and 'npx ai-codemod' command will access this credential
Remediation: 1. Clearly document what the OPENAI_API_KEY is used for and where data is sent. 2. Warn users about credential exposure risks when running third-party npx packages. 3. Consider implementing the codemod generation locally instead of relying on external packages that access API keys. 4. Provide audit information about the ai-codemod package's behavior.
HIGH Unvetted Third-Party Code Execution via npx Unauthorized Tool Usellm

The skill instructs users to execute 'npx ai-codemod' which downloads and runs arbitrary code from npm without any version pinning, integrity checks, or security verification. This is a supply chain attack vector - the package could be compromised, typosquatted, or malicious. Users are instructed to run this with their OPENAI_API_KEY exposed in the environment.

SKILL.md

Quick Start section: 'npx ai-codemod "convert class components to functional"' - no version specified, no integrity hash, no security verification
Remediation: 1. Pin to a specific version (e.g., npx ai-codemod@1.2.3). 2. Provide package integrity hashes for verification. 3. Link to the package's npm page and GitHub repo for user audit. 4. Warn users to review the package source before running. 5. Consider implementing codemod generation directly in the skill instead of delegating to external packages.
MEDIUM Misleading Simplicity Claims Social Engineeringllm

The skill claims 'Zero config. Just works' and 'No install needed' but actually requires Node.js 18+, OPENAI_API_KEY environment variable setup, and npx availability. This social engineering through oversimplification could lead users to run the tool without understanding the prerequisites or security implications.

SKILL.md

Claims 'One command. Zero config. Just works' but Requirements section reveals: 'Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable'
Remediation: 1. Be transparent about all requirements upfront. 2. Move prerequisites to the top of the documentation. 3. Clearly explain the OPENAI_API_KEY requirement before encouraging usage. 4. Remove misleading 'zero config' claims.

What is in the package

FileKindSize
SKILL.mddoc2.4 KB

External hosts referenced

github.com x.com lxgicstudios.com lxgicstudios.substack.com

Hostnames that appear in the skill's files. Referencing a host is not a finding; compare against the findings above and the skill's stated purpose.

Package contents recorded 2026-10-22. The scan above ran against the version current at scan time; the two can differ if the skill has since been updated.

What we checked

What we did not check

Sources