That wire can ground a contact on the circuit board behind the light that triggers a function intended to allow the door to be opened with a remote button, bypassing all its security measures.
Kozmo's business plan was to function as a pathetic friend, ready to deliver movies or magazines or candy bars to your door in an hour with no delivery charge.