Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Keeping credentials out of your coding agent’s model context

说明与用途

ContextVeil 在保持文件访问的同时,移除编码代理输出中的选定秘密,防止意外泄露。

问题

Coding agents often read files containing credentials, risking accidental exposure of secrets in their model context.

结果

ContextVeil successfully removes selected secret values from agent output, reducing accidental credential exposure without blocking legitimate file reads or commands.

工作流

  • 1. Install ContextVeil via the provided shell script.
  • 2. Run contextveil setup in the project directory to review and select secrets to protect.
  • 3. Integrate ContextVeil with the chosen coding agent (e.g., Claude Code) by approving the hook.
  • 4. Use the coding agent as usual; ContextVeil automatically sanitizes output before it reaches the model.
  • 5. Run contextveil doctor to verify the integration and troubleshoot if needed.

证据

ContextVeil changes the supported tool result before it reaches the model: DATABASE_URL=postgres://localhost/my_app API_TOKEN=<SECRET:API_TOKEN> LOG_LEVEL=debug

来源

ContextVeil supports Linux (including WSL) and macOS. Install it with: curl -fsSL https://raw.githubusercontent.com/daniel-sc/contextveil/v1.0.0/install.sh | bash

来源

  • 记录日期: 2026-09-22T18:00:29.281Z