
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@sumsub/capture-sdk
Advanced tools
This library helps to evaluate the quality of document images before transferring them to the server.
npm install @sumsub/capture-sdk
import initCaptureSdk from '@sumsub/capture-sdk'
const captureSdk = await initCaptureSdk()
// returns numeric score between 0 and 1
// higher score means more unsatisfactory image
const score = await captureSdk.predictImageDataScore(imageData)
// returns true when image score less then maxAllowedScore (default value is 0.83), false if else
const result = await captureSdk.predictImageDataResult(imageData, maxAllowedScore)
This library helps evaluate the quality of document images before transferring them to the server.
The trained model is a lightweight version of SqueezeNet, weighing only 1 MB.
The classes are defined as follows:
Train dataset:
Test dataset:
Metrics
frtt_score
To clarify, in the frtt_score metric, the quantile parameter determines the acceptable fraction of false positives that we set.
For example, when the quantile is 0.985, we expect our model to accurately classify 98.5% of Class 0 objects. There is a possibility of misclassifying (resulting in false positives) 1.5% of Class 0 objects.
Metrics such as Recall are then measured to determine the ratio of poor-quality photos (Class 1) captured at the selected threshold for the classifier.
FAQs
Sumsub capture sdk
The npm package @sumsub/capture-sdk receives a total of 11 weekly downloads. As such, @sumsub/capture-sdk popularity was classified as not popular.
We found that @sumsub/capture-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.