
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
change-file-time
Advanced tools
A CLI application and Node module to change file timestamps.
Node Module:
$ npm install change-file-time
Cli:
$ npm install -g change-file-time
Changing a group of files to the current date/time:
const changeTime = require('change-file-time')
changeTime('/path/**/*.html', function(err){
if(err) console.error(err)
else console.log('Done!')
})
You can also supply options to supply different dates:
changeTime('/path/**/*.html', {
atime: new Date(1995, 11, 17),
ctime: new Date('1995-12-17T03:24:00'),
mtime: new Date('December 17, 1995 03:24:00')
}, function(err){
if(err) console.error(err)
else console.log('Done!')
})
Usage
$ cft <options>
Options
-f, --files Glob pattern for files, defaults to **/*
-a, --atime Timestamp for atime, defaults to time of execution
-m, --mtime Timestamp for mtime, defaults to time of execution
-c, --ctime Timestamp for ctime, defaults to time of execution
-r, --recreate Recreate files
--verbose Output debug information
FAQs
Removes or alters timestamps from files based on glob patterns
The npm package change-file-time receives a total of 1 weekly downloads. As such, change-file-time popularity was classified as not popular.
We found that change-file-time 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.