WikiLeaks founder Julian Assange was denied bail on Wednesday by a British judge who said there was a risk he might flee justice.