Omie ERP
v1.0.3Omie ERP integration via API. Manage clients, products, orders, invoices (NF-e), financials (contas a receber/pagar), and stock. Use when users ask about ERP...
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The code and SKILL.md implement an Omie ERP API client and a webhook receiver, which aligns with the skill name/description. However, the registry metadata does not declare the OMIE_APP_KEY and OMIE_APP_SECRET environment variables that the code and SKILL.md explicitly require — an inconsistency between declared requirements and actual runtime needs.
Instruction Scope
Runtime instructions are narrowly scoped to calling the included Python client and starting a webhook HTTP server. The scripts only talk to Omie's API, accept CLI args, and log incoming webhook payloads; they do not read unrelated files or attempt outbound connections aside from API calls. One operational detail: the webhook defaults to binding 0.0.0.0, which will make it reachable from any network interface if run as-is (possible exposure of webhook payloads).
Install Mechanism
There is no install spec (instruction-only install), and the bundle includes two Python scripts. Nothing is downloaded or extracted from external URLs and no additional packages are installed by the skill itself.
Credentials
The SKILL.md and code require OMIE_APP_KEY and OMIE_APP_SECRET environment variables (used to authenticate to Omie), which are appropriate for this purpose. However, the skill's registry metadata lists no required environment variables nor a primary credential — the omission is inconsistent and could lead to silent failures or confusion for users. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request elevated or persistent platform privileges (always:false). It does not modify other skills or system configuration. The only operational risk is running the webhook server (bind host default 0.0.0.0) which can expose inbound event traffic if started on an internet-facing host.
What to consider before installing
This skill appears to implement the advertised Omie ERP API client and a simple webhook receiver, and the Python source is readable. Before installing: 1) Provide OMIE_APP_KEY and OMIE_APP_SECRET in your environment — the registry metadata omitted these but they are required. 2) Note the SKILL.md examples sometimes reference slightly different paths (e.g., skills/omie/scripts vs. scripts/) — verify file placement when invoking. 3) The webhook defaults to 0.0.0.0: if you run it, consider binding to localhost or putting it behind an authenticated, TLS-terminating proxy (or firewall) so sensitive invoice/customer events aren't exposed. 4) The webhook logs full payloads to stderr; ensure logs are stored/handled per your data-protection policies because they may include personally identifiable or financial data. 5) If you need higher assurance, inspect the included Python files yourself (they are short and straightforward) and update the registry metadata to declare the required environment variables before using the skill in production.Like a lobster shell, security has layers — review code before you run it.
latest
Omie ERP Skill
Integração com o Omie ERP via API REST.
Setup
Requer variáveis de ambiente:
export OMIE_APP_KEY="your_app_key_here"
export OMIE_APP_SECRET="your_app_secret_here"
API Client
Use o script Python para todas as operações:
python3 skills/omie/scripts/omie_client.py <command> [args]
Comandos disponíveis
Clientes
python3 scripts/omie_client.py clientes_listar [pagina] [por_pagina]
python3 scripts/omie_client.py clientes_buscar cnpj_cpf=00.000.000/0001-00
python3 scripts/omie_client.py clientes_buscar codigo=1234567
python3 scripts/omie_client.py clientes_detalhar codigo=1234567
Produtos
python3 scripts/omie_client.py produtos_listar [pagina] [por_pagina]
python3 scripts/omie_client.py produtos_detalhar codigo=1234567
Pedidos de Venda
python3 scripts/omie_client.py pedidos_listar [pagina] [por_pagina]
python3 scripts/omie_client.py pedidos_detalhar numero=1234
python3 scripts/omie_client.py pedidos_status numero=1234
Financeiro
python3 scripts/omie_client.py contas_receber [pagina] [por_pagina]
python3 scripts/omie_client.py contas_pagar [pagina] [por_pagina]
python3 scripts/omie_client.py resumo_financeiro
Notas Fiscais
python3 scripts/omie_client.py nfe_listar [pagina] [por_pagina]
python3 scripts/omie_client.py nfe_detalhar numero=1234
Estoque
python3 scripts/omie_client.py estoque_posicao [pagina] [por_pagina]
python3 scripts/omie_client.py estoque_produto codigo=1234567
Webhook
O Omie pode enviar eventos para um endpoint HTTP. Configurar em: Omie → Configurações → Integrações → Webhooks
Eventos suportados:
pedido.incluido/pedido.alteradonfe.emitida/nfe.canceladafinancas.recebido/financas.pagocliente.incluido/cliente.alterado
Para iniciar o receptor de webhooks:
python3 scripts/omie_webhook.py --port 8089
Limites da API
- Rate limit: 3 requisições/segundo por app
- Paginação: máximo 500 registros por página
- Timeout: 30 segundos
Comments
Loading comments...
