Not related to this PR, but.. pretty sure that we can make the node crash by providing an out-of-bounds input prevout index.
e.g.
0diff --git a/test/functional/wallet_sendall.py b/test/functional/wallet_sendall.py
1--- a/test/functional/wallet_sendall.py (revision d442101d85e1f89b072145345ea0bcf60d6ceacc)
2+++ b/test/functional/wallet_sendall.py (date 1666283169723)
3@@ -294,6 +294,7 @@
4 else:
5 watchonly.importmulti(import_req)
6
7+ utxo["vout"] = 10
8 sendall_tx_receipt = watchonly.sendall(recipients=[self.remainder_target], options={"inputs": [utxo]})
9 psbt = sendall_tx_receipt["psbt"]
10 decoded = self.nodes[0].decodepsbt(psbt)