Overview
Syllabus
intro
preamble
https://github.com/pixee/codemodder-python
there is a problem
security tools
we need to fix and harden codes
code + modification
codemodder philosophy
leverage open-source tools
process results from other tools
invoke open-source tools
codemods tell a story
how can i use it?
what does it do?
what can we fix?
replace unsafe pyyaml loader
use defusedxml for parsing xml
automatically close resources
parametrize sql queries
use generator expressions
codemodder architecture
codemod metadata
dependency management
let's write a codemod
codemod plugin template
make the easy things easy
make the hard things possible
looking ahead
we want your feedback!
pixeebot app
about pixee
Taught by
Conf42