From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Library:Electron" |
|---|
| claim | "The expected SHA-256 of an asar header is stored in Info.plist key ElectronAsarIntegrity (macOS, dictionary keyed by path relative to Contents/, values {algorithm, hash}) or in a Windows exe resource of type Integrity, name ElectronAsar (JSON list of {file, alg, value}); only checked when the EnableEmbeddedAsarIntegrityValidation fuse is on." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Electron" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "resource" |
|---|
| indicator | "Windows resource type 'Integrity', name 'ElectronAsar' (JSON); macOS Info.plist key 'ElectronAsarIntegrity'" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "kIntegrityCheckResourceType L"Integrity", kIntegrityCheckResourceItem L"ElectronAsar"; JSON list parsed with keys file, alg, value; lookup key is the lowercased relative path" |
|---|
| repo | "https://github.com/electron/electron" |
|---|
| commit | "bcc5c510df7abedb85fd11843e3607e9115c0566" |
|---|
| path | "shell/common/asar/archive_win.cc" |
|---|
| lines | "25-26, 94-104" |
|---|
|
| type | "source" |
|---|
| detail | "NSBundle objectForInfoDictionaryKey ElectronAsarIntegrity, entry keyed by relative path, fields algorithm and hash" |
|---|
| repo | "https://github.com/electron/electron" |
|---|
| commit | "bcc5c510df7abedb85fd11843e3607e9115c0566" |
|---|
| path | "shell/common/asar/archive_mac.mm" |
|---|
| lines | "35-68" |
|---|
|
| type | "source" |
|---|
| detail | "the hashed input is the header string read from the Pickle, validated with ValidateIntegrityOrDie only if the fuse is enabled" |
|---|
| repo | "https://github.com/electron/electron" |
|---|
| commit | "bcc5c510df7abedb85fd11843e3607e9115c0566" |
|---|
| path | "shell/common/asar/archive.cc" |
|---|
| lines | "236-266" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ASAR integrity location" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T09:11:08.505Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:49:30.994Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read shell/common/asar/archive_win.cc lines 20-30 and 90-106 at the cited commit: resource type L"Integrity", item L"ElectronAsar", JSON dict keys file, alg (must be sha256), value. macOS key and fuse not re-read." |
|---|
|
|
|---|