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 4 plugin for Nitgen fingerprint devices.
npm install capacitor-plugin-nitgen-fingerprint
npx cap sync
Update your app AndroidManifest.xml, into activity tag:
<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_filter_nitgen" />
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: 0.0.1
connect() => Promise<void>
Connect to fingerprint device
Since: 0.0.1
disconnect() => Promise<void>
Disconnect from fingerprint device
Since: 0.0.1
capture(options?: CaptureOptions | undefined) => Promise<CaptureResult>
Capture a fingerprint
Param | Type |
---|---|
options | CaptureOptions |
Returns: Promise<CaptureResult>
Since: 0.0.1
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: 0.0.1
addListener(eventName: 'onConnected', listenerFunc: OnConnectedListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for connected event
Param | Type |
---|---|
eventName | 'onConnected' |
listenerFunc | OnConnectedListener |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
addListener(eventName: 'onDisconnected', listenerFunc: () => void) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for disconnected event
Param | Type |
---|---|
eventName | 'onDisconnected' |
listenerFunc | () => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
Since: 0.0.1
Prop | Type | Description | Default | Since |
---|---|---|---|---|
serial | string | Serial code | 0.0.1 | |
security | SecurityLevel | Security level | NORMAL | 0.0.1 |
Prop | Type | Description | Default | Since |
---|---|---|---|---|
timeout | number | Capture timeout in milliseconds | 10000 | 0.0.1 |
imageFormat | ImageFormat | Fingerprint image format | PNG | 0.0.1 |
imageQuality | number | Fingerprint image quality (0-100) Only applied for JPEG | 50 | 0.0.1 |
Prop | Type | Description | Since |
---|---|---|---|
textFIR | string | Captured text FIR | 0.0.1 |
image | string | base64 encoded fingerprint image | 0.0.1 |
Prop | Type | Description | Since |
---|---|---|---|
isMatch | boolean | If captured fingerprint matched text FIR | 0.0.1 |
textFIR | string | Captured text FIR | 0.0.1 |
image | string | base64 encoded fingerprint image | 0.0.1 |
Prop | Type | Description | Since |
---|---|---|---|
textFIR | string | A stored text FIR to match with captured fingerprint | 0.0.1 |
Prop | Type |
---|---|
remove | () => Promise<void> |
Prop | Type | Description | Since |
---|---|---|---|
openedDeviceID | number | Device ID | 0.0.1 |
'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.