https://github.com/code-423n4/2023-11-panoptic/blob/aa86461c9d6e60ef75ed5a1fe36a748b952c8666/contracts/tokens/ERC1155Minimal.sol#L174
As we can see in the developers comment above, owners and ids must be of equal length. However, the equality of these parameters is not checked at all in the code.
According to the EIP-1155 standard, these parameters are not strictly required to be equal for the balanceOfBatch function (Different than the safeBatchTransferFrom where all inputs MUST be equal length).
As you can see here, it is checked in Solady implementation.
Consider adding a check similar to Soladys implementation:
