Secret Trail

com.maccrab.forensics.secret-trail0.2.1

Find copies of a leaked token in config files, AI chats and shell history.

What it does

It finds GitHub classic tokens and AWS secret keys in the files, AI chats, shell histories and logs you select, and lists every exact copy with the value hidden. An AWS key is recognized only where a line names it as one.

What it reads

  • Explicitly selected current-user UTF-8 project/config files
  • Explicitly selected saved AI conversation files
  • Explicitly selected shell history files
  • Explicitly selected text logs

As declared in its signed entry. The list does not limit what an unsandboxed plugin can read.

What you’ll see

An example record from the plugin’s test fixtures, not from its signed entry. Type secret_trail.summary.

2 credential candidate(s); 2 found in multiple files. Coverage is incomplete.

Credential countcredentialCount
2
Escaped occurrence countescapedOccurrenceCount
2
Files readfilesRead
6
Incomplete coverageincompleteCoverage
true
Occurrence countoccurrenceCount
8
Repeated credential countrepeatedCredentialCount
2
Full record
{"contentType": "secret_trail.summary","summary": "2 credential candidate(s); 2 found in multiple files. Coverage is incomplete.","data": {"credentialCount": 2,"escapedOccurrenceCount": 2,"filesRead": 6,"incompleteCoverage": true,"occurrenceCount": 8,"privacy": "No source snippets or candidate values, prefixes, suffixes or hashes are exported. Paths are relative to the selected home and candidate values in paths are redacted. Treat location metadata as sensitive.","repeatedCredentialCount": 2,"reviewFirstCount": 2,"scope": "Selected UTF-8 files, with one layer of ASCII JSON string escape normalization in json/jsonl/ndjson files. GitHub classic tokens and labelled AWS secret keys; no credential validity check. A zero result is not a clean bill of health.","selectedSources": 5,"sourceScope": [{"kind": "project","path": "project"},{"kind": "ai-session","path": "ai"},{"kind": "shell-history","path": "shell"},{"kind": "log","path": "logs"},{"kind": "log","path": "unavailable-source"}],"timeSemantics": "Current file snapshots; request time windows do not filter file contents. No transfer direction or exposure time is inferred."}}

Other record types: secret_trail.credential, secret_trail.occurrence, secret_trail.gap, secret_trail.setup, rave.collection.

What it can’t tell you

A match does not tell you whether the token still works, whose it is, how it got there, or whether anyone used it.

Scope and access

If you select nothing, or the wrong kind of file, it reads nothing.

Its signed entry lists no macOS privacy permissions. Its results have to be kept in an encrypted scan.

Where it fits

Rave’s editorial reading of the signed entry.

What it can see of a secret, from being set up to the records it leaves behind.

  1. Set upconfiguredIt cannot see it
  2. Arrivedwhen it showed upIt cannot see it
  3. Nowhow it looks nowIt reads this itself
  4. Usedwhen it was usedIt cannot see it
  5. Gonethat it was removedOut of reach
  6. Tracesrecords that can outlive itIt reads this itself: copies in shell histories, AI chats and logs
Time
Records carry the time of the scan, not of the event.
Feeds into
First Hour, which can combine this report with others.

Where each plugin looks

Signature and versions
Publishermaccrab-rave:first-party
Publisher key
07e39eb12c15b8052f5249134ea3337a0789ebc799d1c58d097aaa548a8aaae3
Archive SHA-256
1c85bd0a9e54a11a184902c52e8eb50f1b45306811d85b91c7677bcc2055cdd0
SourcePrivate. Commit af1aef805f8d, tag v0.2.1
Checked. Automated passes, as recorded: manifest-schema-v1, reproducible-build-verified, developer-id-signed, ed25519-signature-verified, publisher-key-pin-matched, publisher-key-not-revoked.
Source rebuild not applicable: this first-party entry publishes no source repository for an independent rebuild. A recorded maintainer rebuild check is not independent source verification.
In catalogSerial 8, signed
Revocation listSerial 2, issued . MacCrab checks its own copy when installing; this date is not when your Mac last checked. No revocation for 0.2.1.

Before it installs, MacCrab checks the catalog signature, this hash, the publisher key and the revocation list. How it checks The signed entry Its signature

Secret Trail 0.2.1 (com.maccrab.forensics.secret-trail), archive SHA-256 1c85bd0a9e54a11a184902c52e8eb50f1b45306811d85b91c7677bcc2055cdd0, publisher key 07e39eb12c15b805…, Rave catalog 8, 2026-10-04.

Pastes as Markdown, with both hashes and the limits.

Versions

0.2.1Approved , checked . Current.
Publisher’s description (signed)

Find exact matching credential candidates across explicitly selected UTF-8 project/config files, saved AI sessions, shell histories and logs. Supports GitHub classic personal access tokens and AWS secret keys seeded by a labelled assignment, including one layer of ASCII JSON string escapes. Grouped results show redacted locations, line numbers, source coverage and review guidance. They do not establish validity, ownership, movement, transmission or compromise.

Runs locally without network calls or cleanup. Does not export source snippets, candidate values, token fragments or credential hashes. Group identifiers are random per run. Sensitive location metadata requires an encrypted scan.

Select sources and review grouped results in MacCrab 1.22.3. CLI configuration uses ~/Library/Application Support/MacCrab/SecretTrail/scope.json. Missing or invalid selection reads no evidence. Symlinks and special files are refused; fixed limits and unsupported content remain coverage gaps. Reads are bounded to selected current-user paths. First-party plugins inherit host access; manifest capabilities are declarations, not an independent OS sandbox.

Discussion

Questions and field notes from people using it. Sign in with GitHub to join in.

Comments load automatically from giscus.app and GitHub.

Open discussions on GitHub