EPITHRE.
← Research Curation & quality

When official websites are hijacked

Ask an AI assistant how to apply to an Indonesian university, and a good answer will cite the university itself. Official websites publish exactly what such an answer needs: requirements, fees, schedules, announcements. A surprising number of them also carry online gambling spam that their owners never put there.

This note describes what we found when we looked, why the obvious fix is the wrong one, and how Ison Search handles these sites instead.

What we found

In October 2026, while checking which Indonesian institutions were missing from the Ison Search index, we read the homepages of about 2,500 government, university and school websites, the domains ending in .go.id, .ac.id and .sch.id. The list came from public registries and directories of known institutions, so it is not a random sample of the Indonesian web, and we looked only at homepages.

At least 74 of those sites, about 3%, had been compromised. In 27, the homepage itself had been turned into an advertisement for online gambling, down to the page title. In at least 47 more, the site was still the genuine institution, with its real news, services and documents, but somewhere on the page sat a block of gambling links or promotional text that the institution did not write.

These are conservative figures. They count only cases confirmed by reading the page in full. Our automated checks flagged roughly a hundred more homepages whose content looked compromised behind an intact title, and those are not counted here. Campus and academic journal websites made up most of the confirmed cases. The rest were other government and public service sites.

How the injection hides

The injected material is not written for the people who visit these sites. It is written for search engines. The pages pick up links and keywords meant to push gambling sites up in search results, borrowing the trust that an official domain carries.

A visitor often sees nothing unusual. The text may sit below the footer, inside elements hidden from view, or on pages few people open, such as archive listings. The site keeps working, news keeps getting posted, and the people who run it may not know anything is wrong.

A crawler reads all of it. So does any AI system that grounds its answers on what a crawler collected.

Why blocking the domain is the wrong fix

The simple response would be to treat every compromised domain as spam and drop it. That keeps the gambling text out. It also throws away the service procedures, the public notices, the schedules, the journal articles and the campus announcements that make these sites worth reading in the first place.

For many of these institutions there is no other online source for that information. Blocking the domain punishes the victim and leaves a gap in exactly the kind of local, official knowledge an Indonesian search index exists to provide.

Letting the whole site in unchanged is not acceptable either. An answer about an admission procedure should never quote a paragraph about slot machines.

Judging pages, not domains

Ison Search makes the decision one page at a time. Every page entering the index is assessed for whether its content is the institution's own or injected promotion. A page that is mostly injected material is removed, and its address is set aside so it is not fetched again for a long time. The rest of the site stays.

The assessment is made by a model that judges what the page is about, not by matching a list of words. Word lists fail in both directions here. They flag a news report about a crackdown on online gambling, which is legitimate and useful, and they miss promotion written to avoid the obvious terms.

Action against a whole domain is reserved for cases where the homepage itself has been taken over. It is taken only after the homepage is checked again, and institutional sites are checked periodically afterwards, so a site that has been cleaned up can return to the index.

A trial with eleven public websites

Before applying this approach widely, we let our crawler collect eleven public institution websites known to carry injected gambling content, and a day later we read what had reached the index.

Of 179 indexed pages read in full, 177 carried no injected text, and most of them were exactly what the index is for: public records, official notices, service procedures, information for the public and institutional news. The page check had already removed the injected homepages of two sites and two injected pages from a third.

Two pages with injected text had slipped through. Both were archive listings, pages that gather many posts under one heading, where a large block of gambling articles had been inserted below a short or even empty list. We removed both by hand. They show where the check needs to be stricter.

The trial is still running, and other affected sites will be handled the same way only if the results hold.

What this does not do

We do not publish the names of affected sites. Their owners are victims, and a list of compromised official domains is mostly useful to the people who compromised them.

Our figures describe one snapshot, and injected content comes and goes. Some sites we counted may have been cleaned since. Others may have been compromised after we looked.

Only a site's owner can clean the site. What a search index can do is make sure the damage does not travel further, into search results and into the answers an AI system gives. Ison Search is introduced in Introducing Ison Search, and the principles behind its curation are in Curating the Indonesian web for AI.

Questions about this work are welcome at research@epithre.com.