Skip to content

Releases

jsonW 1.4.1: security fix for the permission view

Choose a tag to compare

@developer-wortic developer-wortic released this 15 Nov 02:35

English

  • Security fix: the permission view now applies to every command that reads values. In 1.4.0 only ver and the web server applied it. filtrar, calcular, para-texto, escolher, avaliar, comparar and info read every column, so a +pessoal column (for example a personal ID number) could be printed, matched by a condition or written to an output file. In 1.4.1, without WJSW_ESCOPOS, +pessoal and +escopo(x) columns come out null, and a condition, group or score on a hidden column fails with coluna sem permissao. With a tenant view, the filtrar header no longer shows the total rows of other tenants.
  • Measured: the same test file on macOS arm64 fails 23 of 37 checks with 1.4.0 and 0 of 37 with 1.4.1. The full suite also passes with AddressSanitizer and UBSan on Linux.
  • Owner operations stay outside the view: regravar, cifrar, decifrar, de-texto, de-json, conferir, reparar and medir copy the whole file. Do not hand the raw .jsw to someone who should see only part of it.
  • No format change. 1.4.1 reads every file written by 1.4.0, 1.3.x and 1.2.1. Upgrade if you use +pessoal or +escopo(x) columns.
  • npm: @wortictecnologia/jsonw@1.4.1.

Português

  • Correção de segurança: a visão por permissão vale em todo comando que lê valores. Na 1.4.0, só o ver e o servidor web a aplicavam. O filtrar, o calcular, o para-texto, o escolher, o avaliar, o comparar e o info liam todas as colunas, e uma coluna +pessoal (um CPF, por exemplo) podia ser mostrada, achada por uma condição ou gravada num arquivo de saída. Na 1.4.1, sem WJSW_ESCOPOS, as colunas +pessoal e +escopo(x) saem nulas, e uma condição, um grupo ou uma nota em coluna escondida dá o erro coluna sem permissao. Com visão de tenant, o cabeçalho do filtrar não mostra mais o total de linhas dos outros tenants.
  • Medido: o mesmo arquivo de teste no macOS arm64 falha em 23 das 37 checagens com a 1.4.0 e em 0 das 37 com a 1.4.1. A bateria inteira também passa com AddressSanitizer e UBSan no Linux.
  • Operações do dono ficam fora da visão: regravar, cifrar, decifrar, de-texto, de-json, conferir, reparar e medir copiam o arquivo inteiro. Não entregue o .jsw bruto a quem só deve ver parte dele.
  • O formato não mudou. A 1.4.1 lê todo arquivo gravado pela 1.4.0, pela 1.3.x e pela 1.2.1. Atualize se você usa colunas +pessoal ou +escopo(x).
  • npm: @wortictecnologia/jsonw@1.4.1.

jsonW 1.4.0: encryption at rest, document masks and agent protocol profiles

Choose a tag to compare

@developer-wortic developer-wortic released this 15 Nov 00:29

English

  • Encryption at rest. A .jsw file can stay encrypted on disk (XChaCha20-Poly1305). The key stays outside the file (WJSW_CHAVE_ARQ or --chave). Without encryption, 1.4.0 writes the file byte for byte equal to 1.3.14, and 1.3.14 and 1.2.1 read it. Older readers refuse an encrypted file instead of reading ciphertext as data.
  • Document masks that never break. CPF, CNPJ, IBAN, EU and UK VAT, E.164 phones and more (158 cases proven, also under ASan and UBSan).
  • jsonW profiles for agent protocols. A2A, UCP, ACP, AP2, Verifiable Intent, x402, MPP, AG-UI and OpenTelemetry: 49 objects with a JSON round trip.
  • Binaries for macOS arm64, Linux x86_64, Linux ARM64 and Windows x86_64; C SDK with ABI 1.4.0. Also includes everything from 1.3.14 (WebAssembly, opening from memory, Dart, Objective-C and COBOL SDKs).
  • npm: npm install @wortictecnologia/jsonw@1.4.0

Português

  • Cifra em repouso: o arquivo .jsw pode ficar cifrado no disco, com a chave fora do arquivo. Sem cifra, sai byte a byte igual à 1.3.14.
  • Máscaras de documentos de vários países, que nunca quebram (158 casos provados).
  • Perfis jsonW dos protocolos de agentes (49 objetos com ida e volta).
  • Binários para macOS, Linux (x86_64 e ARM64) e Windows; SDK em C com ABI 1.4.0.