Security
Review capability checks, nonces, sanitization, escaping, file safety, and no external API design.
Vacuum is designed for WordPress.org-style review expectations.
Admin action safety
- Admin actions should require appropriate capabilities.
- Mutating actions use nonces.
- Settings are sanitized before storage.
- UI output is escaped.
- File paths are normalized before use.
File safety
The plugin skips SVG and animated GIF files, avoids direct processing of unsupported formats, creates backups before source-changing operations, and deletes generated derivatives only when they are known plugin outputs.
External services
Vacuum does not send images to an external optimization API. Processing happens on the WordPress server.
1.2.2 checks
Media Library actions verify that the current user can edit the specific attachment. Restore paths must resolve inside Vacuum's owned backup directory, and image inputs are checked against their physical MIME type. Generated derivative files are removed only when they are registered plugin outputs.