Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.08 KB

SECURITY.md

File metadata and controls

26 lines (19 loc) · 1.08 KB

Security policy

This describes how security issues will be addressed and how they can be reported.

🔪 Attack surfaces

Typed-dfs will mostly share security issues with Pandas. Serialization and IO are the major attack surface. In particular, avoid using Pickle along with XLSM, XLTX, XLTM, XLS, and XLSB files (which support macros).

💪 Hardening

You can disable reading and writing these formats with .secure() in the builders. For example: TypedDfs.typed("MyDf").secure().build(). These files can be added with .write_file(df, file_hash=True) and verified with .read_file(path, check_hash="file"). .secure() will also disable sha-1 and md5 as choices for sha1sum-style file hashes, and reading from http://. You can still read directly from buffers.

📫 How to report

Please report security problems with the security issue template. If there is a remarkably significant vulnerability, please exclude details and request contact information in the issue.