From aafa51eb0e2d2843bdd4f965e38b4bdeaf340edb Mon Sep 17 00:00:00 2001 From: Renn F Date: Fri, 9 Oct 2026 00:38:21 +0200 Subject: [PATCH 1/2] chore(meta): repoint metadata to the Guard-Core org Post-transfer metadata sweep per ORG-TRANSFER-RUNBOOK Part II Wave 1: workflows (upstream-drift checkout, greetings links, container-release GHCR image pinned to lowercase ghcr.io/guard-core), mkdocs repo fields, README/SECURITY/COC/FUNDING, issue-template links, docs and example pages, vendored SKILL.md links. Adds .github/CODEOWNERS (* @rennf93) so the master code-owner ruleset is enforced. Module paths, Go imports, require directives, and CHANGELOG history lines are deliberately unchanged: the canonical import path rename is a separate operator decision and old URLs keep resolving via GitHub redirects. --- .agents/skills/echo-guard/SKILL.md | 8 ++++---- .github/CODEOWNERS | 1 + .github/FUNDING.yml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 4 ++-- .github/workflows/container-release.yml | 2 +- .github/workflows/greetings.yml | 4 ++-- .github/workflows/upstream-drift.yml | 2 +- AGENTS.md | 10 +++++----- CLAUDE.md | 10 +++++----- CODE_OF_CONDUCT.md | 2 +- README.md | 4 ++-- SECURITY.md | 4 ++-- docs/configuration.md | 2 +- docs/index.md | 4 ++-- examples/advanced_app/README.md | 6 +++--- examples/advanced_app/internal/config/config.go | 2 +- examples/simple_app/README.md | 6 +++--- examples/simple_app/main.go | 2 +- mkdocs.yml | 4 ++-- 19 files changed, 40 insertions(+), 39 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.agents/skills/echo-guard/SKILL.md b/.agents/skills/echo-guard/SKILL.md index 7b63ae7..98200d3 100644 --- a/.agents/skills/echo-guard/SKILL.md +++ b/.agents/skills/echo-guard/SKILL.md @@ -5,7 +5,7 @@ description: Use when wiring guard-core-go security into a Go Echo service, or w # echo-guard -Echo middleware adapter for [guard-core-go](https://github.com/rennf93/guard-core-go). Translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses (status, headers, body, then stop the chain). Contains no security logic itself. Module: `github.com/rennf93/echo-guard`, Go `1.25.0`, released at `v1.1.0`. +Echo middleware adapter for [guard-core-go](https://github.com/Guard-Core/guard-core-go). Translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses (status, headers, body, then stop the chain). Contains no security logic itself. Module: `github.com/rennf93/echo-guard`, Go `1.25.0`, released at `v1.1.0`. ## Quick Reference @@ -111,6 +111,6 @@ func WithRouteID(ctx context.Context, routeID string) context.Context ## Related Projects -- [guard-core-go](https://github.com/rennf93/guard-core-go): the engine this adapter wraps. All detection, rate limiting, bans, configuration, and Redis integration live there; import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. -- [nethttp-guard](https://github.com/rennf93/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. -- [gin-guard](https://github.com/rennf93/gin-guard): the sibling Gin adapter with the same surface and behavior contract. +- [guard-core-go](https://github.com/Guard-Core/guard-core-go): the engine this adapter wraps. All detection, rate limiting, bans, configuration, and Redis integration live there; import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. +- [nethttp-guard](https://github.com/Guard-Core/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. +- [gin-guard](https://github.com/Guard-Core/gin-guard): the sibling Gin adapter with the same surface and behavior contract. diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f48d954 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @rennf93 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 8056266..46e7e32 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,6 @@ # These are supported funding model platforms -github: rennf93 +github: Guard-Core # patreon: # Replace with a single Patreon username # open_collective: # Replace with a single Open Collective username # ko_fi: # Replace with a single Ko-fi username diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 45d42ff..94a06a7 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,10 +1,10 @@ blank_issues_enabled: false contact_links: - name: Echo Guard Documentation - url: https://rennf93.github.io/echo-guard/ + url: https://guard-core.github.io/echo-guard/ about: Check the documentation for usage information and tutorials - name: Usage Questions - url: https://github.com/rennf93/echo-guard/discussions + url: https://github.com/Guard-Core/echo-guard/discussions about: Please ask and answer questions in GitHub Discussions - name: Discord url: https://discord.gg/ZW7ZJbjMkK diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index e58a463..04ddc92 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -56,7 +56,7 @@ jobs: - name: Tag and push to GHCR run: | - IMAGE="ghcr.io/${{ github.repository_owner }}/echo-guard-example" + IMAGE="ghcr.io/guard-core/echo-guard-example" docker tag echo-guard-advanced-app:local "${IMAGE}:latest" docker push "${IMAGE}:latest" diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 3c07e07..63bda64 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -25,7 +25,7 @@ jobs: - Redis configuration if relevant (the engine uses Redis for distributed bans, rate limiting, and cloud IP ranges) A few pointers: - - Scan [README.md](../blob/master/README.md) for usage guidance, and [guard-core-go](https://github.com/rennf93/guard-core-go) for engine behavior and configuration. + - Scan [README.md](../blob/master/README.md) for usage guidance, and [guard-core-go](https://github.com/Guard-Core/guard-core-go) for engine behavior and configuration. - **Security vulnerability?** Do **not** open a public issue - please use GitHub's private vulnerability reporting. Thanks again - a maintainer will be with you soon. @@ -40,7 +40,7 @@ jobs: - [ ] `go build ./...` compiles the adapter and the example apps - [ ] `govulncheck ./...` is clean - [ ] No `nolint` / unchecked-error shortcuts; pre-existing violations in touched files are fixed - - [ ] If you changed adapter behavior, it stays aligned with [gin-guard](https://github.com/rennf93/gin-guard) and [nethttp-guard](https://github.com/rennf93/nethttp-guard) and the README reflects it + - [ ] If you changed adapter behavior, it stays aligned with [gin-guard](https://github.com/Guard-Core/gin-guard) and [nethttp-guard](https://github.com/Guard-Core/nethttp-guard) and the README reflects it See [README.md](../blob/master/README.md) for the adapter contract and [AGENTS.md](../blob/master/AGENTS.md) for the boundary rules. diff --git a/.github/workflows/upstream-drift.yml b/.github/workflows/upstream-drift.yml index c221c72..f21d080 100644 --- a/.github/workflows/upstream-drift.yml +++ b/.github/workflows/upstream-drift.yml @@ -35,7 +35,7 @@ jobs: - name: Checkout guard-core-go@master uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: - repository: rennf93/guard-core-go + repository: Guard-Core/guard-core-go ref: master path: guard-core-go-upstream diff --git a/AGENTS.md b/AGENTS.md index b8250c1..2116234 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ Guidance for AI agents (including Claude Code) working in this repository. ## Project Overview -echo-guard is an Echo middleware adapter for [guard-core-go](https://github.com/rennf93/guard-core-go). It translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses. It contains NO security logic of its own. +echo-guard is an Echo middleware adapter for [guard-core-go](https://github.com/Guard-Core/guard-core-go). It translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses. It contains NO security logic of its own. - Module: `github.com/rennf93/echo-guard`, Go directive `go 1.25.0`, MIT license. - Single Go package `echo` at the repo root. Source files: `middleware.go`, `request.go`. Tests: `middleware_test.go`, `integration_test.go`. There are no subpackage directories. @@ -32,7 +32,7 @@ This repo is the ADAPTER layer of the guard-core ecosystem: ## Quick Start ```sh -git clone https://github.com/rennf93/echo-guard +git clone https://github.com/Guard-Core/echo-guard cd echo-guard go build ./... go test ./... @@ -164,6 +164,6 @@ CI runs the test job on a Go matrix of `1.25.x` and `1.26.x` (fail-fast disabled ## Related Projects -- [guard-core-go](https://github.com/rennf93/guard-core-go): the engine this adapter wraps. All security logic, configuration, verdicts, and Redis integration live there. Import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. -- [nethttp-guard](https://github.com/rennf93/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. -- [gin-guard](https://github.com/rennf93/gin-guard): the sibling Gin adapter with the same surface and behavior contract; keep the adapters behaviorally aligned. +- [guard-core-go](https://github.com/Guard-Core/guard-core-go): the engine this adapter wraps. All security logic, configuration, verdicts, and Redis integration live there. Import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. +- [nethttp-guard](https://github.com/Guard-Core/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. +- [gin-guard](https://github.com/Guard-Core/gin-guard): the sibling Gin adapter with the same surface and behavior contract; keep the adapters behaviorally aligned. diff --git a/CLAUDE.md b/CLAUDE.md index 9f83db0..f6df9f7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -3,7 +3,7 @@ Guidance for AI agents (including Claude Code) working in this repository. ## Project Overview -echo-guard is an Echo middleware adapter for [guard-core-go](https://github.com/rennf93/guard-core-go). It translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses. It contains NO security logic of its own. +echo-guard is an Echo middleware adapter for [guard-core-go](https://github.com/Guard-Core/guard-core-go). It translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses. It contains NO security logic of its own. - Module: `github.com/rennf93/echo-guard`, Go directive `go 1.25.0`, MIT license. - Single Go package `echo` at the repo root. Source files: `middleware.go`, `request.go`. Tests: `middleware_test.go`, `integration_test.go`. There are no subpackage directories. @@ -32,7 +32,7 @@ This repo is the ADAPTER layer of the guard-core ecosystem: ## Quick Start ```sh -git clone https://github.com/rennf93/echo-guard +git clone https://github.com/Guard-Core/echo-guard cd echo-guard go build ./... go test ./... @@ -145,6 +145,6 @@ CI runs the test job on a Go matrix of `1.25.x` and `1.26.x` (fail-fast disabled ## Related Projects -- [guard-core-go](https://github.com/rennf93/guard-core-go): the engine this adapter wraps. All security logic, configuration, verdicts, and Redis integration live there. Import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. -- [nethttp-guard](https://github.com/rennf93/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. -- [gin-guard](https://github.com/rennf93/gin-guard): the sibling Gin adapter with the same surface and behavior contract; keep the adapters behaviorally aligned. +- [guard-core-go](https://github.com/Guard-Core/guard-core-go): the engine this adapter wraps. All security logic, configuration, verdicts, and Redis integration live there. Import it as `guardcore "github.com/rennf93/guard-core-go/v4/guardcore"`. +- [nethttp-guard](https://github.com/Guard-Core/nethttp-guard): the sibling net/http adapter with the same surface and behavior contract. +- [gin-guard](https://github.com/Guard-Core/gin-guard): the sibling Gin adapter with the same surface and behavior contract; keep the adapters behaviorally aligned. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index a733ba2..4153dad 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -76,7 +76,7 @@ Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -@rennf93. +contact@guard-core.com. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/README.md b/README.md index 799e86a..a931d62 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # echo-guard -Echo middleware adapter for [guard-core-go](https://github.com/rennf93/guard-core-go). Translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses (status, headers, body, then stop the chain). Works with any `echo.Echo` or `echo.Group` chain via `e.Use`. +Echo middleware adapter for [guard-core-go](https://github.com/Guard-Core/guard-core-go). Translates `echo.Context` into the guardcore request surface, runs the engine, and translates verdicts to exact Echo responses (status, headers, body, then stop the chain). Works with any `echo.Echo` or `echo.Group` chain via `e.Use`. -Docs: +Docs: ## Install diff --git a/SECURITY.md b/SECURITY.md index 664865e..4863900 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,12 +16,12 @@ We take the security of Echo Guard seriously. If you believe you've found a secu 1. **Do not disclose the vulnerability publicly** until it has been addressed by the maintainers. 2. **Report the vulnerability through GitHub's security advisory feature**: - - Go to the [Security tab](https://github.com/rennf93/echo-guard/security/advisories) of the Echo Guard repository + - Go to the [Security tab](https://github.com/Guard-Core/echo-guard/security/advisories) of the Echo Guard repository - Click on "New draft security advisory" - Fill in the details of the vulnerability - Submit the advisory - Alternatively, you can report vulnerabilities through [GitHub's private vulnerability reporting feature](https://github.com/rennf93/echo-guard/security/advisories/new). + Alternatively, you can report vulnerabilities through [GitHub's private vulnerability reporting feature](https://github.com/Guard-Core/echo-guard/security/advisories/new). 3. Include the following information in your report: - A description of the vulnerability and its potential impact diff --git a/docs/configuration.md b/docs/configuration.md index 5c538a0..3b38ce1 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -2,7 +2,7 @@ The adapter has exactly two options (`WithMaxBodyBytes`, `WithLogger`); all security tuning is engine configuration. See the -[guard-core-go configuration reference](https://rennf93.github.io/guard-core-go/configuration/) +[guard-core-go configuration reference](https://guard-core.github.io/guard-core-go/configuration/) for the full `SecurityConfig` surface. ## Minimal tuned setup diff --git a/docs/index.md b/docs/index.md index d89dc3a..0d0e09a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,7 +1,7 @@ # echo-guard `echo-guard` is the official Echo adapter for -[guard-core-go](https://github.com/rennf93/guard-core-go), the Go port of the +[guard-core-go](https://github.com/Guard-Core/guard-core-go), the Go port of the guard-core security engine. It wraps any `echo.Echo` or `echo.Group` with the full engine pipeline: penetration detection, rate limiting, IP banning, and verdict responses. @@ -76,5 +76,5 @@ func main() { - Fail-closed: engine panics become `500` with a fixed, non-leaky message See [Configuration](configuration.md) for engine tuning and the -[examples](https://github.com/rennf93/echo-guard/tree/master/examples) for +[examples](https://github.com/Guard-Core/echo-guard/tree/master/examples) for runnable apps. diff --git a/examples/advanced_app/README.md b/examples/advanced_app/README.md index 6aeac5d..616606b 100644 --- a/examples/advanced_app/README.md +++ b/examples/advanced_app/README.md @@ -1,8 +1,8 @@ # echo-guard advanced example A production-style Echo service guarded by the -[echo-guard](https://github.com/rennf93/echo-guard) adapter over the -[guard-core-go](https://github.com/rennf93/guard-core-go) engine: multi-stage +[echo-guard](https://github.com/Guard-Core/echo-guard) adapter over the +[guard-core-go](https://github.com/Guard-Core/guard-core-go) engine: multi-stage Docker build, non-root runtime, Redis for shared bans and rate limits, the engine's route registry for per-route config, echo route groups, and admin routes that drive the ban manager. @@ -109,7 +109,7 @@ curl -s -X POST http://localhost:8080/admin/unban -H 'X-Admin-Token: admin-token `/admin/*`) - Cloud provider blocking (`BlockCloudProviders`, off by default) - `OnBlock` hook: the telemetry seam for - [guard-agent-go](https://github.com/rennf93/guard-agent-go) wiring + [guard-agent-go](https://github.com/Guard-Core/guard-agent-go) wiring (comment-level guidance in `internal/config/config.go`; `EnableAgent` is fail-closed in this port, so the hook is the integration point) diff --git a/examples/advanced_app/internal/config/config.go b/examples/advanced_app/internal/config/config.go index 7fcf99d..6df4925 100644 --- a/examples/advanced_app/internal/config/config.go +++ b/examples/advanced_app/internal/config/config.go @@ -84,7 +84,7 @@ func New() (*guardcore.SecurityConfig, error) { // Agent wiring (comment-level): guard-core-go's only telemetry seam // is OnBlock. The Go agent (guard-agent-go, - // https://github.com/rennf93/guard-agent-go) mirrors the Python + // https://github.com/Guard-Core/guard-agent-go) mirrors the Python // guard-agent's API: once its engine-event pipeline accepts these // payloads, replace the log line below with the agent client call // and set AGENT_ENDPOINT/AGENT_PROJECT_ID here. EnableAgent stays diff --git a/examples/simple_app/README.md b/examples/simple_app/README.md index 645fa35..21f3752 100644 --- a/examples/simple_app/README.md +++ b/examples/simple_app/README.md @@ -1,8 +1,8 @@ # echo-guard simple app A minimal guarded Echo server in a single `main.go`, wired to the -[guard-core-go](https://github.com/rennf93/guard-core-go) engine through the -[echo-guard](https://github.com/rennf93/echo-guard) adapter middleware. It +[guard-core-go](https://github.com/Guard-Core/guard-core-go) engine through the +[echo-guard](https://github.com/Guard-Core/echo-guard) adapter middleware. It shows the canonical wiring and what the adapter does for you: request translation, bounded body scanning with body replay, exact verdict translation (status, headers, body, then the chain stops), and fail-closed @@ -78,7 +78,7 @@ Inline comments in `main.go` walk through every knob used: - Redis via `REDIS_URL` / `REDIS_PREFIX` (compose wires Redis in; without it the managers fall back to in-process state) - The `OnBlock` hook: the telemetry seam for wiring - [guard-agent-go](https://github.com/rennf93/guard-agent-go) (comment-level + [guard-agent-go](https://github.com/Guard-Core/guard-agent-go) (comment-level guidance in `main.go`; agent integration is not implemented in the engine port yet, and `EnableAgent` fails config validation) diff --git a/examples/simple_app/main.go b/examples/simple_app/main.go index 49fc05e..644d912 100644 --- a/examples/simple_app/main.go +++ b/examples/simple_app/main.go @@ -82,7 +82,7 @@ func main() { // integration is not implemented in guard-core-go yet (setting // EnableAgent fails config validation), so wire the agent from // here: forward these payloads to guard-agent-go - // (https://github.com/rennf93/guard-agent-go) once its event + // (https://github.com/Guard-Core/guard-agent-go) once its event // pipeline accepts engine events. The payload carries check_name, // reason, trigger_info, passive_mode, client_ip, path, method, and // status_code. diff --git a/mkdocs.yml b/mkdocs.yml index f24de01..285d37e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,8 +1,8 @@ site_name: echo-guard site_description: guard-core-go security middleware for Echo site_author: Renn F -repo_url: https://github.com/rennf93/echo-guard -repo_name: rennf93/echo-guard +repo_url: https://github.com/Guard-Core/echo-guard +repo_name: Guard-Core/echo-guard theme: name: material From 7141f029c570513ee22695da6a2f6058729cc623 Mon Sep 17 00:00:00 2001 From: Renn F Date: Fri, 9 Oct 2026 00:47:21 +0200 Subject: [PATCH 2/2] chore(meta): re-fire checks after no-issue label