Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
AI 自主渗透测试平台 · 多智能体自主渗透测试(二次开发自 ARTEX)
Saved setup from just now
Will it work on macOS?
Heads-upBuilding it yourself? It also needs PostgreSQL and 10 settings in .env (3 secret).
The maintainers included install.sh. Run it from the cloned folder after reading it.
bash install.sh
Also: start.sh
CONTRIBUTING.md欢迎贡献代码、文档、翻译与问题反馈。
前置:Go 1.24+、Node.js 20+、PostgreSQL、Python 3(报告渲染,需 python-docx)。
# 1. 前端静态导出 → 内嵌
cd web && NEXT_EXPORT=1 npx next build && cd ..
rm -rf server/webui/dist && mkdir -p server/webui/dist && cp -r web/out/. server/webui/dist/
# 2. 内置 skill 库 → 内嵌(排除 report-generation,由 Go 生成)
rm -rf server/skillsdist && mkdir -p server/skillsdist && cp -r skills/. server/skillsdist/ && rm -rf server/skillsdist/report-generation
# 3. 编译单二进制(前端 + skill 内嵌)
CGO_ENABLED=0 go build -tags embedui -o antifox ./cmd/antifox
# 4. 运行(数据库连接用环境变量;dataDir 用持久目录)
export ANTIFOX_PG_DSN="postgres://antifox:antifox@localhost:5432/antifox?sslmode=disable"
./antifox -addr :8787 -data ~/antifox-data
打开 http://localhost:8787 ,首次进入 /setup 设置管理员密码。
数据库 schema 每次启动幂等自建/迁移,改 db/schema.sql 重启即生效。
scripts/check-i18n-keys.mjs 对账三语键。main 建分支。go build ./...)。本项目采用 AGPL-3.0。提交贡献即表示你同意你的贡献以相同协议授权。
Contributions of code, docs, translations, and issue reports are welcome.
Requirements: Go 1.24+, Node.js 20+, PostgreSQL, Python 3 (report rendering, needs python-docx).
# 1. Frontend static export → embed
cd web && NEXT_EXPORT=1 npx next build && cd ..
rm -rf server/webui/dist && mkdir -p server/webui/dist && cp -r web/out/. server/webui/dist/
# 2. Built-in skills → embed (report-generation excluded, generated by Go)
rm -rf server/skillsdist && mkdir -p server/skillsdist && cp -r skills/. server/skillsdist/ && rm -rf server/skillsdist/report-generation
# 3. Build the single binary (frontend + skills embedded)
CGO_ENABLED=0 go build -tags embedui -o antifox ./cmd/antifox
# 4. Run (database via env var; use a persistent dataDir)
export ANTIFOX_PG_DSN="postgres://antifox:antifox@localhost:5432/antifox?sslmode=disable"
./antifox -addr :8787 -data ~/antifox-data
Open http://localhost:8787 ; on first run go to /setup to set the admin password.
The database schema is created/migrated idempotently on each start — edit db/schema.sql and restart.
scripts/check-i18n-keys.mjs to reconcile the trilingual keys.main.go build ./...).This project is licensed under AGPL-3.0. By contributing, you agree that your contributions are licensed under the same terms.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install
git clone https://github.com/neshpat/antifox.git cd antifox
Go 1.26.3
brew install go
Fill in secrets: POSTGRES_PASSWORD, ANTHROPIC_API_KEY, OPENAI_API_KEY
cp .env.example .env
Needs: PostgreSQL
brew install --cask docker # Docker Desktop docker compose -f docker-compose.yml up -d
go mod download
go run ./cmd/antifox
go test ./...
No reports for macOS yet.
GitManual AI Agent reads the 7 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.