How to remove a leaked password from a Confluence page and its history

By Jake Marsh · Updated

To remove a leaked password from Confluence, take it out of the current page, then delete every earlier version that still contains it from the page's Version history, because editing the page leaves the old text in older versions. With Spillproof, click Redact on the finding to replace the value with [redacted <type>], delete the old versions, and click Rotated once the password or key is changed at its source. Rotating is the step that matters most: anyone who saw the page, a notification email or an export may already have it.

Steps

  1. Find every copy. Run Scan Confluence from the Scans tab in Confluence settings > Spillproof. The same password is often on more than one page or comment, and the Findings tab shows each place and how many times it appears.
  2. Restrict the page if it needs to stay up for a while. Click Restrict page on the finding. View and edit are limited to you and the page author until you remove the restriction from the page's lock icon.
  3. Click Redact. The value in the current page or comment becomes [redacted <type>], saved as you, so you need permission to edit the page.
  4. Delete the old versions. Open the page, choose Version history from its menu, and delete each version that contains the value. Atlassian notes that deleted versions can't be restored, so check you're removing the right ones.
  5. Rotate the secret. Change the password, or revoke the key and issue a new one, in the system it belongs to.
  6. Close the finding. Click Rotated. If you edited the page by hand instead of using Redact, Spillproof closes the finding by itself when the value is gone from the page.

What redacting does and doesn't cover

PlaceAfter Redact
The current page or blog postThe value is replaced
The comment it was inThe value is replaced
Earlier page versionsStill hold the value until you delete those versions
Notification emails already sentUnchanged; they're in people's inboxes
Exports and copies people madeUnchanged
Jira issuesJira keeps old text in the History tab, which can't be edited, so rotation is the only fix

When to restrict instead of redact

Restrict first when the page needs a closer look before anything is changed, for example a page full of credentials where you want the owner to move them to a password manager, or a customer record you need to check against a ticket. Restricting changes who can see the page; it doesn't touch the text.

Stopping it next time

Spillproof checks every page, blog post and comment within seconds of being saved, so the next paste shows up on the Findings tab the same day instead of months later. Turn on Weekly digest under Notifications and access to get a masked summary of new and open findings, and add your security team as Reviewers so they can work the list without being Confluence admins.

For a wider sweep of a site, finding passwords and API keys in Confluence walks through the first scan and the secret detectors.

What it costs

Spillproof is $5 a month for up to 10 users or $50 a year, and $1.75 per user a month from 11 users, with lower rates on larger sites. Atlassian bills it, with a 30-day free trial, and one subscription covers Confluence and Jira. Install it from the Spillproof page.

Spillproof: PII and Secret Scanner for Confluence and Jira

Find passwords, API keys, card numbers and ID numbers in Confluence and Jira. Checksum-verified, masked, nothing leaves Atlassian. From $5 a month for up to 10 users.


Questions

Who can delete a page version in Confluence?

The delete option appears only for people with permission to delete on that page. If you don't see it, ask a space admin.

Does Spillproof delete old page versions itself?

No. It replaces the value in the current text only. Deleting versions is done from the page's Version history.

Do I still need to rotate a key if I deleted every version?

Yes. Notification emails, exports and anyone who opened the page could already have the value.

What if the password was a fake one in an example?

Click Not sensitive. Spillproof stops reporting that exact value anywhere, and you can undo it under Ignored values.


More Spillproof guides


More Confluence guides