Socket
Socket
Sign inDemoInstall

clamscan

Package Overview
Dependencies
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clamscan - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

13

index.js

@@ -15,2 +15,3 @@ /*!

var os = require('os');
var node_path = require('path');

@@ -535,6 +536,14 @@ // ****************************************************************************

var file = files.pop();
file = node_path.join(path, file);
fs.stat(file, function(err, info) {
if (info.isFile()) good_files.push(file);
if (!err) {
if (info.isFile()) {
good_files.push(file);
}
} else {
if (self.settings.debug_mode)
console.log("node-clam: Error scanning file in directory: ", err);
}
get_file_stats();
});
});
} else {

@@ -541,0 +550,0 @@ self.scan_files(good_files, end_file, file_cb);

4

package.json
{
"name": "clamscan",
"version": "0.8.2",
"version": "0.8.3",
"author": "Kyle Farris <kfarris@chomponllc.com> (http://chomponllc.com)",

@@ -11,3 +11,3 @@ "description": "Use Node JS to scan files on your server with ClamAV's clamscan binary or clamdscan daemon. This is especially useful for scanning uploaded files provided by un-trusted sources.",

"urg <Patrick McAndrew>",
"SaltwaterC <Ștefan Ruso>"
"SaltwaterC <Ștefan Rusu>"
],

@@ -14,0 +14,0 @@ "scripts": {

@@ -5,2 +5,8 @@ ## NodeJS Clamscan Virus Scanning Utility

## !!IMPORTANT!!
If you are using a version prior to 0.8.2, please upgrade! There was a security vulnerability in previous versions that allows a malicious user to execute code on your server. Specific details on how the attack could be implemented will not be disclosed here. Please update to 0.8.2 or greater ASAP. No breaking changes are included, only the security patch.
All other versions in NPM have been deprecated.
## Dependencies

@@ -7,0 +13,0 @@

@@ -6,3 +6,3 @@ var fs = require('fs');

var which = function (bin) {
var dir, file;
var i, file;
var path = process.env.PATH.split(p.delimiter);

@@ -9,0 +9,0 @@ for (i in path) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc