The long-term viability of councils’ trading standards services is under threat, potentially leaving consumers without important protection from rogue traders, scams and unsafe goods, says the Accounts Commission.