GoBuildWP
Free13 abilities

Security integrity ability reference

Reference for the GoBuildWP Free 1.22.1 source. Installed schemas and policy remain authoritative.

This Security integrity ability reference lists every call GoBuildWP Free registers for Security integrity, with the exact slug an agent sends and what the plugin's own contract says it does. Of the 13, 11 read, 0 write and 2 are marked destructive in the source.

Read-only, write and destructive groups describe the source annotations. They do not establish a minimum safety profile, human approval or undo support. Those controls are separate: check the installed ability, the connected user and the active site policy before calling it. A read can still return sensitive data. These pages are not evidence that every operation passed an end-to-end runtime test.

What Security integrity needs before these load

Security integrity ships inside GoBuildWP Free 1.22.1, so none of its 13 calls waits on a licence. Whether a connected agent sees a given call still depends on the site's safety profile and the capabilities of the user behind the credential.

Security integrity reads

AbilityWhat it does
gobuildwp/db-security-scan-cancelCancel Database Security ScanStops a database security scan by job_id and returns its job. Results found so far stay readable. Cancelling a finished scan changes nothing. Read-only for the site: it only stops the scan.
gobuildwp/db-security-scan-resultsDatabase Security Scan ResultsLists a database security scan's results, 200 per page from cursor (default 0); next_cursor is null on the last page. Each result has an area, a rule_id (for example users.new_admin, options.script_tag, config.file_edit_enabled), a severity_hint, the entity (table, id and a label: a user login, option name, post id, role, hook or setting name) and detail (registered, count or reason). Values, email addresses and password hashes are never returned. Read-only.
gobuildwp/db-security-scan-startStart Database Security ScanStarts a background security scan of the site's database and configuration and returns its job. mode light checks administrator accounts (new, common or generated-looking logins, application password counts), role tampering, site address settings, open registration with a privileged default role, and configuration (file editor, debug display, XML-RPC, wp-config.php permissions, PHP end of life, SSL for admin, automatic updates). mode full (the default) adds options, posts and widgets with injected scripts, hidden iframes or obfuscated code, and scheduled events. Only one database scan runs at a time: if one is open it is returned with reused=true, and an incomplete scan with the same mode is resumed. Read-only: nothing on the site is changed. Follow with db-security-scan-status, then db-security-scan-results.
gobuildwp/db-security-scan-statusDatabase Security Scan StatusReports a database security scan by job_id: state (queued, running, done, incomplete, failed, cancelled), phase and progress, rows checked, coverage per area (users, roles, urls, options, posts, cron, app_passwords, settings, config) and the number of results. With advance=true (the default) it first runs one budgeted step of the scan when no other request is running it, so a scan finishes even where WP-Cron does not run; poll every few seconds until the state is done, incomplete, failed or cancelled. Read-only.
gobuildwp/integrity-quick-checkQuick File Checksum CheckCompares WordPress core files (with the checksums api.wordpress.org publishes for this version) and WordPress.org plugins (with the checksums downloads.wordpress.org publishes for the installed version) with the files on disk, in this request. Per component: status (ok, changed, no_checksums, not_wporg or unfinished), files checked, and the files modified or missing (first 50 of each; the counts are complete). scope is all, core or plugins; plugin limits it to one plugin folder. When complete is false, call again with cursor set to next_cursor. It does not look for added files, uploads, themes or suspicious code: integrity-scan-start does that. Read-only; nothing is stored or changed.
gobuildwp/integrity-scan-cancelCancel File Integrity ScanStops a file integrity scan by job_id and returns its job. Results found so far stay readable. Cancelling a finished scan changes nothing. Read-only for the site: it only stops the scan.
gobuildwp/integrity-scan-resultsFile Integrity Scan ResultsLists a file integrity scan's results, 200 per page from cursor (default 0); next_cursor is null on the last page. Each result has a path relative to the WordPress folder, an area, a result (mismatch, missing, unexpected, php_in_uploads, suspicious, unreadable, too_large, symlink_skipped, no_checksum, baseline), a rule_id, a severity_hint, the component (core, plugin or theme with slug and version) and detail (line, size, sha256, mtime or reason). File contents are never returned. Read-only.
gobuildwp/integrity-scan-startStart File Integrity ScanStarts a background scan of the site's files and returns its job: core files compared with WordPress.org checksums, WordPress.org plugins compared with their published checksums, WordPress.org themes compared with the files of their WordPress.org download, PHP files that core, a plugin or a theme does not ship, PHP files and PHP handler settings in uploads, and suspicious-code indicators in the files flagged. scope limits it to core, plugins, themes or uploads (default all). baseline=true also records sha256, size and modified time of the PHP files of themes and plugins without published checksums. deep=true also reads every PHP and JavaScript file without published checksums (premium and custom plugins and themes, must-use plugins, drop-ins and other PHP files in wp-content) with the suspicious-code rules. Only one file scan runs at a time: if one is open it is returned with reused=true, and an incomplete scan with the same scope is resumed. Read-only: nothing on the site is changed. Follow with integrity-scan-status, then integrity-scan-results.
gobuildwp/integrity-scan-statusFile Integrity Scan StatusReports a file integrity scan by job_id: state (queued, running, done, incomplete, failed, cancelled), phase and progress, files checked and skipped, coverage per area (core, plugins, themes, uploads, suspicious, deep; themes also count the themes compared and those without checksums) and the number of results. With advance=true (the default) it first runs one budgeted step of the scan when no other request is running it, so a scan finishes even where WP-Cron does not run; poll every few seconds until the state is done, incomplete, failed or cancelled. An incomplete scan stopped at its time limit; start the same scan again to continue it. Read-only.
gobuildwp/security-fix-listList Security FixesLists security fixes made on this site, newest first: fix_id, action, target, state (applied or undone), when, and the reason given. Read-only.
gobuildwp/wporg-status-checkClosed or Abandoned PluginsChecks the installed plugins and themes against WordPress.org: closed (WordPress.org removed it, with the date and the reason it gives, for example a security issue; WordPress still shows a closed plugin as up to date, but it gets no more fixes), abandoned (no release in over 730 days), ok, or unknown (not on WordPress.org, a premium or custom component, or WordPress.org could not be read; unknown is never "fine"). Per component: type, slug, name, version, active, status, closed_date, reason, reason_text, last_updated, source (update_check, slug or none) and a note. Answers are cached for 20 hours. At most 50 components per call; pass next_cursor back as cursor for the rest. Read-only.

Destructive Security integrity calls

AbilityWhat it does
gobuildwp/security-fix-applyApply Security FixesFixes what a security scan reported, 1 to 25 items per call, each undoable with security-fix-undo. Actions: quarantine_file (target = file path relative to the WordPress folder; the file is moved into a protected quarantine folder, never deleted; WordPress core files, wp-config.php and files WordPress needs to run are refused), repair_core_file (target = core file path; replaced with the official WordPress.org copy for this version after its checksum is verified; a missing core file is restored), demote_user (target = user id; an administrator becomes a subscriber and is signed out everywhere; the last administrator and the calling account are refused), unpublish_post (target = post id; set to draft), repair_plugin_file (target = file path inside a WordPress.org plugin, wp-content/plugins/{folder}/...; replaced with the official copy for the installed version after its sha256 is checked against the WordPress.org list; a missing listed file is restored), clean_file (target = path of an infected non-core file; a WordPress.org plugin or theme file is replaced with the official copy, otherwise injected PHP lines and blocks are cut out and the rest must parse and scan clean; a file that was only the injection is quarantined; detail.mode is replaced_official, stripped (with lines_removed) or quarantined; refused with cannot_isolate when the injection cannot be separated), clean_option (target = option name; script and iframe elements are stripped from its value, or the option is deleted when it holds a code-eval or base64 decoder payload; core settings and options belonging to this plugin are refused), remove_cron (target = scheduled hook name; its events whose arguments carry a URL on another site are removed, or all its events when nothing handles the hook), clean_post (target = post id; the script and iframe elements the database scan flags are removed from its content). Each item is applied or refused on its own and the result says which, with a fix_id for every applied one. Destructive: needs confirm=true.
gobuildwp/security-fix-undoUndo Security FixesReverses fixes made by security-fix-apply, 1 to 25 fix_ids per call: a quarantined file goes back where it was (only if its stored copy is unchanged), a repaired core file gets its previous content back, a demoted user gets their previous roles, an unpublished post its previous status. Each fix_id is undone or refused on its own. Destructive: needs confirm=true.