Habilidades meituan-printer
📦

meituan-printer

Riesgo alto 🌐 Acceso a red⚙️ Comandos externos📁 Acceso al sistema de archivos🔑 Variables de entorno⚡ Contiene scripts

Imprimir tareas de impresora térmica Meituan

Los equipos de restaurantes necesitan comprobantes de tareas fiables sin editar comandos de impresora a mano. Esta skill ayuda a Claude, Codex y Claude Code a configurar impresoras locales, enviar comprobantes con formato y programar trabajos de impresión recurrentes.

Compatible con: Claude Codex Code(CC)
⚠️ 38 Deficiente
1

Descargar el ZIP de la habilidad

2

Subir en Claude

Ve a Configuración → Capacidades → Habilidades → Subir habilidad

3

Activa y empieza a usar

Recursos legibles por agentes

Usa estos enlaces cuando un agente de IA, crawler o script necesite contexto limpio en vez de leer la página completa.

Pruébalo

Usando "meituan-printer". Imprime un comprobante de prueba en la impresora de la cocina trasera.

Resultado esperado:

El asistente confirma el alias de la impresora de destino, envía el comprobante de prueba con formato e informa si la impresora aceptó la conexión.

Usando "meituan-printer". Programa la lista de verificación de cierre todas las noches a las 22:00.

Resultado esperado:

El asistente crea una tarea recurrente con la impresora seleccionada, el título, el texto de la lista de verificación y la próxima hora de ejecución planificada.

Usando "meituan-printer". Muestra todas las impresoras configuradas.

Resultado esperado:

  • Una tabla de alias de impresoras, direcciones IP, puertos, tipos de impresora y observaciones.
  • Una advertencia si aún no existe ninguna configuración de impresora.

Auditoría de seguridad

Riesgo alto
v2 • 6/28/2026

Static analysis found many command, network, filesystem, script, and persistence indicators. Review confirmed that many documentation and byte-literal detections are false positives, but the skill includes a Flask admin server bound to all interfaces with no authentication and endpoints that can run print jobs, write local configuration, and export OS scheduled tasks. No prompt injection or confirmed malicious intent was found, but publication should be blocked until authentication, binding, and scheduler controls are hardened.

16
Archivos escaneados
3,844
Líneas analizadas
15
hallazgos
2
Auditorías totales

Problemas de riesgo alto (3)

Unauthenticated Network-Exposed Admin Interface
The Flask admin app binds to 0.0.0.0 and exposes APIs that manage printers, tasks, templates, and immediate print execution without authentication. Any host that can reach the service may modify local printer configuration or trigger printer actions.
Operating System Scheduled Task Persistence
The skill can write macOS LaunchAgents and load them with launchctl, and can create Windows scheduled tasks with schtasks. This is documented as a feature, but it creates persistent execution outside the AI session and needs explicit user consent and hardening.
Windows Scheduled Command Injection Risk
The Windows scheduler command is built as one quoted command string using task title and content. Quote characters or shell metacharacters in scheduled task content may alter the command that Task Scheduler later executes.
Problemas de riesgo medio (4)
DOM XSS Risk in Local Admin UI
The frontend writes toast messages and rendered tables through innerHTML. Some messages include user-controlled aliases or server response text, which may allow script injection in the browser admin UI.
Arbitrary Local Network Printer Connections
The print script accepts a direct IP and port and opens a TCP socket to send ESC/POS commands. This is core functionality, but it can be abused for unwanted network traffic or unauthorized printing if exposed through the admin UI.
Unauthenticated Local File Writes
The web backend writes printer configuration, task data, printer types, and templates based on API input. File locations are fixed, but the lack of authentication allows reachable clients to change operational data.
Automatic Dependency Installation at Startup
The startup scripts install Flask and APScheduler with pip when imports fail. This is convenient, but it performs network package installation without pinning versions or verifying package integrity.
Problemas de riesgo bajo (3)
Documentation Command Examples Flagged as Execution
Many static external-command findings are Markdown command examples or inline code in README and SKILL documentation. They are not executed by the files themselves, so these specific documentation detections are false positives.
ESC/POS Byte Literals Flagged as Obfuscation
Hex byte literals in the print script are ESC/POS printer control commands for alignment, font size, line feeds, and paper cutting. They do not appear to hide executable payloads.
Hardcoded Private Printer Addresses
Example and reference files include private RFC1918 printer IP addresses. These are not public endpoints, but they may expose real store network details and should be replaced with placeholders before publication.

Factores de riesgo

🌐 Acceso a red (37)
⚙️ Comandos externos (181)
README.md:23 README.md:24 README.md:24 README.md:28-30 README.md:30-32 README.md:32 README.md:32-42 README.md:42-44 README.md:44-48 README.md:48-50 README.md:50-54 README.md:54-57 README.md:57-61 README.md:61-63 README.md:63-65 README.md:65-67 README.md:67-69 README.md:69-89 README.md:89-91 README.md:91-95 README.md:95-97 README.md:97-101 README.md:101-103 README.md:103-107 README.md:107-113 README.md:113-116 README.md:116-120 README.md:120-122 README.md:122-126 README.md:126-128 README.md:128-132 README.md:132-134 README.md:134-140 README.md:140-144 README.md:144-145 README.md:145-151 README.md:151-157 README.md:157-161 README.md:161-165 README.md:165-166 README.md:166 README.md:166-172 README.md:172-177 README.md:177-181 README.md:181-183 README.md:183-185 README.md:185-194 README.md:194-195 README.md:195-196 README.md:196-197 README.md:197-201 README.md:201-202 README.md:202 README.md:202-203 README.md:203 README.md:203-212 README.md:212-224 README.md:224-226 README.md:226-236 README.md:236-238 README.md:238-246 README.md:246 README.md:246-247 README.md:247 README.md:247-255 README.md:255-275 README.md:275-279 README.md:279-281 README.md:281-283 README.md:283 README.md:283-285 README.md:285-298 README.md:298-322 README.md:322 README.md:322-324 README.md:324-325 README.md:325-331 README.md:331-332 README.md:332-333 references/onboarding.md:5 references/onboarding.md:53 references/onboarding.md:54 references/onboarding.md:61 references/onboarding.md:62 references/onboarding.md:66 references/onboarding.md:68 references/onboarding.md:90 references/onboarding.md:131-137 references/printer-config.md:38 references/printer-config.md:38 references/printer-config.md:39 references/printer-config.md:45-47 references/printer-config.md:47-48 references/printer-config.md:48-49 references/printer-config.md:49-57 scripts/platform_utils.py:191 scripts/platform_utils.py:204 scripts/platform_utils.py:248 scripts/platform_utils.py:263 scripts/print_to_printer.py:208 scripts/start.command:5 scripts/start.command:1 scripts/templates/index.html:1012 scripts/templates/index.html:1014 scripts/templates/index.html:1036 scripts/templates/index.html:1056-1071 scripts/templates/index.html:1108 scripts/templates/index.html:1128-1133 scripts/templates/index.html:1150 scripts/templates/index.html:1151 scripts/templates/index.html:1170 scripts/templates/index.html:1181 scripts/templates/index.html:1182 scripts/templates/index.html:1193 scripts/templates/index.html:1195 scripts/templates/index.html:1211 scripts/templates/index.html:1213 scripts/templates/index.html:1214 scripts/templates/index.html:1228-1249 scripts/templates/index.html:1249-1250 scripts/templates/index.html:1250-1255 scripts/templates/index.html:1264-1274 scripts/templates/index.html:1304-1311 scripts/templates/index.html:1315 scripts/templates/index.html:1321 scripts/templates/index.html:1369 scripts/templates/index.html:1379 scripts/templates/index.html:1410 scripts/templates/index.html:1420 scripts/templates/index.html:1429 scripts/templates/index.html:1436 scripts/templates/index.html:1445 scripts/templates/index.html:1456 scripts/templates/index.html:1457 scripts/templates/index.html:1481-1490 scripts/templates/index.html:1525 scripts/templates/index.html:1536 scripts/templates/index.html:1551 scripts/templates/index.html:1568 scripts/web_admin.py:100 SKILL.md:25 SKILL.md:25 SKILL.md:27 SKILL.md:27 SKILL.md:29 SKILL.md:46-65 SKILL.md:65-80 SKILL.md:80-81 SKILL.md:81-86 SKILL.md:86-92 SKILL.md:92-94 SKILL.md:94-96 SKILL.md:96-99 SKILL.md:99-100 SKILL.md:100-104 SKILL.md:104-106 SKILL.md:106-114 SKILL.md:114-117 SKILL.md:117-124 SKILL.md:124-137 SKILL.md:137-139 SKILL.md:139-149 SKILL.md:149-150 SKILL.md:150-151 SKILL.md:151-165 SKILL.md:165-166 SKILL.md:166-167 SKILL.md:167-181 SKILL.md:181-185 SKILL.md:185-192 SKILL.md:192-199 SKILL.md:199 SKILL.md:199-200 SKILL.md:200-201 SKILL.md:201-214 SKILL.md:214 SKILL.md:214-215 SKILL.md:215 SKILL.md:215-219 SKILL.md:219-237 SKILL.md:237-238
📁 Acceso al sistema de archivos (10)
🔑 Variables de entorno (11)
⚡ Contiene scripts (14)

Patrones detectados

Flask Server Bound to All Interfaces Without AuthenticationSubprocess Execution from Web-Controlled ActionsPersistent Scheduler ExportRaw HTML Rendering of Dynamic Messages

Puntuación de calidad

77
Arquitectura
100
Mantenibilidad
87
Contenido
69
Comunidad
0
Seguridad
83
Cumplimiento de la especificación

Lo que puedes crear

Imprimir listas de verificación de turno

Crea e imprime listas de verificación de mañana, tarde o estación para el personal del restaurante.

Gestionar alias de impresoras

Asigna las impresoras de cocina, verduras y recepción a alias locales claros.

Programar comprobantes de tareas recurrentes

Configura trabajos de impresión recurrentes para rutinas diarias de preparación, limpieza o inventario.

Prueba estos prompts

Imprimir un comprobante de tarea simple
Imprime un comprobante de tarea en la impresora de cocina. Titúlalo Morning Prep e incluye estas líneas: check freezer temperature, prepare vegetables, confirm booking count.
Añadir un alias de impresora
Ayúdame a añadir un nuevo alias de impresora Meituan llamado Front Desk. La IP es 192.168.1.50 y el puerto es 9100. Prueba primero la conexión.
Crear una impresión programada
Crea una tarea de impresión diaria a las 09:00 para la impresora de cocina. El título es Opening Checklist y el contenido debe cubrir comprobaciones de existencias, saneamiento y equipos.
Revisar la configuración y los riesgos de impresoras
Revisa mis impresoras configuradas y tareas programadas. Identifica alias obsoletos, programaciones duplicadas y cualquier tarea programada a nivel de sistema que necesite confirmación.

Mejores prácticas

  • Vincula la interfaz de administración web a localhost salvo que se requiera explícitamente acceso remoto.
  • Confirma la impresora de destino y el contenido antes de enviar o programar cualquier trabajo de impresión.
  • Usa direcciones IP de marcador de posición en ejemplos compartidos y mantén privados los detalles reales de la red de la tienda.

Evitar

  • No expongas el servicio de administración web a una red compartida sin autenticación.
  • No exportes tareas programadas del sistema sin aprobación clara del usuario.
  • No coloques secretos, datos de clientes ni registros empresariales sensibles en plantillas imprimibles.

Preguntas frecuentes

¿A qué impresoras está dirigida esta skill?
Está orientada a impresoras térmicas Meituan que aceptan comandos ESC/POS mediante una conexión TCP local.
¿Puede imprimir sin la interfaz web?
Sí. El script de línea de comandos puede imprimir por alias de impresora o por IP y puerto directos.
¿Admite impresión programada?
Sí. Admite programaciones diarias, semanales y mensuales a través del servicio web local.
¿Pueden ejecutarse las tareas programadas después de que se detenga el servicio web?
Sí, si el usuario las exporta a macOS LaunchAgents o Windows Task Scheduler.
¿Es seguro exponer en una red la versión revisada?
No. El servicio de administración web revisado no tiene autenticación y no debe exponerse más allá de localhost.
¿La skill necesita acceso a internet?
La impresión usa la red local. Los scripts de inicio pueden usar acceso a internet para instalar paquetes Python faltantes.