hasp - local secret broker

Overview / Description

hasp is an AI-agent security tool that acts as a local secret broker, holding your credentials in one encrypted vault and handing them to apps and coding agents only when needed, without exposing the values to the agent's context. It targets developers using AI coding agents who want to prevent API keys and tokens from leaking into prompts, logs, or model context windows. Secrets live in a single local vault encrypted with Argon2id and AEAD, and hasp delivers them only to the executing process — bound to the process tree and the project boundary — under a hard 24-hour grant ceiling. A streaming output redactor scrubs secret values across 11 encoding formats so they don't surface in agent output, and a tamper-evident, append-only audit log chained with HMAC records every access. It ships first-class profiles for six-plus agents including Claude Code, Cursor, and Aider, plus repo guardrails that scan on pre-commit and pre-push. The design is local-first with no cloud dependency and fails closed — refusing an operation rather than downgrading security — making it suited to teams that let coding agents run real commands but can't risk plaintext credential exposure.

Used For

Securely supplying secrets to AI coding agents and apps without exposing the credential values.

Pricing

Plan

Free

Pricing not published — contact sales

View pricing

Pros & Cons

Pros

  • Single local vault encrypted with Argon2id and AEAD, no cloud dependency
  • Delivers secrets to the process only, bound to project boundary and process tree
  • Streaming output redactor scrubs secrets across 11 encoding formats
  • Tamper-evident append-only audit log chained with HMAC
  • First-class profiles for Claude Code, Cursor, Aider, and more, plus pre-commit/pre-push guardrails

Cons

  • Pricing is not published on the site
  • Requires local setup and is aimed at technical/developer users
  • Hard 24-hour grant ceiling may need re-granting for long-running workflows

Questions & Answers

Alternatives

HashiCorp Vault, Doppler, 1Password CLI, Infisical, Akeyless

hasp - local secret broker | AI Tools Directory