Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@fusebit/fuse-tool
Advanced tools
Run `npm pack && npm install -g ./fusebit-*.tgz` to install from this repository.
Run npm pack && npm install -g ./fusebit-*.tgz
to install from this repository.
Usage: fuse-tool [options] [command]
Update all functions based on a template, removing old files that aren't present in the template:
$ fuse-tool update -s ${SUB} template-manager/sample-slack-addon -i template/ --delete
Update a specific function based on a template, removing old files that aren't present in the template:
$ fuse-tool update -s ${SUB} template-manager/sample-slack-addon -i template/ --delete -u someboundary/somefunction
Update a function based on a template on disk, removing old files that aren't present in the template:
$ fuse-tool update -s ${SUB} -p ./template-manager_sample-slack-addon -i template/ --delete
Update a template based on the files on disk, removing old files that aren't present in the template:
# NOTE - this is the same as doing a 'fuse function put -d'
$ fuse-tool update -s ${SUB} -p ./template-manager_sample-slack-addon -u template-manager/sample-slack-addon --delete
Update a function, using a script to modify the function directly:
$ cat modify.js
exports["fusebit.json"] = (j) => {
j.compute.memorySize = 256;
return j;
};
exports["package.json"] = (j) => {
j.dependencies.superagent = "6.1.0";
return j;
};
$ fuse-tool update -s ${SUB} -u template-manager/sample-slack-addon --script modify.js
Compare a template with one on disk:
$ fuse-tool diff -s ${SUB} -p ./template-manager_sample-slack-addon -u template-manager/sample-slack-addon
Compare the files in a template's "template/" directory with children, found through "template.id=id":
$ fuse-tool diff -s ${SUB} template-manager/sample-slack-addon -i template/
Compare the files in a template's "template/" directory with children based on a search criteria:
$ fuse-tool diff -s ${SUB} template-manager/sample-slack-addon -i template/ -c tags.type=slack
Compare the files in a template's "template/" directory with children based on multiple search criteria:
$ fuse-tool diff -s ${SUB} template-manager/sample-slack-addon -i template/ -c tags.type=slack compute.timeout=30
Compare the files in a template's "template/" directory with a specific child:
$ fuse-tool diff -s ${SUB} template-manager/sample-slack-addon -i template/ -u someboundary/somefunction
Compare the files in an on-disk template's "template/" directory with a specific child:
$ fuse-tool diff -s ${SUB} -p ./template-manager_sample-slack-addon -i template/ -u someboundary/somefunction
Test how a function would change when using a script to modify the function directly:
$ cat modify.js
exports["fusebit.json"] = (j) => {
j.compute.memorySize = 256;
return j;
};
exports["package.json"] = (j) => {
j.dependencies.superagent = "6.1.0";
return j;
};
$ fuse-tool diff -s ${SUB} -u template-manager/sample-slack-addon --script modify.js
Migrate from one fuse
profile to another:',
$ fuse-tool migrate oldProfile newProfile',
Migrate with explicit subscriptions:',
$ fuse-tool migrate oldProfile newProfile -s sub-1234 -d sub-7890',
Migrate from one fuse
profile to another with a search criteria:',
$ fuse-tool migrate oldProfile newProfile -c tags.type=slack',
-h, --help display help for command
update [options] [template] Update all of the functions were created by
the specified template with the files in
"template/"
For example '$ fuse-tool update
template-manager/sample-slack-addon -i template/
diff [options] [template] Diff the files in the derived functions with
the files in the template/ directory of the
specified template.
For example '$ fuse-tool diff
template-manager/sample-slack-addon'
migrate [options] <sourceProfile> <destProfile>
Migrate functions from one subscription to another.
help [command] display help for command
FAQs
Run `npm pack && npm install -g ./fusebit-*.tgz` to install from this repository.
The npm package @fusebit/fuse-tool receives a total of 307 weekly downloads. As such, @fusebit/fuse-tool popularity was classified as not popular.
We found that @fusebit/fuse-tool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.