Dependency Autopsy
com.0.1.0
Find the install scripts hiding in an npm lockfile.
What it does
It follows each package in an npm lockfile back to what asked for it, then checks what is installed and which install scripts it declares. It hashes any script file it can name.
What it reads
- Explicitly selected current-user sources
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 dependency_autopsy.finding.
Installed dependency mapped to lock chain
- Code
code - installed-dependency
- Path
path - Projects/demo/node_modules/format-parent/package.json
- Statement type
statementType - observed
Full record
{"contentType": "dependency_autopsy.finding","summary": "Installed dependency mapped to lock chain","data": {"code": "installed-dependency","detail": "The lock chain and installed manifest were read independently. Lifecycle names are declarations; npm operation and policy determine invocation. File identities cover only the assessed files, not the entire package, registry provenance or execution.","evidence": {"commandIndicators": [],"declaredVersion": "1.0.0","dependencyChain": ["format-parent"],"executionObserved": false,"installedManifestObserved": true,"installedName": "format-parent","lifecycleNames": [],"lockPath": "node_modules/format-parent","lockfileVersion": 3,"manifestSHA256": "20bb4276a7a65a0a55a918a107a76356beecb6f35ce9953954a30fe7bf77f376","nameMatchesDependencyKey": true,"referencedFiles": [],"versionMatchesLock": true},"path": "Projects/demo/node_modules/format-parent/package.json","statementType": "observed","title": "Installed dependency mapped to lock chain"}}
Other record types: rave.collection, dependency_autopsy.summary.
What it can’t tell you
It cannot tell you whether execution records you supply are genuine, or whether a script they match was the same file at the time.
More limits, scope and access
A match does not show what started it, or what it caused.
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 project, from being set up to the records it leaves behind.
- Set upconfiguredIt reads this itself
- Arrivedwhen it showed upIt cannot see it
- Nowhow it looks nowIt reads this itself
- Usedwhen it was usedIt cannot see it
- Gonethat it was removedIt cannot see it
- Tracesrecords that can outlive itIt cannot see it
- Time
- Records carry the time of the scan, not of the event.
- Identities
- It hashes the scripts it finds.
Signature and versions
| Publisher | maccrab-rave:first-party |
|---|---|
| Publisher key | 07e39eb12c15b8052f5249134ea3337a0789ebc799d1c58d097aaa548a8aaae3 |
| Archive SHA-256 | 261da0db98b8a2479cc238fd05b5179f9a6b2f2056dc8cad4cba19f887d74bc8 |
| Source | Private. Commit af1aef805f8d, tag v0.1.0 |
| 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 catalog | Serial 8, signed |
| Revocation list | Serial 2, issued . MacCrab checks its own copy when installing; this date is not when your Mac last checked. No revocation for 0.1.0. |
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
Dependency Autopsy 0.1.0 (com.maccrab.forensics.dependency-autopsy), archive SHA-256 261da0db98b8a2479cc238fd05b5179f9a6b2f2056dc8cad4cba19f887d74bc8, publisher key 07e39eb12c15b805…, Rave catalog 8, 2026-10-04.
Pastes as Markdown, with both hashes and the limits.
Versions
| 0.1.0 | Approved , checked . Current. |
|---|
Publisher’s description (signed)
Trace a selected npm project's package-lock v2/v3 declarations through bounded dependency chains, then review currently readable installed manifests and supported lifecycle entries. Literal single-interpreter script references can identify and hash an assessed regular file. Lock declarations, installed files and imported execution claims remain separate evidence. The collector never invokes npm, package code, subprocesses or the network.
Optional supplied execution records match only when the selected project, script path and assessed SHA-256 agree. Their authenticity and historical file identity are unverified; a match does not establish execution ancestry or causality. Raw script commands, arguments, URLs and source contents are withheld.
Workspaces, aliases, caches, hidden lockfiles, registry integrity, install history, effective npm policy and other package managers are outside this version. Missing manifests remain lock-only evidence; unsupported, unreachable and mismatched records remain coverage gaps.
Select current-user sources and review findings in MacCrab 1.22.3. Missing or invalid selection reads no evidence. Sensitive results require an encrypted scan. Bounded reads refuse symlinks; missing, unsupported and over-limit inputs remain coverage gaps. 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.