
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
hook.io-async-fs
Advanced tools
Basic Hook.io Hook based on async-fs by Gabriel Lesperance
git clone git@github.com:chromecide/hook.io-async-fs.git
cd hook.io-async-fs
npm install
node bin/async_fs
npm install hook.io-async-fs
[name]::async_fs::watch_file {name, path} - Watches file path using the hook name name
[name]::async_fs::unwatch_file {path} - Stops watching the file specified by path
[name]::async_fs::watch_tree {name, path} - Traverses the directory defined by path and recursively creates an async_fs FileHook object for each file
async_fs::file::watching {path, curr, prev} -
async_fs::file::stopped_watching {path, curr, prev} -
async-fs::file::watch_error {path, message} - emitted when an error occurs while attempting to start a file hook
async_fs::file::access {path, curr, prev} -
async_fs::file::destroy {path, curr, prev} -
async_fs::file::delete {path, curr, prev} -
async_fs::file::add {path, curr, prev} -
async_fs::file::change {path, curr, prev} -
{
"hookio_async_fs":{
"watch":[
"/path/or/file/to/watch"
]
}
}
TODO: Add unwatch_tree functionality
TODO: Add handling for file read errors when building a file hook
TODO: Add pattern filtering for watchTree
FAQs
Asynchronous file system utility library for Hook.io and nodeJS
We found that hook.io-async-fs 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 flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.