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

Giving your AI agent a password without pasting it on the chat

说明与用途

AI 代理需要安全地接收密码,而不在聊天中泄露。Locked 生成一个链接到受保护的表单,用户在其中输入密码,随后代理可以使用该密码,而不会在聊天中显示秘密。

问题

AI agents need to provide passwords for login pages, but pasting secrets into chat is insecure and often blocked by the agent.

结果

The agent can perform login actions without the password appearing in the chat, improving security while maintaining automation.

工作流

  • Install Locked with Bun: bun install -g github:BigSmallXYZ/locked locked setup
  • Run locked request --label "GitHub login" --site github.com --login --reason "Sign in to merge PR #42"
  • Open the provided link and enter the password in the form
  • Choose how the agent should use the secret: locked inject, locked exec, locked panel, or locked phone send
  • If the secret is highly sensitive, use --level sealed to require manual approval for each use

证据

So I created Locked. Instead of you pasting the secret, the agent sends you a link. You open it, type the secret in a small form and the agent uses it. The value stays out of the chat.

来源

The form needs to be reachable from your phone, and that's why you need a tunnel. It works with Cloudflare, ngrok, Tunnelmole or anything you already have.

来源

If the secret is highly sensitive, use --level sealed to require manual approval for each use.

来源

  • 记录日期: 2026-11-02T08:28:57.481Z