Database scan
Tools → Database scan reads supported WordPress options, posts, post metadata and comments. It looks for suspicious scripts, redirects, spam links, changed site addresses and other content signatures. It also offers authorized disconnected database/prefix targets, clearly marked as not connected to a website. External websites are not local database targets.
Live WordPress installations are checked automatically each server day, independently of VirusTotal quota. Manual scans count for that day; failed checks are retried. Disconnected databases remain manual. Opening the overview does not itself start a content scan.
Run a check
- Search for the website or customer, then select a category such as Infected, Suspicious, Review, Clean, Stored only or Approved.
- Use the site’s Scan control, or the category dropdown’s Scan all / Rescan action. Category counts and bulk actions follow the search.
- Follow the slim progress line in the site row or open Scan Monitor. Work runs serially; Stop ends the remaining queue.
- Expand the findings and use the record search above the table to narrow the results.
Read the evidence before deciding
Each finding identifies the database, table, field and record ID, with a bounded preview, matched signals, status and available timestamps. Live WordPress records may offer Edit in WordPress and View on site links. Long location details are truncated for readability; the record identifiers remain available.
- Confirmed online means the scanner observed matching content on the public pages it checked.
- Not observed means it did not find a match on those checked pages, not that every possible URL is safe.
- Stored only / Not normally public describes stored or internal content without confirmed public exposure. Review context; it is not an automatic reason to delete it.
- Moderation/publication status distinguishes online, waiting for approval, spam, trashed and unpublished content where available.
- Approved records a reviewed exception for that exact content. New or changed findings can flag the site again.
- Search for the domain, open its saved findings and search the records for a repeated spam phrase or host.
- Check the source type, comment status, record ID and preview. An ordinary page mentioning a medicine or a security alert is not necessarily spam.
- Select individual records or use Select all for the matching eligible records. Selection and bulk controls are available above and below the table.
- Use Approve for verified harmless findings, or TRASH for selected unwanted comments/supported replies.
- Rescan after cleanup, and purge the website’s page cache if public output still shows removed content.
Scanner approval is not WordPress comment approval. It does not publish a comment, change moderation status or edit its text. TRASH changes the actual WordPress record and runs immediately, with a private backup first.
Saved Amstelglorie spam-reply findings used for review documentation. This is a selected saved-report example, not a new scan or a guarantee of current public exposure.
What the action buttons change
| Record | Action and consequence |
| Comment or supported forum reply | TRASH moves it to WordPress Trash. Bulk Trash supports selected comments/replies; already-trashed records are excluded. |
| Post or page | TRASH moves the whole item, not just the highlighted text. Regular posts/pages do not have bulk Trash. |
| Post metadata | TRASH targets the parent post/page. Legitimate content attached to that parent can also disappear. |
| WordPress option/setting | DELETE removes the whole setting. Settings have no Trash; plugin/theme configuration or layout may change. Protected core settings are refused; no bulk option deletion is offered. |
Cleanup is only offered for eligible saved findings in the primary live installation. The helper rechecks database, prefix, current content and status, uses WP-CLI as the site user and writes private backups under /var/lib/stingyscan/ before changing content. The homepage, posts index, pages with published children and protected configuration have additional safeguards. These checks do not make every content removal harmless: incoming links and site layout can still change.
Restore trashed content in WordPress before its configured Trash expiry. Option recovery needs server-administrator assistance from the private backup. Partial failures report what changed; do not assume an entire bulk operation succeeded.
Scope, exclusions and incomplete results
The scanner streams eligible rows without a fixed total-row cap, but uses time/query limits, a 64 KiB inspection bound per field and a capped displayed finding list. “Long values truncated” means the scan inspected only the bounded beginning of those values; it does not mean cleanup damaged them. An incomplete or limited result is not a complete clean bill.
Transients, revisions/auto-drafts, trashed content and known sent-mail/log archives are excluded where supported. Dedicated WAF/plugin log tables are outside the content-table allowlist. Security settings and ordinary pages are still reviewed. Local same-site links and simple encoded email addresses receive special handling, but complex scripts still need review.
The Allow encoded email links setting recognises supported decimal String.fromCharCode email/mailto patterns without executing JavaScript. It is not a general whitelist for arbitrary scripts.
Disconnected scans stay within the authorized prefix and do not visit the old stored address or offer WordPress approval/cleanup controls. For detailed limits and recovery behaviour, see the database review guide.