https://github.com/hoophq/hoop
The only access proxy that blocks dangerous linux commands and scrubs sensitive database outputs
https://github.com/hoophq/hoop
access-control bastion-host databases go grpc mongodb mysql pam postgres proxy security sqlserver ssh terminal tty
Last synced: 15 days ago
JSON representation
The only access proxy that blocks dangerous linux commands and scrubs sensitive database outputs
- Host: GitHub
- URL: https://github.com/hoophq/hoop
- Owner: hoophq
- License: mit
- Created: 2022-08-29T18:26:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-23T19:42:54.000Z (21 days ago)
- Last Synced: 2026-01-24T08:58:40.441Z (20 days ago)
- Topics: access-control, bastion-host, databases, go, grpc, mongodb, mysql, pam, postgres, proxy, security, sqlserver, ssh, terminal, tty
- Language: Go
- Homepage: https://hoop.dev
- Size: 44.9 MB
- Stars: 542
- Watchers: 2
- Forks: 35
- Open Issues: 77
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Cla: CLA.md
Awesome Lists containing this project
- awesome-github-repos - hoophq/hoop - Automated Access and Data Protection (Go)
README

hoop.dev
๐ Access any database or server. Customer data automatically hidden. Everything recorded.
Website ยท Docs ยท Discussions
The only access proxy that blocks dangerous linux commands and scrubs sensitive database outputs
## Without Hoop
```sql
-- Debugging production issue...
SELECT * FROM users WHERE id = 42;
โโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ
โ id โ email โ ssn โ phone โ credit_card โ
โโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโค
โ 42 โ john.doe@example.com โ 123-45-6789 โ (555) 123-4567 โ 4111-1111-1111-1111 โ
โโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโ
-- You screenshot the result for Slack...
-- ๐ SSNs, credit cards, and phone numbers now in your team chat
```
One query, one screenshot, one data breach.
## With Hoop
Same query through Hoop:
```sql
-- You see:
โโโโโโฌโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโ
โ id โ email โ ssn โ phone โ credit_card โ
โโโโโโผโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโค
โ 42 โ **************** โ *********** โ ************ โ *************** โ
โโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโ
-- Now it's safe to share
```
## Without Hoop
```sql
-- Fixing bug at 3AM...
UPDATE users SET name = 'Bob Ross'
-- ๐ 1000000 rows updated
```
## With Hoop
```sql
-- Fixing bug at 3AM...
UPDATE users SET name = 'Bob Ross'
-- ๐ซ Query blocked by Guardrail: "Prevent UPDATE without WHERE
```
**That's it.** Hoop sits between you and your infrastructure. Sensitive data gets masked automatically. Dangerous operations blocked. Everything gets recorded.
## 30-Second Demo
```bash
# create a jwt secret for auth
echo "JWT_SECRET_KEY=$(openssl rand -hex 32)" >> .env
# download and run
curl -sL https://hoop.dev/docker-compose.yml > docker-compose.yml
docker compose up
```
[View full installation options](https://hoop.dev/docs/setup/deployment/overview)
## How It Works
```
You โ Hoop โ Your Infrastructure
โ
โข Masks sensitive data (ML-powered)
โข Blocks dangerous commands
โข Records everything (for compliance)
โข Controls access (who, what, when)
```
Works with:
- **Databases**: PostgreSQL, MySQL, MongoDB, Redis
- **Servers**: SSH, Kubernetes, Docker
- **Tools**: HTTP APIs, internal services
## Why Teams Love Hoop
### ๐ง Smart Masking
Not regex. Machine learning that understands context.
- Knows "555-1234" is a phone number in user data
- Knows "BUILD-555-1234" is a build number
- Works in any language
### โก Actually Fast
- <5ms latency
- No performance impact
- Works with existing tools
### ๐ Real Security
- Nothing to configure
- Full audit trail
- SOC2/HIPAA/GDPR compliant
## ๐ Popular Guides
### Databases
- [MySQL](https://hoop.dev/docs/quickstart/databases/mysql)
- [PostgreSQL](https://hoop.dev/docs/quickstart/databases/postgres)
- [MongoDB](https://hoop.dev/docs/quickstart/databases/mongodb)
- [MSSQL](https://hoop.dev/docs/quickstart/databases/mssql)
### Cloud & Infrastructure
- [Kubernetes](https://hoop.dev/docs/quickstart/cloud-services/kubernetes)
- [AWS](https://hoop.dev/docs/quickstart/cloud-services/aws/aws-cli)
- [SSH Jump Hosts](https://hoop.dev/docs/quickstart/web-applications/jump-hosts)
[View all guides](https://hoop.dev/docs/quickstart)
## Installation
### Docker
bash
```bash
# create a jwt secret for auth
echo "JWT_SECRET_KEY=$(openssl rand -hex 32)" >> .env
# download and run
curl -sL https://hoop.dev/docker-compose.yml > docker-compose.yml && docker compose up
```
[See Docker Compose installation documentation](https://hoop.dev/docs/setup/deployment/docker-compose)
### Kubernetes
[See Kubernetes Deployment Documentation](https://hoop.dev/docs/setup/deployment/kubernetes)
### AWS
[See AWS Deploy & Host Documentation](https://hoop.dev/docs/setup/deployment/AWS)
| Region | Launch Stack |
|--------|--------------|
| N. Virginia (us-east-1) | [](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-us-east-1.s3.us-east-1.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| Ohio (us-east-2) | [](https://us-east-2.console.aws.amazon.com/cloudformation/home?region=us-east-2#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-us-east-2.s3.us-east-2.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| N. California (us-west-1) | [](https://us-west-1.console.aws.amazon.com/cloudformation/home?region=us-west-1#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-us-west-1.s3.us-west-1.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| Oregon (us-west-2) | [](https://us-west-2.console.aws.amazon.com/cloudformation/home?region=us-west-2#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-us-west-2.s3.us-west-2.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| Ireland (eu-west-1) | [](https://eu-west-1.console.aws.amazon.com/cloudformation/home?region=eu-west-1#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-eu-west-1.s3.eu-west-1.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| London (eu-west-2) | [](https://eu-west-2.console.aws.amazon.com/cloudformation/home?region=eu-west-2#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-eu-west-2.s3.eu-west-2.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| Frankfurt (eu-central-1) | [](https://eu-central-1.console.aws.amazon.com/cloudformation/home?region=eu-central-1#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-eu-central-1.s3.eu-central-1.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
| Sydney (ap-southeast-2) | [](https://ap-southeast-2.console.aws.amazon.com/cloudformation/home?region=ap-southeast-2#/stacks/quickcreate?templateURL=https%3A%2F%2Fhoopdev-platform-cf-ap-southeast-2.s3.ap-southeast-2.amazonaws.com%2Flatest%2Fhoopdev-platform.template.yaml) |
[View all regions](https://hoop.dev/docs/deploy/AWS)
## Advanced Features
What makes Hoop unique is its ability to not only inspect but also modify connections between users and infrastructure:
- [**AI Data Masking**](https://hoop.dev/docs/learn/features/ai-data-masking) - Automatically hide sensitive data like emails, SSNs, and credit cards
- [**Just-in-Time Reviews**](https://hoop.dev/docs/learn/features/reviews/overview) - Approve risky commands in real-time through Slack or MS Teams
- [**Runbooks**](https://hoop.dev/docs/learn/features/runbooks) - Create pre-approved workflows for common tasks
- [**Web & Native Modes**](https://hoop.dev/docs/clients) - Use the web interface or connect through your native database tools
[See all features](https://hoop.dev/docs/learn/features)
## You'll be in Good Company
- **200+ successful deployments** from companies around the world
- **4.3 minute average setup time** across all deployments
- **Trusted by teams** from startups to enterprises
## ๐ค Contributing
We welcome contributions! Check out our [Development Documentation](/DEV.md) to get started.
## ๐ฃ Community
Join our [Discussions](https://github.com/hoophq/hoop/discussions) to ask questions, share ideas, and connect with other users.
โญ Star this if you've ever worried about screenshots in Slack
## Backed by
