In the world of software development, few things are as dangerous as a forgotten API route. An endpoint that someone created on a Friday afternoon, without authentication, without documentation, and that quietly ended up in production. This is not a hypothetical scenario: it is the reality of shadow APIs, a phenomenon affecting companies of all sizes that, according to recent analyses, can generate critical vulnerabilities in a matter of hours. Recently, an open-source tool called shadowaudit demonstrated the magnitude of the problem by scanning the source code of Ghost CMS, a publishing platform used by outlets like 404Media and The Browser, and discovering no fewer than 269 API routes in its codebase. Of those, 34 were legitimately public (login, password reset, setup endpoints), but the rest required authentication. What is worrying is not the result itself, but how easily any developer can have dozens of orphaned routes in their own project.
The methodology of shadowaudit is simple yet powerful: static source code analysis that compares actual routes defined in routers (Express, FastAPI, Django, Flask) against an OpenAPI/Swagger specification file. If a route exists in the code but not in the spec, it is flagged as a 'shadow.' If it also lacks authentication middleware, the severity is critical. In the Ghost CMS case, after adjusting the auth detector to recognize custom middlewares like mw.authAdminApi, the scanner showed that 235 routes were correctly authenticated, with zero false positives. The system was secure, but the finding serves as a warning: without such tools, it is impossible to guarantee that there is no backdoor waiting to be exploited.
Now, how do these shadow APIs arise? Usually from agile development pressure: a developer needs to quickly test a feature, creates a temporary endpoint, tests it, and forgets to remove it. Or worse, it gets merged into a main branch without review. The problem worsens in large teams where code knowledge is fragmented. This is where the value of custom software development with security-by-design practices comes in. At Q2BSTUDIO, when we tackle custom projects, we integrate continuous review processes and security scanning into the CI/CD cycle, just like shadowaudit does: failing the pipeline if a critical unauthenticated route is detected. This not only prevents vulnerabilities but also saves on later remediation costs.
Cybersecurity cannot be an afterthought. Today, threats evolve faster than traditional defenses. That is why at Q2BSTUDIO we offer cybersecurity and pentesting services that include shadow API analysis as an integral part of audits. We combine static scanning techniques with dynamic penetration testing to discover hidden endpoints that could expose sensitive data. In addition, we work with AWS and Azure cloud infrastructures, where API security configuration is critical. A single poorly protected endpoint can compromise an entire microservice ecosystem.
Artificial intelligence also plays a role in early anomaly detection. AI tools can analyze traffic and code patterns to identify routes that deviate from the documented specification. At Q2BSTUDIO we are developing AI agents that automate security review in repositories, alerting about potential shadow APIs before they reach production. This is complemented by Business Intelligence (Power BI) solutions to visualize the security status of the code and prioritize fixes.
The shadowaudit case shows that you don't need a $70,000 investment in enterprise tools to start protecting your code. A free, well-configured scanner can find problems that would go unnoticed for months. This is especially relevant for startups and SMEs that manage their own web applications. If your project uses Express, FastAPI, Django or Flask, you can run npx shadowaudit --dir ./src --framework express and get a report in seconds. If you find a critical route, you'll know your codebase has a hole that needs an urgent patch.
But beyond the tool, the lesson is cultural: security must be in every commit. At Q2BSTUDIO, when we develop custom software for clients, we implement automatic guards: every pull request is scanned with tools like shadowaudit, SARIF reports are generated and shown in GitHub's security tab, and the pipeline fails if something critical is detected. This preventive approach prevents shadow APIs from turning into real security incidents.
If you haven't audited your routes yet, we recommend starting today. The cloud (AWS, Azure) adds layers of complexity: load balancers, API Gateways, serverless functions. Each can hide forgotten endpoints. Our team at Q2BSTUDIO helps companies migrate and secure their cloud architectures, integrating shadow API scanners into the process. The combination of cloud services on AWS and Azure with secure development practices is the recipe to avoid unpleasant surprises.
In conclusion, the 269 routes found in Ghost CMS are not an isolated case. They represent a sample of what might be happening in your own code right now. The good news is that free tools like shadowaudit, combined with the expertise of companies like Q2BSTUDIO in cybersecurity, artificial intelligence, BI, and custom development, allow you to detect and fix these vulnerabilities before they are exploited. Don't wait for an attacker to find your forgotten route. Act today.



