murphyqm / pytesimal

Model the conductive cooling of small planetary bodies with temperature-dependent material properties
MIT License
1 stars 0 forks source link

Using pickles in test suite #29

Closed murphyqm closed 3 years ago

murphyqm commented 3 years ago

Need to look at saving test suite data in another format as pickles can be a security issue

murphyqm commented 3 years ago
murphyqm commented 3 years ago

"Unpickling can run arbitrary code, and using pickle to transfer data between programs or store data between sessions is a security hole. JSON does not introduce a security hole and is standardized, so the data can be accessed by programs in different languages if you ever need to."