Title: Attic — Safe Database Audit
Author: Bishal Shrestha
Published: <strong>31 Օգոստոսի, 2026</strong>
Last modified: 31 Օգոստոսի, 2026

---

Search plugins

![](https://ps.w.org/attic-safe-database-audit/assets/banner-772x250.png?rev=3673275)

![](https://ps.w.org/attic-safe-database-audit/assets/icon-256x256.png?rev=3673275)

# Attic — Safe Database Audit

 By [Bishal Shrestha](https://profiles.wordpress.org/rainynewt/)

[Download](https://downloads.wordpress.org/plugin/attic-safe-database-audit.1.0.0.zip)

 * [Details](https://hy.wordpress.org/plugins/attic-safe-database-audit/#description)
 * [Reviews](https://hy.wordpress.org/plugins/attic-safe-database-audit/#reviews)
 *  [Installation](https://hy.wordpress.org/plugins/attic-safe-database-audit/#installation)
 * [Development](https://hy.wordpress.org/plugins/attic-safe-database-audit/#developers)

 [Support](https://wordpress.org/support/plugin/attic-safe-database-audit/)

## Description

Uninstalled and misbehaving plugins leave behind lingering database bloat — autoloaded
options, ghost cron events, stranded transients, orphaned tables. Traditional cleanup
tools reach for aggressive drop/delete queries that risk breaking your site.

Attic audits your WordPress database for bloat, without any of that:

 * **Autoloaded option bloat** — oversized options that load on every page request,
   ranked by size against Site Health’s 800 KB line.
 * **Ghost cron events** — scheduled hooks with no registered callback, firing forever
   and doing nothing.
 * **Orphaned tables** — tables no installed plugin claims, with reclaimable megabytes
   up front.
 * **Stranded transients** — expired timeout pairs and orphaned rows.
 * **Leftovers from deleted plugins** — data whose owning plugin is absent from 
   disk entirely.

Two rules outrank every feature:

 1. **Quarantine, never delete.** Options are stored before removal. Tables are renamed(`
    wp_attic_quarantined_*`), never dropped until a purge window passes.
 2. **Nothing is called orphaned until your code has been searched for it.** Attic 
    streams `wp-content` — plugins, mu-plugins, themes, `wp-config.php` — looking for
    every candidate name before promoting anything to high confidence.

Every finding shows its full evidence inline: which rule fired, what it attributed
to and whether that plugin exists on disk, how many code references were found, 
and the size. A finding you cannot audit is a finding you should not act on.

### Filters

 * `attic_protected_options` — additional never-flag option names
 * `attic_protected_cron_hooks` / `attic_protected_tables` — same, for cron and 
   tables
 * `attic_finding_confidence` — last word on any single finding’s confidence
 * `attic_reference_scan_roots` — unusual layouts, custom content dirs

## Installation

 1. Upload the `attic` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Navigate to **Tools  Attic** to run your first audit.

## FAQ

### Is this safe?

The scan is read-only. Nothing changes until you take an explicit, confirmed action.
Core options like `siteurl`, `active_plugins` and `cron` can never be flagged, and
neither can anything on your own protected list or the `attic_protected_options`
filter.

### How do I undo something?

Tools  Attic  Quarantine. Every action creates a batch; restore a whole batch in
one click. Batches auto-purge after 30 days (configurable).

### Why does my finding say «review» instead of «high»?

High confidence requires: the owning plugin absent from disk (or size-flagged _and_
unread), AND zero literal AND zero prefix references in your code. Dynamic option
names never literal-match, so weak signals still demote findings. If your filesystem
could not be read, everything is marked unverified rather than guessed at.

### Does it work with external object caches?

Yes — when Redis/Memcached is active, transients never touch the options table, 
and Attic says so instead of showing a meaningless clean bill of health.

### Multisite?

Single-site and subdirectory multisite installs work. Network-wide fleet scanning
is planned.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Attic — Safe Database Audit” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Bishal Shrestha ](https://profiles.wordpress.org/rainynewt/)

[Translate “Attic — Safe Database Audit” into your language.](https://translate.wordpress.org/projects/wp-plugins/attic-safe-database-audit)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/attic-safe-database-audit/),
check out the [SVN repository](https://plugins.svn.wordpress.org/attic-safe-database-audit/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/attic-safe-database-audit/)
by [RSS](https://plugins.trac.wordpress.org/log/attic-safe-database-audit/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial plugin release: read-only database audit with quarantine-based undo, 
   five detection rules, budgeted scan engine, reference scanning, quarantine with
   batch restore, and attribution map.

## Meta

 *  Version **1.0.0**
 *  Last updated **12 ժամ ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1**
 *  PHP version ** 8.1 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/attic-safe-database-audit/)
 * Tags
 * [audit](https://hy.wordpress.org/plugins/tags/audit/)[cleanup](https://hy.wordpress.org/plugins/tags/cleanup/)
   [database](https://hy.wordpress.org/plugins/tags/database/)[optimization](https://hy.wordpress.org/plugins/tags/optimization/)
   [performance](https://hy.wordpress.org/plugins/tags/performance/)
 *  [Advanced View](https://hy.wordpress.org/plugins/attic-safe-database-audit/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/attic-safe-database-audit/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/attic-safe-database-audit/reviews/)

## Contributors

 *   [ Bishal Shrestha ](https://profiles.wordpress.org/rainynewt/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/attic-safe-database-audit/)