Force square image crop during upload?

Your assumption that all images are uploaded from a browser is false. Currently images can be uploaded via the XML-RPC protocol and once the REST API will be merged it will also be used to upload images.

Images can also be imported from other sites.

The point is that you should not assume that images are fitting the design. If you need images to look the best they can then you want not the cropped version but the full one and then let a pro designer to work on then to crop and fix them.

error code: 523