Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@techteamer/avastscan
Advanced tools
NodeJS binding for Avast Linux Antivirus
avast-server is a utility to scan files through http requests without the files originally being in the same machine.
node .bin/avast-server
You can set the following env variables
AVAST_SERVER_PORT (default: 4311) Wev Server Port
AVAST_SERVER_REQ_SIZE_LIMIT (default: 50mb) Maximum request size that the web server accepts. NOTE: use the format (size)mb (or kb, etc)
AVAST_SERVER_MAX_TIMEOUT (default: 30000) Time out for requests. (In miliseconds)
AVAST_SERVER_SOCK_FILE (default: /var/run/avast/scan.sock) Socket file for avast
/scan POST
file
{{ File to scan }}
{
"is_infected": false,
"is_excluded": false
}
{
"is_infected": true,
"malware_name": "malware name"
}
/info GET
{
"version": "3.0.3",
"virusDefinitionsVersion": "21040804"
}
Avast client needs to be instantiated with an options object as parameter.
{
baseURL: 'http://my-avast-server-url', // URL of Avast Server
timeout: 10000 //timewut for requests in MS, default is 30000
}
FAQs
Library for interacting with avast antivirus for linux
We found that @techteamer/avastscan 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.