Stable diffusion does run a filter on the output in its default configuration. Any image it deems 'unsafe' gets replaced with a picture of Rick Astley.
The thing about that is that it is open source, so you can trivially disable that filter if you like.