Security updates

Could someone on the next room review it, please?

@matzew :lipstick: