99designs/gqlgen

Qodo AntiSlop scan found 22 issues across 10 recent PRs (16 confirmed on main)

Aperta

#4114 aperta il 4 apr 2026

 (1 commento) (0 reazioni) (0 assegnatari)Go (1250 fork)auto 404
help wanted

Metriche repository

Star
 (10.737 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Hey team,

A user recently scanned this repo using Qodo's AntiSlop Scanner. The analysis reviewed 10 recent PRs and found 22 issues, all confirmed to still exist on main.

Here's one example:

JSON null panics params (transports)

Severity: action_required | Category: security

In several transports, the body is decoded into a **graphql.RawParams (by passing &params) and then params is immediately dereferenced. A valid JSON body of null can set params to nil and cause a panic when assigning params.Headers/ReadTime (trivial DoS).

How to validate: Send a POST request with a JSON body of null to any transport endpoint and observe the nil pointer panic.

Agent prompt to fix:

In each transport's request handler, add a nil check after JSON decoding: if params is nil after decode, return a 400 error instead of dereferencing it. Check all transports (HTTP POST, multipart, GET, etc.) for the same pattern.


Other confirmed issues

# Title Category PR
1 Incremental deletes outputs before generation reliability #4042
2 No selective regeneration despite API claim correctness #4042
3 Build tags omitted from validation correctness #4071
4 Validation builds unrelated subpackages reliability #4071
5 Batch directive panic on nil/non-bool value reliability #4040
6 Batch cover drops errors silently correctness #4043
7 Batch profile drops errors silently correctness #4043
8 Breaking batch API change without migration maintainability #4087
9 IndexMap missing causes panic reliability #4087
10 Nil field dereference panic in error locations reliability #4090

11 additional findings (including suspected issues) are available in the full report.

Enjoy!

P.S. Qodo offers free tooling for open-source maintainers: https://www.qodo.ai/solutions/open-source/

cc @vektah @StevenACoffman @neelance @vvakame

Guida contributor