Back to browse
Hextrap – Package Firewall with OPA Policies and MCP Support

Hextrap – Package Firewall with OPA Policies and MCP Support

by thenrich99·Jun 17, 2026·1 point·0 comments

AI Analysis

●●SolidSolve My ProblemBig Brain

Soak time quarantines new packages for 48 hours to catch malicious releases before production.

Strengths
  • Proxy-based enforcement requires zero code changes to existing CI/CD pipelines.
  • OPA Rego policy engine allows fine-grained custom security rules.
  • MCP support lets AI coding agents check allow-lists before installing.
Weaknesses
  • Package security is a crowded market dominated by Snyk and Sonatype.
  • Requires managing another proxy service in the infrastructure stack.
Category
Target Audience

DevOps Engineers, Security Teams

Similar To

Snyk · Socket · Sonatype Nexus

Post Description

We’re building Hextrap (https://hextrap.com/products/firewall/), a package firewall to make it easier for teams and organizations to govern the packages installed from their favorite NPM, PyPI, Go, and Rust registries using managed allow/deny lists, custom OPA policies, and built-in safeguards like soak time (new versions are quarantined for a configurable amount of time - most malicious packages are discovered within 48h) and typosquatting detection. Every `pip install`, `npm install`, and `go get` is proxied through Hextrap and evaluated against a target firewall.

Hextrap is designed to work with LLMs (via MCP) so tools like Claude Code will check if a package is allow-listed before downloading or adding it to a project (in addition to using the proxy at install time). This bridges the gap between Claude’s planning and execution phases and creates a more collaborative experience with the developer when libraries are being chosen (i.e. pyramid is not allow-listed, should I try Django or Flask instead?)

In addition to the above, security data and package metadata is made available to OPA so teams can use the extra information to craft their own custom Rego policies (i.e. package must have had at least n commits in the past 6 months, have at least 1,000 stars, and a Hextrap security score above 75). We pull in data directly from the public registries and generate security signals that help identify version-level threats within packages.

You can try it out without signing up or giving us an email address here: https://hextrap.com/try

We’re actively building this product and are curious what the HN crowd thinks about the proxy-approach, the MCP integration point, and whether OPA was the right choice for policy as code.

Similar Projects

Security●●Solid

mcpguard – security scanner and firewall for MCP servers

OWASP MCP Top 10 scanner and proxy firewall for AI agent tool calls.

Niche GemSolve My ProblemShip It
GTprojects
2017d ago
Security●●●Banger

AvaKill – Deterministic safety firewall for AI agents (<1ms, no ML)

Deterministic <1ms policy kill switch for AI agent tool calls, zero ML.

Solve My ProblemBig BrainShip It
duroapp
333mo ago