
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@heyikang/ps-list
Advanced tools
Get running processes, support electron
Works on macOS, Linux, and Windows.
npm install @heyikang/ps-list
const { psList } = require("@heyikang/ps-list");
// if windows
console.log(
await psList({
// Source: https://github.com/MarkTiedemann/fastlist
pslistX64Path: "fastlist x64 executable path",
pslistIa32Path: "fastlist x86 executable path",
})
);
//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …]
Returns a Promise<object[]>
with the running processes.
On macOS and Linux, the name
property is truncated to 15 characters by the system. The cmd
property can be used to extract the full name.
The cmd
, cpu
, memory
, and uid
properties are not supported on Windows.
Type: object
Type: boolean
Default: true
Include other users' processes as well as your own.
On Windows this has no effect and will always be the users' own processes.
FAQs
Get running processes
We found that @heyikang/ps-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.