A suspected script swap on a trading site turned a routine page dependency into a direct path for tampering with live positions and wallet funds.