TypeScript / Execução registrada
Auth Gateway
A gateway with short-lived tokens, scopes, replay protection, limits, and auditing, plus Supabase authentication for private report access.
O que foi verificado
Os comandos abaixo executam o código do repositório e conferem os cenários registrados. A evidência cobre esses cenários na versão indicada; não comprova todas as entradas possíveis nem uso em produção. Build, regras locais e adaptadores testados não comprovam disponibilidade do backend, login ou banco de dados em produção.
A evidência abaixo pertence à versão registrada. A consulta usa a API pública do GitHub e pode atingir o limite de requisições.
Comandos e resultados reais
Resultados extraídos dos logs do Actions. Saídas extensas podem estar resumidas; a execução original e o artefato contêm o registro completo.
Baixar relatório JSONPASS npm ci
Saída: 0 · esperada: 0 · 1.104 s
$ bash -e -o pipefail -c npm ci added 3 packages, and audited 4 packages in 974ms found 0 vulnerabilities
PASS npm test
Saída: 0 · esperada: 0 · 0.402 s
$ bash -e -o pipefail -c npm test > zero-trust-auth-gateway@1.0.0 test > node --experimental-transform-types --test test/*.test.ts (node:2341) ExperimentalWarning: Transform Types is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) ✔ short lived scoped token grants matching route (6.967494ms) ✔ insufficient scope is denied and audited (4.174213ms) ✔ nonce replay and stale requests are rejected (1.004287ms) ✔ rate limit rejects request bursts (0.759069ms) ✔ audit snapshots cannot mutate the signed chain (0.410988ms) (node:2342) ExperimentalWarning: Transform Types is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) ✔ principal and nonce boundaries are unambiguous (1.173113ms) ✔ invalid clocks cannot extend or clear replay entries (0.416889ms) ℹ tests 7 ℹ suites 0 ℹ pass 7 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 204.365787
PASS npm run check
Saída: 0 · esperada: 0 · 1.104 s
$ bash -e -o pipefail -c npm run check > zero-trust-auth-gateway@1.0.0 check > tsc --noEmit
PASS Authorize scoped token, reject replay and verify signed audit
Saída: 0 · esperada: 0 · 0.155 s
$ node --experimental-transform-types .proof/demo.ts
(node:2377) ExperimentalWarning: Transform Types is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
{"authorized":"operator-1","replay_denied":true,"scope_denied":true,"audit_chain_valid":true,"decisions":["allow","deny","deny"]}
Reproduzir a execução
Os pré-requisitos e as entradas são públicos no repositório. Faça checkout da versão exata antes de executar os cenários.
git clone https://github.com/brunnojob/zero-trust-auth-gateway.git cd zero-trust-auth-gateway git checkout 7d7388a7a766b0ec7b4f3e898f1e01c8cfdbdd8d python .proof/record.py