Skip to content

Use the canonical account name, not a redirect - #39

Merged
repsecure merged 1 commit into
mainfrom
agent/3.2-canonical-account
Aug 5, 2026
Merged

Use the canonical account name, not a redirect#39
repsecure merged 1 commit into
mainfrom
agent/3.2-canonical-account

Conversation

@repsecure

Copy link
Copy Markdown
Owner

The account was renamed and the old username now returns 404, meaning it is registrable by anyone. GitHub frees a renamed username immediately; the redirect dies the moment someone claims it.

Two of these were live risks, not cosmetics.

verifier/go.mod declared the module as github.com/<old>/agentwall/verifier. Go resolves a module path by fetching that URL, so once the old name is claimed, go get on the verifier returns a stranger's code. That is a supply-chain hijack of the one component built specifically to be independently trustworthy.

package.json carried the old scope. npm Trusted Publishing matches the GitHub OIDC token's repository claim, which always carries the canonical owner, so a publisher configured against the old name fails with an auth error that reads like a bad credential rather than a wrong name.

Suite 333, build clean, go test ok, workflow pins intact.

The account was renamed and the old name is now UNCLAIMED, not a permanent
alias. GitHub frees a renamed username immediately, so every redirect dies the
moment anyone registers it.

Two of these were live risks rather than cosmetics:

verifier/go.mod declared the module as github.com/<old>/agentwall/verifier. A
Go module path is resolved by fetching that URL, so once the name is claimed by
someone else, `go get` on the verifier silently returns a stranger's code. That
is a supply-chain hijack of the one component whose entire purpose is being
independently trustworthy.

package.json carried the old scope, and npm Trusted Publishing matches the
GitHub OIDC token's repository claim, which always carries the canonical owner.
A publisher configured against the old name fails with an authentication error
that reads like a bad credential rather than a wrong name.

Suite 333, build clean, go test ok, workflow pins intact.

Signed-off-by: reesebuilt <[email protected]>
@repsecure
repsecure merged commit c61eca2 into main Aug 5, 2026
10 checks passed
@repsecure
repsecure deleted the agent/3.2-canonical-account branch August 5, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant