Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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
The npm package @techteamer/avastscan receives a total of 0 weekly downloads. As such, @techteamer/avastscan popularity was classified as not popular.
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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.