npm

Locally and globally installed npm packages with their versions, the folder each linked package points to, any problem npm reports for a package, and the dependencies it reports as missing.

LinuxLive responseParser: live_packages_npm5 fieldsCollected by priority triage

What npm is

Locally and globally installed npm packages with their versions, the folder each linked package points to, any problem npm reports for a package, and the dependencies it reports as missing. It is one of 137 live response artifacts Arcsentry reads. Live-response artifacts are the output of commands run on a live system at collection time: processes, connections, mounts, containers, hardware and system state.

Forensic value

Live response artifacts help answer questions like these:

  • What was running and connected at collection time?
  • Are there hidden processes or unusual mounts?

Where it is stored

Arcsentry looks for npm at these locations inside a collection, disk image or mounted volume:

triage/volatile/packages/npm_list_--depth_0.txt
triage/volatile/packages/npm_list_-g_--depth_0.txt

What Arcsentry records

Each npm record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:

FieldTypeMeaning
software_package_namePackage name
versionInstalled package version
symlinkTarget of an npm-linked package
package_statusnpm ls annotation (extraneous, invalid, deduped, overridden, UNMET DEPENDENCY)
required_versionVersion range required by an unmet dependency

Time

Collection time only. Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.

Collecting npm with Arcsentry Collector

Arcsentry Collector gathers npm in these triage profiles: linux::profile::triage::priority, linux::profile::triage::live, linux::profile::triage::full. It is captured live, by running commands on the host at collection time.

The collection targets that pick it up: linux::live::packages::npm.

sudo ./arcsentry-collect collect --local -t linux::profile::triage::priority \
  -o /mnt/ir -f host.arcx --password-file /mnt/ir/pw.txt

Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.

Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so npm can come from the tools you already use.

Analysing npm in Arcsentry

Ask in plain English, for example "show npm records from the incident window, newest first", and Arcsentry shows the query before it runs.

Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads npm records with the same tools and cites them by event ID.

Frequently asked

Does Arcsentry parse npm?

Yes. Arcsentry's npm parser (live_packages_npm) reads it from Linux evidence and records 5 fields per record, with provenance back to the source file.

How do I collect npm?

Arcsentry Collector gathers it with the priority triage profile (linux::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.

Parse npm on your own evidence.

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial