Security warnings.

- [x] Add tests
- [x] Limit to one warning