Well, looks like I must now maintain my resident cred.
Sarawak particularly saw them more negatively than most as time wore on, and this was because of the "Hue" rebellion of 1857, when around 600 Chinese miners belonging to a secret society staged an uprising with aims to capture Kuching and kill the White Rajah. Why they rebelled is still unknown and sources are murky, but the most astounding was that
they very nearly succeeded. James Brooke had to swim across the river to safely as his bungalow burned, and the few surviving Europeans in the town were quickly rounded up - well, those whom the Chinese didn't manage to kill in the initial attack. I dimly remember reading somewhere that James was even considering to pawn Sarawak off as he fled on a boat!
But news of the attack traveled fast and in just 48 hours, James' nephew Charles Brooke arrived to Kuching from the Sakarran river basin on the head of a nearly 10,000 strong expeditionary force of armed Malays and Dayaks. One source noted how only 60 of the 600 Chinese miners managed to escape to Dutch Sambas once the fighting is over - presumably to the more established kongsi societies and Lanfang. After this, Sarawak had a really negative view of secret societies and tried to uproot them throughout the 19th century.Though again, that didn't stop them from taxing opium imports that flowed to the mining regions, which indicated
some sort of social organization was still afoot.