Socket Firewall

Run the Socket Registry Firewall, block malicious packages at install time, and send every decision to your SIEM.

Socket Firewall (Registry Mode) is a container that sits between your package managers and the registries they pull from. Every package download is checked against Socket before it reaches the machine. A blocked package returns HTTP 403, so the install fails with a reason and a request ID.

These pages take you from a running firewall to a production rollout. Start with the first page, then follow the goals that matter to you.

Get started

GoalPage
Stand up the firewall in about 15 minutesStand Up Socket Firewall For The First Time
Prove a malicious package is blocked, including when it's a transitive dependencyFlat block
Hold back newly published versions for a few daysCooldown
Decide what is blocked, warned or allowedPolicy config

Run it in production

GoalPage
Keep verdicts across restarts and share them between instancesRedis cache
Hide blocked versions so installs resolve to an allowed versionMetadata filtering
Choose where the firewall sits in your networkDeployments
Route traffic with no client changesDNS override
Point developer machines at the firewallConfigure registry: dev
Point pipelines and Docker builds at the firewallConfigure registry: CI/CD

See what it decided

GoalPage
Read the decision log and its fieldsData
Send decisions to any HTTP endpointWebhook config
Send decisions to SplunkSplunk config

Before you start

  • A host with Docker and Docker Compose.
  • A Socket API token with the packages:list and entitlements:list scopes (Settings → API Tokens).
  • A hostname for the firewall. These pages use sfw.example.com; replace it with your own.

Did this page help you?