Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
capacitor-plugin-nitgen-fingerprint
Advanced tools
Capacitor plugin for Nitgen fingerprint devices.
npm install capacitor-plugin-nitgen-fingerprint
npx cap sync
init(...)
connect()
disconnect()
capture(...)
match(...)
addListener('onConnected', ...)
addListener('onDisconnected', ...)
init(options: InitOptions & CaptureOptions) => Promise<void>
Init the plugin with options
Param | Type |
---|---|
options | InitOptions & CaptureOptions |
Since: 1.0.0
connect() => Promise<void>
Connect to fingerprint device
Since: 1.0.0
disconnect() => Promise<void>
Disconnect from fingerprint device
Since: 1.0.0
capture(options?: CaptureOptions | undefined) => Promise<CaptureResult>
Capture a fingerprint
Param | Type |
---|---|
options | CaptureOptions |
Returns: Promise<CaptureResult>
Since: 1.0.0
match(options: MatchOptions & CaptureOptions) => Promise<MatchResult>
Capture a fingerprint and match with a given text FIR
Param | Type |
---|---|
options | MatchOptions & CaptureOptions |
Returns: Promise<MatchResult>
Since: 1.0.0
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for connected event
Param | Type |
---|---|
eventName | 'onConnected' |
listenerFunc | OnConnectedListener |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 1.0.0
addListener(eventName: 'onDisconnected', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for disconnected event
Param | Type |
---|---|
eventName | 'onDisconnected' |
listenerFunc | () => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 1.0.0
Prop | Type | Description | Default | Since |
---|---|---|---|---|
serial | string | Serial code | 1.0.0 | |
security | SecurityLevel | Security level | NORMAL | 1.0.0 |
Prop | Type | Description | Default | Since |
---|---|---|---|---|
timeout | number | Capture timeout in milliseconds | 10000 | 1.0.0 |
imageFormat | ImageFormat | Fingerprint image format | PNG | 1.0.0 |
imageQuality | number | Fingerprint image quality (0-100) Only applied for JPEG | 50 | 1.0.0 |
Prop | Type | Description | Since |
---|---|---|---|
textFIR | string | Captured text FIR | 1.0.0 |
image | string | base64 encoded fingerprint image | 1.0.0 |
Prop | Type | Description | Since |
---|---|---|---|
isMatch | boolean | If captured fingerprint matched text FIR | 1.0.0 |
textFIR | string | Captured text FIR | 1.0.0 |
image | string | base64 encoded fingerprint image | 1.0.0 |
Prop | Type | Description | Since |
---|---|---|---|
textFIR | string | A stored text FIR to match with captured fingerprint | 1.0.0 |
Prop | Type |
---|---|
remove | () => Promise<void> |
Prop | Type | Description | Since |
---|---|---|---|
openedDeviceID | number | Device ID | 1.0.0 |
'PNG' | 'JPEG'
(event: OnConnectedListenerEvent): void
Members | Value |
---|---|
LOWEST | 1 |
LOWER | 2 |
LOW | 3 |
BELOW_NORMAL | 4 |
NORMAL | 5 |
ABOVE_NORMAL | 6 |
HIGH | 7 |
HIGHER | 8 |
HIGHEST | 9 |
FAQs
Capacitor plugin for Nitgen fingerprint devices.
The npm package capacitor-plugin-nitgen-fingerprint receives a total of 3 weekly downloads. As such, capacitor-plugin-nitgen-fingerprint popularity was classified as not popular.
We found that capacitor-plugin-nitgen-fingerprint demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.