Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Scope of `consequentialHint` for high-risk read tools

Abierto
#331 7 comentarios 1 reacción 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
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
html
Área
api

Línea de trabajo

Start by reading the WebMCP spec definition of consequentialHint and the linked pull request 217, then review the six comments for agreement on the scope. Decide whether to extend the hint to cover high-risk data exposure or define a separate sensitive-data hint; done means the spec clearly distinguishes the relevant consent risks and defines the chosen hint.

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

Descripción

The current WebMCP spec defines consequentialHint (introduced in https://github.com/webmachinelearning/webmcp/pull/217) as:

"If true, indicates that executing the tool will result in consequential actions that are significant, real-world, or non-reversible, ex: booking a flight, transferring money."

This definition focuses on mutative operations (write actions) but leaves high-risk read-only operations ambiguous.

Many tools do not alter state but retrieve highly sensitive, restricted, or regulated user data. Letting an agent execute these silently without user confirmation introduces severe privacy and security risks.

Tool Example Risk Category Potential Impact
readUserAddress Location Privacy Exposes the user's physical, real-world location.
readBankAccountBalance Financial Privacy Reveals net worth, enabling targeted financial exploits.
readApiKey Security Credentials Exposes secrets that grant permanent external write access.
readMedicalHistory Regulated Data Exposes highly sensitive health records (e.g., HIPAA).

I'd be in favor of updating consequentialHint to explicitly include high-risk data exposure with something like:

*"If true, indicates that executing the tool or disclosing its results will lead to significant, real-world, non-reversible, or high-privacy-risk consequences (e.g., booking a flight, transferring money, or exposing credentials and medical records)."

OR we could also introduce a new hint (e.g., sensitiveDataHint) to keep consequentialHint strictly reserved for side-effect-producing mutations, and introduce a separate, parallel hint specifically for data access risks. This would allows agents to differentiate their consent UI (e.g., "This tool will execute an action" vs. "This tool will read sensitive information").

@johannhof

Lenguaje dominante
Bikeshed
Estrellas
4.7k
Forks
328
Merge medio
2 d 15 h
PR fusionados (30 d)
16

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 webmachinelearning/webmcp

Todos los issues de webmachinelearning/webmcp

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.