Description
Versions of `graphql-code-generator` prior to 0.18.2 have an Insecure Default Configuration. The packages sets `NODE_TLS_REJECT_UNAUTHORIZED` to 0, disabling certificate verification for the entire project. This results in Insecure Communication for the process.
## Recommendation
Upgrade to version 0.18.2 or later.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | graphql-code-generator | < 0.18.2 | 0.18.2 | GHSA-9w87-4j72-gcv7 |