Repository navigation
v0.8.0 - Depth
The "Depth" release: tRPC procedures, request data followed through fields, constructors, callbacks, and injected providers, fastify-cli projects as @fastify/autoload loads them, secrets that Git history still holds, gates that a good average cannot hide, and fixes you apply from the editor.
npx @sabahattink/codediag@0.8.0 scan .Highlights
- tRPC: procedures are followed from
initTRPCthrough.use()chains, exported builders such asprotectedProcedure, and nested or merged routers across files. New warnings:missing-trpc-auth-middleware,unvalidated-trpc-input,trpc-stack-trace-exposed. The checks run inside whichever server hosts tRPC, so T3 App Router projects get a real API Health score. Procedureinputcounts as request data for the security rules, even after.input(schema). - Deeper taint: request data is followed into fields a class stores it in, through constructors, into
map/forEach/reduce/thencallbacks andfor...of, and to NestJS providers behind an interface or@Inject()token. Findings stay on the sink line with unchanged fingerprints. - Fastify autoload:
fastify-cliprojects get directory prefixes,autoPrefix, and autohooks the way@fastify/autoloadapplies them, instead of false missing-auth warnings. - Secrets in Git history (opt-in):
--secret-historyreports credentials that a commit added and a later one deleted. Secrets are compared by digest and never printed. - Gates:
--fail-on criticalfails on any active critical finding whatever the score;--package-threshold 70gates every monorepo package on its own score. Both work in the GitHub Action (fail-on,package-threshold). - VS Code 0.6.0: remediation quick fixes for disabled TLS verification, ignored JWT expiration, and the JWT
nonealgorithm.
Fixes
- NestJS
@Param()/@Query()/@Body()/@Headers()parameters now make shell command and SQL findings critical; parameters behind a parsing pipe (ParseIntPipe, ...) are not request data. - Action annotation messages no longer show commas and colons as
%2Cand%3A. - The JSON schema accepts combined workspace reports with Hono packages.
See the changelog for details and known limitations.