Answer: incidental beneficiary
Explanation:
An incidental beneficiary refers to an individual who isn't a party to a contract but later becomes a third party beneficiary who is unintended to the contract.
It should be noted that the incidental beneficiary has no rights that are enforceable under the contract. With regards to the question, Jim suffered losses as a result, but he had no rights in the contract because he was an incidental beneficiary.