Skip to content
Back to skills

Agent Trust Passport

ASecurity

Use quando precisa criar, consultar ou verificar a identidade e permissoes de um agente de IA — quem ele e, o que pode fazer, historico de acoes e incidentes. Tambem use para validar integridade de passaportes existentes com hash SHA-256. Nao use para autenticacao de usuarios ou gerenciamento de chaves de API.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsrustbashnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add Abner-Machado/agent-layer --skill agent-trust-passport --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Trust Passport?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Trust Passport
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/abner-machado-agent-trust-passport/badge)](https://www.skillsdirectory.com/skills/abner-machado-agent-trust-passport)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-trust-passport
description: >-
  Use quando precisa criar, consultar ou verificar a identidade e permissoes de
  um agente de IA — quem ele e, o que pode fazer, historico de acoes e incidentes.
  Tambem use para validar integridade de passaportes existentes com hash SHA-256.
  Nao use para autenticacao de usuarios ou gerenciamento de chaves de API.
---

# agent-trust-passport

Um passaporte JSON portatil que viaja com o agente, registrando identidade,
permissoes, historico e incidentes. Hash de integridade previne adulteracao.

## Como um agente usa

### Criar passaporte
```bash
node cli.mjs init meu-passaporte.json "Nome do Agente" --permissions read,write --tools fs,http
```

### Conceder permissao
```bash
node cli.mjs grant meu-passaporte.json deploy --reason "deploy aprovado pelo operador"
```

### Revogar permissao
```bash
node cli.mjs revoke meu-passaporte.json deploy --reason "cesso temporaria encerrada"
```

### Registrar incidente
```bash
node cli.mjs incident meu-passaporte.json medio "tentativa de acesso nao autorizado"
```

### Verificar integridade
```bash
node cli.mjs verify meu-passaporte.json
```

## Formato do passaporte

```json
{
  "identity": { "id": "uuid", "name": "Agente", "version": "1.0.0" },
  "permissions": ["read", "write"],
  "tools": ["fs", "http"],
  "history": [
    { "action": "grant", "permission": "read", "date": "2026-08-30T...", "reason": "initial grant" }
  ],
  "incident": [
    { "date": "2026-08-30T...", "severity": "alto", "description": "..." }
  ],
  "hash": "sha256..."
}
```

## Biblioteca (lib.mjs)

```js
import { newPassport, grantPermission, revokePermission, recordIncident, validatePassport } from "./lib.mjs";
```

Toda operacao que altera o passaporte atualiza o hash automaticamente.

Files in this skill

  • PROVENANCE.md1.2 KB
  • README.md798 B
  • SKILL.md1.7 KB
  • cli.mjs5.4 KB
  • exemplos/entrada.json745 B
  • exemplos/passo.json1 KB
  • lib.mjs3.9 KB
  • package.json155 B
  • test.mjs4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.