Updated by Colm Phelan
Brand Director
The Beehive and Parliament House in Wellington. A government infrastructure funding agency has removed hidden gambling links from its website. (Photo: Daderot / Wikimedia Commons)
A New Zealand government agency has removed dozens of hidden gambling links from its website after RNZ raised the alarm over a possible security breach. The National Infrastructure Funding and Financing company (NIFF) said the situation was resolved about 90 minutes after being contacted by the broadcaster on 3 December 2026.
According to the RNZ report, RNZ found 41 unrelated links buried on the NIFF homepage, many of them leading to casino or slot machine websites. The links sat in the page’s code rather than in visible text, so visitors to the site would not have seen them.
RNZ reported that the placement was likely designed to make the gambling sites look more credible to Google and push them higher in search results. A link from an official government page can carry weight with search engines, which is why compromised public-sector sites are an attractive target for this kind of tactic.
Archived copies of the NIFF website show when the links were there. They appear in a version saved on 4 September and in two copies from October. An earlier version, saved on 11 August, does not contain them. That suggests the links were added some time after mid-August.
The situation is under control and has been resolved.
A NIFF spokesperson gave that response to RNZ about 90 minutes after the broadcaster flagged the links. NIFF told RNZ it was still investigating the potential breach, and said it would answer the broadcaster’s questions in full once that investigation is complete.
NIFF said its website is hosted by an external provider and that the problem appears to have happened on that provider’s server, potentially affecting other sites the provider hosts. The agency said it is working with the provider to establish where and how it happened, and what protections will be put in place.
The agency said the issue related only to its externally hosted website. It added that its internal systems had passed a clean security audit just the week before. NIFF helps arrange funding for major public projects, and is involved in plans for Auckland’s harbour crossing.
RNZ noted that a similar case was reported in Malaysia in October, when gambling links were found hidden on the website of the country’s national language agency. The discovery also follows a run of recent cyber incidents in New Zealand.
Those include the Defence Force taking its websites offline last month after its provider reported unauthorised access. RNZ also disclosed a potential breach of its own systems on 25 November, a day after an attack on Allied Media disrupted newspaper production.
The National Cyber Security Centre said it had received almost 1,700 incident reports between July and September, its highest quarterly total in two years. That gives the NIFF case some context: it is one of many incidents rather than an isolated one.
The episode lands as New Zealand tightens its approach to online gambling. Casinos.com has reported that the DIA told unlicensed online casinos to prepare to leave the country by 1 December, and that ten online casinos can stay as the exit deadline arrives.
RNZ has also covered how offshore casinos were offering NZ influencers thousands of dollars to advertise illegally. For readers, the practical point is that how gambling sites get promoted, and who is behind them, is drawing growing scrutiny. NIFF’s full answers are still to come.

Colm Phelan has spent several years working in the iGaming industry and has plenty of experience when it comes to writing, researching and rigorously testing online casinos and sportsbooks. While Colm has invested a lot of his time into the digital marketing world but his other passions include poker and a variety of sports including golf, NFL and football.
Read Full Bio
