
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
cli-components-file
Advanced tools
Misc. file-related tools for making CLI stuff.
$ npm install cli-components-file --save
In lieu of a README, here's the .d.ts
file, verbatim:
declare module 'cli-components-file' {
export = CliComponentsFileModule;
}
declare module CliComponentsFileModule
{
/**
Creates a backup of the file at `filepath` and places it in `backupDir`. No compression is used.
*/
export function createBackup (filepath: string, backupDir: string): Promise<string>;
/**
Sorts the given `filepaths` so that
1. the root-most paths are first, and...
2. children of a directory appear immediately after that directory.
3. Conflicts are resolved through simple alphabetical comparison.
The resulting array is analogous to the directory traversal order of a
program like `find` or `tree`.
Note that this function does not interact with the filesystem — it is simply
a path comparison.
*/
export function depthSortFilepaths(filepaths: string[]): string[];
}
FAQs
Misc. file-related tools for making CLI stuff
We found that cli-components-file 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.