Which files should Skyportal's agent never read without asking?

I'm Henrique, one of the makers of Skyportal, an open source AI agent for infrastructure. It runs commands on your servers and Kubernetes clusters, and by default every command waits for a yes.

You can let some commands through: "Always Approve" on a command, a repo's allow list, or read-only mode for safe reads. A short list of files skips all of that. If a command touches SSH or AWS keys, a kubeconfig, a .env file, .netrc or shell history, it asks even when cat is on your allow list.

Package-manager files like .npmrc and .pypirc aren't on that list. With read-only mode on, cat ~/.npmrc runs without a prompt. The output is masked before the model sees it: values that look like tokens or passwords become [REDACTED]. That catches npm's _authToken= line and the password in .pypirc, but not the older _auth= line in .npmrc, which is a username and password in base64.

Adding these files means a plain cat .npmrc to check the registry needs a yes, even in read-only mode. Leaving them off means trusting the masking to know every shape a credential can take.

Which files on your servers would you make an agent ask about before reading? And is there one you'd keep from it even with a yes?

6 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.