An agency trusted to help arrange funding for billion-dollar public infrastructure could not see what was buried in its own homepage. RNZ found 41 hidden links in the code of the National Infrastructure Funding and Financing company (NIFF) website, many pointing to casino and slot machine sites. About 90 minutes after RNZ raised the alarm, a NIFF spokesperson said the situation was “under control and has been resolved”.
Quick clean-up, yes. But the speed of the fix matters far less than how long the problem sat there.
Three months of free advertising for betting sites
The links were invisible to anyone reading the page. They existed only in the underlying code, where their audience was Google’s crawler. A government domain carries enormous search authority, and every link from it tells Google the destination is credible. That is the whole scam.
Archived copies of the NIFF site from 4 September and October this year contain the links, while an 11 August snapshot does not, RNZ reported. That puts the compromise somewhere between mid-August and early September, and means a Crown entity involved in plans for Auckland’s harbour crossing was boosting offshore gambling rankings for close to three months.
NIFF’s explanation is that the breach happened on its external host’s server, not its own systems. “NIFF’s website is hosted by an external provider, and the issue appears to have occurred on that provider’s server, potentially affecting other sites it hosts,” the agency said, adding that its internal systems passed a clean security audit the week before.
That may well be true. It is also beside the point. The public does not see a hosting contract. It sees a government logo sitting on top of casino links.
This is an industry, not a prank
Parasite SEO is organised, commercial and global. In 2025, a CSOonline investigation detailed a platform called Hacklink that trades access to compromised high-reputation sites, including .gov and .edu domains. Andrew Sebborn, then an analyst at Netcraft, described it as “part black market, part control panel”, selling access to real hacked websites alongside tools to modify them. The activity centred on online gambling and escort sites.
Government sites are prime targets for an obvious reason. Researcher Greg Pollock says attackers go after them “because those are trusted sites” that Google ranks highly. He calls the technique “parasite SEO”, a way to exploit vulnerable websites to push attackers’ own sites into search results.
The UK shows how far it can spread. Digital consultancy Digital Royalty found 93 hidden links across 79 pages on websites of 26 public bodies, many routed through defunct Local Enterprise Partnership domains repurposed for casino content, some aimed at people trying to dodge the GamStop self-exclusion scheme. Founder Alex De Sousa said the slow response, 31 months after the partnerships wound up, had “crossed into inefficient and dangerous”.
NIFF also lands in an ugly run of local incidents. The Defence Force pulled its websites offline in November after its provider reported unauthorised access, RNZ and Allied Media disclosed breaches, and MFAT was reported hit this week.
Why the money flows to trusted domains
Offshore operators use this tactic because blunter controls do not work against them. Back in 2024, an InternetNZ brief concluded that blocking overseas gambling sites was technically possible but largely ineffective and increasingly hard to sustain. If you cannot be blocked, you can still borrow someone else’s reputation to get found.
The stakes are not trivial. In 2025, a Ministry of Health study put the social cost of gambling harm at $4.219 billion for 2023/24, with offshore online gambling carrying a disproportionate share. A companion study that year found children were exposed to gambling content online 1.3 times per hour on average.
Your provider’s server is your problem
For business owners, the NIFF case is a direct warning. Your domain’s search authority is a commercial asset built over years, and it can be quietly rented out to strangers without a single visible change to your site. Outsourcing hosting does not outsource accountability. Customers, regulators and journalists will not separate “our systems” from “our provider’s systems”.
The fixes are unglamorous. In 2025, J Stephen Kowski, then at SlashNext, urged organisations to watch for odd shifts in search rankings and check their backlinks for anything suspicious. Add to that periodic reviews of raw page code, an audit of old microsites and lapsed domains, and contracts that require hosts to disclose incidents affecting shared servers.
NIFF has promised full answers once its investigation ends. The question worth pressing is which other sites share that provider’s server, and whether any of them have looked yet. If a Crown infrastructure agency needed a reporter to spot the problem, most private businesses are not checking at all.
Sources
- RNZ: Hidden gambling links scrubbed from government website after RNZ raises alarm (2026-12-03)
- CSOonline: Phishing goes prime time – hackers use trusted sites to hijack search rankings (2025-06-17)
- Federal News Network: A surprising source is helping uncover compromised government websites (2026-08-21)
- The Register: Stale links on UK public sector websites direct visitors to gambling dens (2026-11-26)
- InternetNZ: The Limits of Internet Blocking – a technical and policy brief on overseas gambling sites (2024-09)
Join the discussion
Add useful context, ask a good question, or challenge an idea — keep it specific and respectful.