
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@citation-js/hughsk-file-tree
Advanced tools
Fork of hughsk/file-tree: Generate a tree of file metadata that matches d3's hierarchy layout format
A more flexible, asynchronous version of file-size-tree.
npm install file-tree
require('file-tree')(files, mapper, callback)
Takes an array of files
.
mapper(filename, next)
should pass an object to the the callback
with the metadata you want to associate with the file.
callback(err, tree)
is called when everything's done.
var tree = require('file-tree')
var fs = require('fs')
tree([
__dirname + '/project/src/index.js'
, __dirname + '/project/src/README.md'
, __dirname + '/project/src/package.json'
, __dirname + '/LICENSE'
], function(filename, next) {
fs.stat(filename, function(err, stats) {
if (err) return next(err)
next(null, {
size: stats.size
})
})
}, function(err, fileTree) {
console.log(fileTree) // done!
})
FAQs
Fork of hughsk/file-tree: Generate a tree of file metadata that matches d3's hierarchy layout format
The npm package @citation-js/hughsk-file-tree receives a total of 6 weekly downloads. As such, @citation-js/hughsk-file-tree popularity was classified as not popular.
We found that @citation-js/hughsk-file-tree 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.