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.
Programmatically modify VMF files.
Currently the following is implemented:
The tool can be ran in two ways: manually, or as part of the compile step. In both cases you must install Node.js, as this is what is used to actually execute the toolset.
This is the most user friendly way once you've set it up, as it works more or less transparently.
npx vmf-tools
in a command prompt (this should complain about needing a map to work on)Done. Whenever you compile the map it will now automatically be processed.
Run the tool manually, specifying the VMF as the first argument and the output as the second argument (npx vmf-tools path\to\map.vmf path\to\processed.vmf
).
The configuration usually happens through Hammer by using custom keyvalues. The specifics of how this works can be found on each rule's README.
For more advanced configuration a configuration file is needed. This is simple a .js
file that contains module.exports = { rules: { /* config goes here */ } }
, with the configuration as specified in each rule's README.
If you want to use a configuration file you must tell the tool about it. This is done by going to Map > Map properties...
in Hammer and adding a keyvalue of vmft_config
with the value being the path to the config file. You may also give the path to the file as the third argument if you run the tool manually.
If the configuration file is specified as a map property and as the third argument when running the tool, then the one specified as a map property will be used.
FAQs
Various programmatic modifiers for VMF files
We found that vmf-tools 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
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.