Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sabahattinkv0.13.0MITIn 1 marketplace
Find API routes anyone can call, with no auth check or input validation, in Next.js, SvelteKit, React Router/Remix, Express, Fastify, Hono, Elysia, NestJS, and tRPC projects. Adds the CodeDiag skill and MCP server.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
api-security, authentication, static-analysis, nextjs, sveltekit, react-router, express, nestjs ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Which of your API routes can anyone call?
Auth and validation coverage for Next.js, SvelteKit, React Router, Express,
Fastify, Hono, Elysia, NestJS, and tRPC, plus security, dependency, test,
and structure checks. One command, no account, runs offline.
npx @sabahattink/codediag scan .
That's it. Configuration is optional, no account or server is required, and
--no-audit keeps the scan fully offline.
Or install globally — this also puts the codediag command on your PATH,
which every other example below assumes:
npm install -g @sabahattink/codediag
Package name note: published as
@sabahattink/codediagwhile ownership of the legacycodediagname on npm is transferred. The CLI binary is stillcodediagafter install. A migration announcement will follow if/when the unscoped name becomes available again.
codediag auto-detects your stack and runs 5 analyzers. Every finding has a stable rule ID (rule reference), a severity, a location when one exists, and a suggested fix.
NestJS · Express · Fastify · Hono · Elysia · Next.js · SvelteKit · React Router · tRPCAST analysis (ts-morph, not regex) of the routes your app actually exposes.
useGlobalGuards,
APP_GUARD), custom UseGuards-based decorators, and @Public()-style
opt-outs; DTO classes for request bodies (not any, Record, or
interfaces) and whether a ValidationPipe enforces them; Swagger docs and
return types.express(), Router(), and typed
parameters; auth and validation middleware on routes, earlier
router.use() calls, and app.use(path, mw, router) mounts across files;
centralized error handling and health endpoints.fastify.get() and fastify.route(), followed
through register()-ed plugins, fastify-plugin encapsulation, and
@fastify/autoload directories (directory prefixes, autoPrefix, and
autohooks, as fastify-cli projects use them);
onRequest/preHandler auth hooks on the route or its context, body
schemas on mutating routes, setErrorHandler, and health endpoints.new Hono() apps, basePath(), and sub-apps mounted
with app.route() across files, replayed in registration order; auth
middleware (jwt(), bearerAuth(), basicAuth(), or your own) on the
route or an earlier matching app.use(); zValidator and other body
validators; onError; and health endpoints.new Elysia() instances, prefix, group(), and
plugins mounted with use() across files, functional plugins included,
replayed in registration order with Elysia's hook scope: a plugin's hooks
reach the instance that uses it only when they are scoped or global
({ as: 'scoped' }, .as('scoped')). Auth from onBeforeHandle(), a
derive() or resolve() that rejects with 401, guard(), auth macros
such as better-auth's { auth: true }, onRequest(), or a check in the
handler; when a route misses an auth hook that exists, the finding says
whether the hook stayed local to its plugin or came after the route. Body
schemas (TypeBox, Zod, or another Standard Schema) in the route options or
a guard(); onError; and health endpoints.proxy.ts in Next.js 16) protects a
route only if it turns an anonymous request to that path away: its
matcher, pathname checks, next-auth, Clerk's protect(), Auth.js
authorized callbacks, and helpers it returns, such as Supabase's
updateSession(), are evaluated for each route.+server endpoints and form actions, with route ids from
src/routes; auth in the handle hook (through sequence() and path orBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub sabahattink/codediag --plugin codediagPlugins from other owners that cover similar ground