We have a policy for contributions related to security. Please refer to <a target="_blank" rel="noopener noreferrer" href="https://github.com/Chocobozzz/PeerTube/security">our security policy and advisories</a>.
You're right. PeerTube is not the perfect tool, far from it. And we never promised this software would include all the features corresponding to every use cases.