Skip to content

WordPress Malware Research Entry

wpinfo-pst1 Obfuscated Redirect Stored in post_content

Found an unfamiliar external script in a WordPress database record? This entry examines a wpinfo-style injection linked to redirect concerns.

Reviewed: July 22, 2026
Artifact class Database-stored packed redirect script
Evidence confidence High
Risk assessment High

Start with the problem you are seeing

Could this match the problem on your WordPress site?

This entry is relevant when owners see intermittent redirects or discover an external script stored in page or database content. The retained record confirms the injected script reference; it does not preserve what the external server returned.

Observed in this investigation

  • The investigation retained a database-stored script reference to an unfamiliar external host.

Possible warning signs

  • Visitors may encounter redirects or other changing browser behavior if the external script supplies it.
  • The page may look normal when the external host is unavailable or responds selectively.

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

Questions this research can help answer

  • Why is an unfamiliar script stored in my WordPress database?
  • Could a database-injected script explain redirects that do not happen every time?

Evidence boundary: The external script reference is confirmed; its response and resulting runtime behavior were not retained.

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: Forensic analysis of a wpinfo-pst1 packed JavaScript block stored in WordPress post content and writing an external script element.

Summary

This WordPress malware research entry documents database-stored packed redirect script evidence observed during one anonymized client investigation. The narrow topic is wpinfo-pst1 Obfuscated Redirect Stored in post_content: the page records the exact artifact, identifiers, and visible control flow instead of repeating a general malware-removal article.

The artifact is consistent with a database-stored redirect or traffic-monetization loader. The incomplete destination string and absent browser trace prevent a stronger visitor-outcome claim.

Investigation context

Anonymized investigation with two database screenshots and a supplied packed JavaScript sample; one directly relevant image is published. 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 wpinfo-pst1 script was stored in post_content.

Database post_content cell containing the wpinfo-pst1 packed JavaScript block
The post_content field visibly contains wpinfo-pst1 and a packed eval wrapper. The image confirms storage in a post record, not the remote script's resulting behavior.

Confirmed findings

  • The database screenshot shows wpinfo-pst1 in post_content.
  • The script uses a packed eval(function(p,a,c,k,e,d)…) form.
  • The decoded token list visibly includes document, write, script, src, navigator, and referrer.
  • The supplied string constructs an external script source.

Technical analysis

Why wpinfo-pst1 is a useful database search key

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="wpinfo-pst1">
  eval(function (p, a, c, k, e, d) {
    /* packed body redacted */
  });
</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

The artifact is consistent with a database-stored redirect or traffic-monetization loader. The incomplete destination string and absent browser trace prevent a stronger visitor-outcome claim.

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

  • wpinfo-pst1
  • Packed token list containing document|javascript|write|script
  • The identifier inside post_content

Contextual indicators

  • eval(function(p,a,c,k,e,d)
  • document.write()
  • post_content
  • External IP-based URL

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 script response was not retained.
  • The evidence does not identify the database write path.
  • The second screenshot belongs to a different widget_block artifact and is not treated as the same chain.
  • No campaign size or affected version was established.

Artifact-specific remediation

  • Export the affected row and table before editing.
  • Remove the script from confirmed records and search revisions, widgets, and options separately.
  • Search the database for wpinfo-pst1 and distinctive packed tokens.
  • Investigate the write path through logs and administrator activity if available.

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

  • Repeat the database search after scheduled events and content edits.
  • Confirm rendered pages no longer contain wpinfo-pst1.
  • Monitor affected records for unexpected modification.

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.