npm / convict
convict
What changed in convict 5 to 6, from its official release notes, upgrade guides and advisories. Also covers @types/convict. Sources checked 2026-10-27.
2 breaking6 security1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initconvict 67 changes
Security 6
Convict has prototype pollution via load(), loadFile(), and schema initialization
Convict has Prototype Pollution via startsWith() function
Prevents prototype pollution via load().
Prevents prototype pollution via loadFile().
Prevents prototype pollution via schema initialization.
Prevents a prototype pollution bypass involving an override of String.prototype.startsWith.
Fixes and other changes 1
Output now uses quotes consistently.
convict 52 changes
Breaking changes 2
Node.js versions below 6 are no longer supported due to dependency requirements.
The long-deprecated strict option was dropped and replaced by the allowed option.