Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Dumps a list of stats for all files in a folder, recursively.
npm install --global tats
tats <folder>
Should work fine in Linux and OSX. Won't work in Windows - or maybe it does if you're using cygwin
and have stat
installed, but I haven't tested it.
tats
will recursively traverse the root folder looking for files. For each file, it will print a
line containing:
Files will be printed in alphabetical order and their paths will be relative to the root folder.
Each line can be processed by the following regular expression:
/^(\d+)\s(\d+)\s(\d+)\s(\d+)\s(\d+)\s(.+)$/
The only exception is the first printed line, which begins with a #
and serves only to describe the lines that follow.
# <access in unix time> <modified in unix time> <change in unix time> <birth in unix time> <size in bytes> <filename>
$ tats /Users/myuser/some_folder/
# <access in unix time> <modified in unix time> <change in unix time> <birth in unix time> <size in bytes> <filename>
1416698771 1416698771 1416698771 1416697485 6 .git/COMMIT_EDITMSG
1416698807 1416697369 1416697369 1416697369 23 .git/HEAD
1416698807 1416697726 1416697726 1416697726 304 .git/config
1416697369 1416697369 1416697369 1416697369 73 .git/description
1416697369 1416697369 1416697369 1416697369 452 .git/hooks/applypatch-msg.sample
1416697369 1416697369 1416697369 1416697369 896 .git/hooks/commit-msg.sample
1416697369 1416697369 1416697369 1416697369 189 .git/hooks/post-update.sample
FAQs
stat wrapper for Node.js
We found that tats 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.