Poking about under the drivers-side undertray I found this. It's the parking brake switch and associated wiring. There's not a lot of slack and it's been trapped under the adjusting steering column.
Actually, I just checked the circuit diagrams. Brown goes to ground, and thus the other is not live feed to switch it's a ground feed from switch to the front SAM when the switch is closed. (There will likely be a small pull-up resistor in the SAM so that the input is pulled up to 12v (at almost no current) until the switch is closed so the SAM can detect it.
This means it is not dangerous, but its still bad. I was surprised the wire wasn't much longer and routed behind dash and dropping down by the switch.
How did you notice ? Was some light (presumably foot-brake light) not coming on when you expected it ?