Codemod Registry
Explore community-led codemods to migrate, optimize, and transform your codebase.
Ready to contribute?
Build your own codemod and share it with the community.
Explore community-led codemods to migrate, optimize, and transform your codebase.
Build your own codemod and share it with the community.
Explore community-led codemods to migrate, optimize, and transform your codebase.
Updates MySQL connection configurations to use environment variables instead of hardcoded passwords
Replaces deprecated Node.js crypto functions like crypto.createHash('md5') with secure alternatives
Transform fetch() calls to explicitly set credentials: 'same-origin' instead of 'include' to prevent CSRF vulnerabilities
Handle DEP0093 via transforming `crypto.fips` to `crypto.getFips()` and `crypto.setFips()`
Automatically enable CSRF prevention in Apollo GraphQL Server v3 by setting csrfPrevention: true in server configuration
Transform Express.js res.send() calls that concatenate user input directly into HTML to use proper HTML escaping to prevent XSS vulnerabilities
Transform Express.js static middleware configurations to explicitly disable directory listing
Transform Koa.js applications using koa-body or koa-bodyparser without size limits to include proper limits
Transform express-session configuration to include secure: true, httpOnly: true, and sameSite settings
Automatically adds security-critical httpOnly and sameSite attributes to cookie configurations in Hono applications to prevent XSS and CSRF attacks
Make the controller to only call the service
Migrate bun catalog to pnpm workspace catalogs format
Build your own codemod and share it with the community.