Bus: verify a relayed request against what the operator actually typed

Abierto
#369 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
22/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Área
security

Línea de trabajo

This is a design question, so start by reading the linked issues #327, #349 and #350 to see how inbox-typed prompts and provenance labels are already recorded in transcripts. The proposed read-only check would find the operator's own prompt behind a relayed request, and the acceptance criterion is that a relayed send without a matching human prompt is not executed. Done means the maintainers agree on the direction; the working selftest in hooks/custom/ is not yet in the repo.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

What happens

A request passed from another session cannot count as the operator's consent: the relaying session may have read a malicious email or page. Transcripts already record whether a prompt came from a human or a peer, but nothing lets the receiving session check.

Proposal

A read-only tool the receiver runs before an outward-facing action: find the operator's own prompt behind the relay (origin human, in which session, when) and show it. No human prompt found means the action waits for the operator.

Related

#327 (closed) fingerprinted inbox-typed prompts on the sender side; #349 and #350 cover provenance labels. This is the receiver side.

Acceptance

  • A relayed "send this" with no matching human prompt is not executed.

A working version with a selftest exists in one operator's hooks/custom/ and can be opened as a PR if the direction is right.

Lenguaje dominante
Shell
Estrellas
95
Forks
23
Merge medio
1 d 5 h
PR fusionados (30 d)
26

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de The-AIOS/aios

Todos los issues de The-AIOS/aios

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.