Skip to main content

Crate discord_desktop_forensic

Crate discord_desktop_forensic 

Source
Expand description

Discord desktop forensic analyzer — audits the artifacts recovered by discord_desktop_core and emits normalized forensicnomicon_core::report findings.

Its headline job is the auth token: Discord stores the account’s bearer token as a plain localStorage["token"] value, a credential that grants full account access and is the prime target of Electron info-stealers. The analyzer flags its presence and location — origin, LevelDB sequence, and the redacted length — and never the secret itself. A recoverable deleted token record is surfaced separately as residual credential material.

CodeCategorySeverityMeaning
DISCORD-AUTH-TOKEN-PRESENTThreatHigha live Discord auth token is stored in Local Storage
DISCORD-DELETED-TOKEN-RECOVERABLEResidueMediuma deleted Discord token record is still recoverable

Findings are observations, never legal conclusions (“consistent with”, never a verdict). MITRE ATT&CK T1528 (Steal Application Access Token) is referenced.

Enums§

DiscordCredentialFinding
A Discord credential-exposure observation. Carries the redacted metadata that backs the finding — never the token secret itself.

Constants§

ANALYZER
The analyzer name stamped on every finding’s Source.

Functions§

audit_artifacts
Audit recovered Discord artifacts and return normalized findings.