A developer on Reddit describes an authentication flaw in their FastAPI backend: protection for admin routes depended on whether the RENDER environment variable set by Render was present. On other hosting platforms, the routes could reportedly be accessed without an admin token.
After switching to an explicit ENVIRONMENT check, ten tests failed because they had previously accepted unprotected routes. The developer found the same Render dependency in two other places, including HSTS and conversation-history isolation.
Source: Reddit post in r/LLMDevs