
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.
Checks for missing dependencies based on code reachable from the main entrypoint specified in package.json
Checks for missing dependencies
based on code reachable from the main
entrypoint specified in package.json
(defaults: index.js
). Furthermore:
if a bin
-object is specified in package.json
all code reachable from those
files will also be included.
depsane
is focused on determining which dependencies that should be
present specifically in dependencies
and devDependencies
. It classifies a
dependency found in devDependencies
used in the main code path as missing,
and a dependency only used as a devDependency but that is specified in
dependencies
is considered missing.
This solves the problem where an application works fine locally and during
testing but fails once deployed as the deployed version will only be installed
with its' dependencies
but during testing and development both
devDependencies
and dependencies
are installed.
There is also some experimental heuristics implemented to determine if mocha
or eslint
and their associated plugins are used as devDependencies or not.
npm install --save-dev depsane
npx depsane [directory] [arguments]
Prints missing dependencies and unused dependencies.
Exits with code 0
if no missing or unused dependencies are found and 1
otherwise.
The directory defaults to the current directory.
All of the arguments are optional:
--ignore-dirs
: comma-separated list of dirs to ignore.
--ignores
: comma-separated list of dependencies to ignore, supports wildcards (i.e. "eslint*" will ignore all dependencies that starts with eslint).
Can be found here.
Released under the MIT license.
0.1.0
Experimental guess work to determine if eslint
and mocha
and
associated plugins are used as devDependencies.
FAQs
Checks for missing dependencies based on code reachable from the main entrypoint specified in package.json
The npm package depsane receives a total of 4 weekly downloads. As such, depsane popularity was classified as not popular.
We found that depsane demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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.