Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Cxz9909 Code Assistant

v1.0.0

Asistente de programación especializado. Analiza código, encuentra bugs, sugiere optimizaciones, refactoriza y genera documentación automáticamente.

0· 48·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for cxz9909/cxz9909-code-assistant.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Cxz9909 Code Assistant" (cxz9909/cxz9909-code-assistant) from ClawHub.
Skill page: https://clawhub.ai/cxz9909/cxz9909-code-assistant
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install cxz9909-code-assistant

ClawHub CLI

Package manager switcher

npx clawhub@latest install cxz9909-code-assistant
Security Scan
Capability signals
Crypto
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The SKILL.md advertises a full-featured 'Code Assistant' (analysis, optimization, refactor, tests, security, integrations with Codex/Claude/Pi, self-repair, knowledge-base, etc.). The included scripts/analyzer.ts implements a local static analyzer, doc generator, and CLI analyze functionality only. Many advertised commands (optimize-sql, optimize-bundle, refactor, test-gen, agent delegations) are not implemented in the provided code. This is an overpromise/incoherence between claimed capabilities and actual delivered code.
!
Instruction Scope
SKILL.md instructs running a variety of CLI commands and suggests delegating to external coding agents and a knowledge-base, but it provides no concrete wiring, endpoints, or credentials for those integrations. The runtime instructions do advise reading project files (expected), but they are vague about how 'self-repair' or remote agent delegation works. That vagueness grants broad discretion without implementation details.
!
Install Mechanism
There is no install spec. The bundle contains a TypeScript script (scripts/analyzer.ts) with a node shebang, but the skill metadata does not declare any required binary (node, ts-node, or a build step). Running this code as-is would likely fail without additional runtime setup. The absence of an install/build step is an operational mismatch and increases risk of accidental misconfiguration.
Credentials
The skill does not require secrets or credentials. SKILL.md documents optional config env vars (CODE_MAX_COMPLEXITY, CODE_AUTO_FIX, etc.) and the analyzer.ts reads some of these, which is proportionate. No sensitive environment variables are requested. This is OK, but the SKILL.md lists features (agent integrations) that would normally require credentials — those are not declared, which is another inconsistency.
Persistence & Privilege
The skill does not request persistent/autonomous privileges (always: false). It does not declare modifications to other skills or system-wide settings. No privilege escalation indicators were found in the provided files.
What to consider before installing
What to consider before installing: - Mismatch between claims and code: SKILL.md promises many features (refactor, optimization, agent delegation, self-repair) that are not implemented in scripts/analyzer.ts. Ask the publisher for the full implementation or an explanation of how the extra features are provided. - Runtime requirements missing: The included file is TypeScript with a node shebang but there is no install/build step or declared required binary (node/ts-node). Confirm how you should run it and whether a compiled JS binary or package.json is provided. - Metadata inconsistency: The _meta.json ownerId differs from the registry Owner ID and the Source is 'unknown'. Confirm author identity and provenance before trusting or running the skill. - No obvious network exfiltration: The analyzer script shown performs only local file reads and static pattern checks; there are no network calls or secret access in the provided code snippet. Still, because some features mentioned would normally require external services (Codex/Claude/Pi/knowledge-base), verify where those calls would occur and whether credentials/endpoints are safe. - Safe deployment steps: If you still want to try it, run it in a sandboxed environment (container or VM), inspect the complete source (ensure the analyzer.ts file is intact and not truncated), and require the author to provide build/usage instructions and a signed/official package release. Refuse to run code from this skill in sensitive environments until provenance and full implementation are confirmed.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

💻 Clawdis
latestvk974cryk8v1eerh8vrnrnf19fx85jzd7
48downloads
0stars
1versions
Updated 2d ago
v1.0.0
MIT-0

Code Assistant (Asistente de Programación Pro)

Una super-habilidad para desarrolladores. Va más allá de escribir código: analiza, depura, optimiza, refactoriza y documenta.

Capacidades

┌─────────────────────────────────────────────────────┐
│                  CODE ASSISTANT                      │
├─────────────────────────────────────────────────────┤
│  🔍 Análisis    │  Encuentra bugs y code smells     │
│  ⚡ Optimización │  Mejora rendimiento y eficiencia  │
│  🔄 Refactor    │  Limpia y estructura código       │
│  📝 Documenta   │  Genera docstrings y README       │
│  🧪 Tests       │  Crea tests unitarios             │
│  🔐 Seguridad   │  Detecta vulnerabilidades         │
└─────────────────────────────────────────────────────┘

Comandos

Análisis de Código

# Analizar un archivo
code analyze src/utils.ts

# Analizar un directorio
code analyze src/ --depth:2

# Buscar bugs específicos
code bugs src/api/
code find-bugs src/

# Revisar complejidad
code complexity src/heavy-function.ts

Optimización

# Sugerir optimizaciones
code optimize src/slow-algorithm.py

# Optimizar queries SQL
code optimize-sql queries/

# Reducir bundle size
code optimize-bundle src/

Refactorización

# Refactorizar archivo
code refactor src/legacy-code.js

# Aplicar convenciones (PEP8, ESLint rules)
code format src/ --style:pep8

# Extraer función
code extract-function src/long-file.ts --lines:45-80

Documentación

# Generar docstrings
code document src/api/

# Crear README
code readme src/my-project/

# Generar changelog
code changelog --since:v1.0.0

Tests

# Generar tests unitarios
code test-gen src/calculator.ts

# Sugerir edge cases
code edge-cases src/validator.py

Ejemplo de Uso

Usuario: code analyze src/users/auth.ts

Bot: 🔍 Análisis de: src/users/auth.ts

     📊 Métricas:
     ├── Líneas: 245
     ├── Funciones: 12
     ├── Complejidad ciclomática: 18 ⚠️ (alta)
     └── Cobertura de docs: 30% ⚠️

     🐛 Bugs Potenciales (2):
     
     1. Línea 67: Race condition
        ```typescript
        // ❌ Problema
        if (user) {
          await saveUser(user);  // user puede cambiar entre check y save
        }
        ```
        💡 Solución: Usar transacción o lock
     
     2. Línea 142: SQL Injection
        ```typescript
        // ❌ Problema
        query(`SELECT * FROM users WHERE id = ${userId}`)
        ```
        💡 Solución: Usar parámetros preparados

     ⚡ Optimizaciones Sugeridas (3):
     
     1. Línea 89: Usar Map en lugar de Object para lookups frecuentes
     2. Línea 156: Memoizar resultado de getPermissions()
     3. Línea 201: Lazy loading para módulo crypto

     🔄 Refactorizaciones Sugeridas:
     
     1. Extraer validateToken() a módulo separado
     2. Aplicar patrón Repository para queries
     
     ¿Ejecutar alguna acción? [Documentar] [Refactorizar] [Generar Tests]

Lenguajes Soportados

LenguajeAnálisisDocsTests
TypeScript/JavaScript
Python
Go
Rust⚠️
Java
C/C++⚠️⚠️⚠️

Integración con Coding Agents

Puede delegar tareas complejas a Codex, Claude Code o Pi:

# Usar Codex para refactorizar
code refactor src/legacy.ts --agent:codex

# Usar Claude para documentar
code document src/ --agent:claude

Configuración

VariableDescripciónDefault
CODE_DEFAULT_STYLEEstilo de códigoauto
CODE_MAX_COMPLEXITYUmbral de complejidad15
CODE_AUTO_FIXAplicar fixes automáticamentefalse
CODE_IGNORE_PATTERNSPatrones a ignorarnode_modules,dist

Reglas de Análisis

El asistente detecta:

  • Security: SQL injection, XSS, path traversal, hardcoded secrets
  • Performance: N+1 queries, loops ineficientes, memory leaks
  • Style: Nombres inconsistentes, funciones largas, código muerto
  • Logic: Null checks faltantes, race conditions, off-by-one errors

Integración

  • self-repair: Los bugs encontrados pueden auto-corregirse
  • knowledge-base: Busca en documentación indexada
  • expert-researcher: Investiga mejores prácticas

Comments

Loading comments...