~/talk

Testing Python Security

Talkat PyConES 2018 · 2018-10-05..10-07· [security, python]
slides:none on file

Examples include concrete exploits: eval/exec and subprocess misuse lets attacker-import modules and run shell commands; pickle enables arbitrary code execution when loading untrusted data; simple string-built SQL queries lead to injection and remote command execution. Countermeasures shown are input whitelists, disabling builtins, sandboxing, using parameterized SQL and safer APIs, and automated scanning with Bandit plugin scanning which flags vulnerable string formatting and risky module use. Several demos reproduce exploits and mitigations reliably.

AI-written summary · about

  1. 0:00Start
  2. 5:04No globals
  3. 6:29Refuse access to the builtins
  4. 17:17Automatic Scanning tools
  5. 22:09CPython vulnerabilities
  6. 22:58Insecure packages
  7. 23:49Code optimization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.