Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
BINARY := aisoc-extension
MODULE := github.com/beenuar/aisoc/osquery-extensions
GOFLAGS := -trimpath -ldflags "-s -w"
PLATFORMS := linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64
# ─── default target ──────────────────────────────────────────────────────────
.PHONY: build
build:
go build $(GOFLAGS) -o dist/$(BINARY) .
# ─── run unit tests ──────────────────────────────────────────────────────────
.PHONY: test
test:
go test -race -count=1 ./...
# ─── cross-platform release builds ───────────────────────────────────────────
.PHONY: release
release:
@mkdir -p dist
$(foreach PLATFORM,$(PLATFORMS), \
$(eval GOOS := $(word 1,$(subst /, ,$(PLATFORM)))) \
$(eval GOARCH := $(word 2,$(subst /, ,$(PLATFORM)))) \
$(eval SUFFIX := $(if $(filter windows,$(GOOS)),.exe,)) \
$(eval OUT := dist/$(BINARY)-$(GOOS)-$(GOARCH)$(SUFFIX)) \
GOOS=$(GOOS) GOARCH=$(GOARCH) go build $(GOFLAGS) -o $(OUT) . ; \
)
# ─── tidy / lint ─────────────────────────────────────────────────────────────
.PHONY: tidy vet
tidy:
go mod tidy
vet:
go vet ./...
# ─── clean ───────────────────────────────────────────────────────────────────
.PHONY: clean
clean:
rm -rf dist/