Encyclopedia
Go⚠ HIGHphantom⚠ ACTIVE THREAT
gin-jwt-middleware
First seen: Oct 28, 2026 52 viewsMimics: github.com/appleboy/gin-jwt
Threat Description
A JWT middleware under a borrowed organisation namespace. Token validation is correct, which is exactly what makes it survive review; it also caches raw `Authorization` headers and exfiltrates them inside a header on a recurring health request every 30 seconds. `go mod graph` shows a dependency on a zero-star HTTP helper committed the same day the module appeared.
AI Hallucination Analysis
Very Likely AI Hallucination93%
Known to be hallucinated by: ChatGPT, Copilot
Remediation Guide
- Remove the module and re-run `go mod tidy` against the genuine module path.
- Revoke every token that passed through the affected service.
- Verify module namespaces by hand before `go get` — `go.sum` only proves transit integrity, not authorship.
Related Horror Stories
Quick Facts
- Ecosystem
- Go
- Risk Level
- HIGH
- Type
- phantom
- Status
- ACTIVE
- Legitimate Package
- github.com/appleboy/gin-jwt
- Hallucination Confidence
- 93%
Check My Project
Scan for this package