Skip to content

WordPress Malware Research Entry

hexagoncontrail-js External Script Injection in WordPress HTML

WordPress visitors report redirects, pop-ups, or browser warnings? See evidence of an injected external script whose remote behavior was not retained.

Reviewed: July 22, 2026
Artifact class External JavaScript injection
Evidence confidence High
Risk assessment High

Start with the problem you are seeing

Could this match the problem on your WordPress site?

This research is useful when a page contains an unfamiliar third-party script and visitors report unexpected browser behavior. The retained evidence confirms the script reference, while the response served by that external host was not captured.

Observed in this investigation

  • An analyst notice and retained markup identified an external JavaScript reference on the investigated site.

Possible warning signs

  • Visitors may report redirects, pop-ups, or security warnings if the remote script serves harmful behavior.
  • The page may appear normal when the external host is inactive or responds differently.

These signs are investigation leads, not proof of this artifact by themselves.

Questions this research can help answer

  • Why does my WordPress site load JavaScript from an unfamiliar domain?
  • Could an injected script explain intermittent redirects or browser warnings?

Evidence boundary: The external response was not retained, so the exact visitor-side behavior cannot be confirmed from this evidence alone.

Seeing one of these signs on your site?

I can investigate the files, database records, users, and server evidence, explain what is confirmed, and help plan a safe cleanup.

Research focus: Evidence-led analysis of a hexagoncontrail-js script tag that loaded a defanged external resource in a drive-by incident.

Summary

This WordPress malware research entry documents external javascript injection evidence observed during one anonymized client investigation. The narrow topic is hexagoncontrail-js External Script Injection in WordPress HTML: the page records the exact artifact, identifiers, and visible control flow instead of repeating a general malware-removal article.

Loading untrusted third-party JavaScript gives that resource execution context in the visitor’s browser. The retained evidence does not show whether it redirected visitors, collected data, or loaded another stage.

Investigation context

Anonymized drive-by investigation with a third-party incident notice, rendered source evidence, and a supplied script tag. The report date is retained from the original investigation notes. Broader cleanup guidance remains in the WordPress malware removal guide; this entry is limited to what the supplied code and screenshots support.

Observed artifact

The external script tag was identified during the incident.

Incident notice identifying the hexagoncontrail-js external script element
The notice records the hexagoncontrail-js element and its external source. The affected client URL is irreversibly obscured; the image does not show the remote script's contents.

Confirmed findings

  • The supplied HTML contains a script element with ID hexagoncontrail-js.
  • Its src points to simplecopseholding[.]com using a unique path.
  • An incident notice independently records the same element and source.

Technical analysis

Why the script ID is the best detection pivot

The following code keeps the identifiers and control flow needed for defensive verification while removing secrets, complete payloads, and operational request instructions.

Redacted defensive excerpt

<script
  id="hexagoncontrail-js"
  src="hxxps://simplecopseholding[.]com/[redacted-path]"
></script>

This excerpt is intentionally incomplete. It should be used for code search, baseline comparison, and incident review—not copied into a live site.

Analyst assessment

Loading untrusted third-party JavaScript gives that resource execution context in the visitor’s browser. The retained evidence does not show whether it redirected visitors, collected data, or loaded another stage.

The severity reflects the capability visible in this artifact and its position in the investigated WordPress environment. It is not a claim about campaign prevalence, a particular vulnerability, or an outcome that the retained evidence does not show.

Indicators of compromise

Higher-confidence indicators

  • hexagoncontrail-js
  • simplecopseholding[.]com
  • The script ID and domain appearing together

Contextual indicators

  • External script tag
  • dns-prefetch resource hint
  • Rendered page source

Contextual indicators are not proof of infection by themselves. Confirm them through trusted-file comparison, neighboring code, database provenance, request logs, or the distinctive combinations listed above.

What this evidence does not establish

  • The remote JavaScript response was not retained.
  • The repository does not establish how the tag was injected.
  • The separate obfuscated PHP sample was supplied in the same draft, but a direct operational relationship was not confirmed.
  • The excluded screenshots contained identifiable client and contact information.

Artifact-specific remediation

  • Preserve the rendered source and relevant database/file evidence.
  • Remove the injection from its confirmed storage location once found.
  • Search files and database records for the script ID and defanged domain.
  • Review access and change history to identify the write path if logs permit.

For a complete response sequence, use the broader malware-removal guide or the WordPress malware-removal service when hands-on incident response is appropriate.

Recurrence verification

  • Recheck rendered HTML for the script ID from clean browser sessions.
  • Search the database and filesystem after scheduled tasks run.
  • Confirm the external resource hint and script element do not return.

Browse the WordPress malware research hub.

Methodology and privacy note

This analysis is based on retained code, screenshots, paths, and notes from an anonymized WordPress client investigation. Confirmed findings are limited to visible or supplied evidence; professional interpretation is labeled as analyst assessment. Screenshots were reviewed for client identifiers, account paths, usernames, email addresses, credentials, tokens, database details, and unrelated records. Sensitive or operational material remains outside the public page, and every public code block is a redacted defensive excerpt.