Menu

1 / 2

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

DEV Community: security·Anderson Ribeiro·2 days ago
#flKeRPTf
#devtosecurity#devto#dev#locked#agent
Reading 0:00
15s threshold

Ok, if you are using Claude you know this moment. It's doing great and then it reaches a login page and just stops.

So you give it the password and it denies. You try again and it keeps denying. It doesn't want your password on the chat, and I get it, but now the task is stuck and you have to do that part yourself.

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.

It runs on your machine, so there is no account and no hosted service.

To install it you just need Bun and then run this

bun install -g github:BigSmallXYZ/locked locked setup

Enter fullscreen mode

Exit fullscreen mode

That's it. locked setup picks a tunnel, installs the skill for the agents it finds and starts the server.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.