New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

antiflock

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antiflock

Bootstrap and run AntiFl0ck locally: self-hosted counter-surveillance for the networks you control.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
5
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

antiflock

Bootstrap and run AntiFl0ck — open-source counter-surveillance for the networks you control — with one command. No manual git clone, no hand-editing compose files.

Pre-alpha: this installs and runs the local, fully-simulated demo stack (Core, policy engine, signed audit log, Third-Eye dashboard). Host-level enforcement is still under active development — see the release status.

Requirements

  • Docker
  • git
  • Node.js 20+

Quick start

npx antiflock init
npx antiflock dev

init clones the repo into ./antiflock (skipped if you're already inside a checkout) and generates a private, locally-scoped config at .antiflock/dev.env — operator/SDK/agent/dashboard tokens, never committed.

dev builds and starts the full stack. Once it's up, open http://127.0.0.1:4173 — username operator, token from that config file.

Run the scripted coffee-shop simulation against a running stack:

npx antiflock lab

Stop everything:

npx antiflock down

Commands

CommandDoes
antiflock initClone (if needed) and generate local config
antiflock devBuild and start the full local stack
antiflock labRun the one-shot coffee-shop simulation
antiflock buildBuild images without starting them
antiflock downStop the local stack
antiflock cleanStop and remove local stack volumes

Flags: --dir <path> (checkout location, default ./antiflock), --ref <git-ref> (branch or tag to clone, default main).

Feature configuration

  • .antiflock/dev.env — generated secrets and node/application identifiers (permissions locked down automatically; regenerate by deleting the file and re-running init).
  • configs/demo.yaml and docker-compose.yml in the checkout — service ports, demo-mode flags, and the lab profile.
  • Full walkthrough: docs/operator-runbook.md.

Already have a checkout?

Run any command from inside it and the CLI uses that directory directly instead of cloning a new one — it's just a thin wrapper around node scripts/compose.mjs.

License

Apache-2.0, see LICENSE. AntiFl0ck is an independent open-source project; see TRADEMARKS.md.

Keywords

antiflock

FAQs

Package last updated on 03 Sep 2026

Related posts