
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
cordova-plugin-documentreader
Advanced tools
Cordova plugin for identification documents reading and validation
Cordova plugin for reading and validation of identification documents. Using Regula Document Reader with core DocumentReaderMRZBarcode.framework inside for iOS version.
Install plugn:
cordova plugin add cordova-plugin-documentreader --variable CAMERA_USAGE_DESCRIPTION="To take photo" --save
You can get trial license for demo application at licensing.regulaforensics.com (regula.license
file).
InitializeReader:
DocumentReader.initReader(
license,
function (result) {
// result will contain array of json results.
},
function (error) {
alert(error);
}
);
ScanDocument:
DocumentReader.scanDocument(
function (result) {
// result will contain array of json results.
},
function (error) {
alert(error);
}
);
cordova create testdocumentreader <YOUR_APPLICATION_ID> DocumentReaderTest
cd testdocumentreader
cordova plugin add cordova-plugin-documentreader --variable CAMERA_USAGE_DESCRIPTION="To take photo" --save
cordova plugin add cordova-plugin-file --save
regula.license
file). When you will create license use <YOUR_APPLICATION_ID>
like bundle ID (see the first paragraph).www/regula.license
.index.js
(path: www/js/index.js
) for calling DocumentReader plugin:onDeviceReady: function() {
this.receivedEvent('deviceready');
window.resolveLocalFileSystemURL(
cordova.file.applicationDirectory + "www/regula.license",
function (fileEntry) {
fileEntry.file(function(file) {
var reader = new FileReader();
reader.onloadend = function(e) {
DocumentReader.initReader(
this.result,
function (message) {
DocumentReader.scanDocument(
function (message) {
alert(message);
},
function (error) {
alert(error);
}
);
},
function (error) {
alert(error);
}
);
}
reader.readAsArrayBuffer(file);
});
}, function(e) {
console.log("FileSystem Error");
console.dir(e);
});
},
cordova platform add ios
FAQs
Cordova plugin for identification documents reading and validation
The npm package cordova-plugin-documentreader receives a total of 66 weekly downloads. As such, cordova-plugin-documentreader popularity was classified as not popular.
We found that cordova-plugin-documentreader 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.