
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@unbraided/kenal-ekyc-sdk
Advanced tools
A React Native SDK for integrating Kenal's eKYC solution in your applications.
npm install @unbraided/kenal-ekyc-sdk
Ensure you have the required peer dependencies:
npm install react-native-webview
For TypeScript users, install type definitions:
npm install --save-dev @types/react @types/react-native
import { KenalClient } from "@unbraided/kenal-ekyc-sdk";
KenalClient.initialize({
apiKey: "YOUR_API_KEY",
environment: "sandbox", // or 'production'
});
import React, { useState } from "react";
import { View, Button, TextInput, StyleSheet } from "react-native";
import { MyKad, KenalWebView } from "@unbraided/kenal-ekyc-sdk";
const MyKadScreen = () => {
const [name, setName] = useState("");
const [idNumber, setIDNumber] = useState("");
const [refID, setRefID] = useState("");
const [useOCRForData, setUseOCRForData] = useState(false);
const [verificationUrl, setVerificationUrl] = useState(null);
const startVerification = async () => {
try {
const result = await MyKad.start({
name: name,
idNumber: idNumber,
useOCRForData: useOCRForData,
refId: refID,
});
setVerificationUrl(result.fullURL);
} catch (error) {
console.error("Verification error:", error);
alert(`Failed to start verification: ${error.message}`);
}
};
const handleComplete = (data) => {
console.log("Verification completed:", data);
};
if (verificationUrl) {
return (
<KenalWebView
url={verificationUrl}
onComplete={handleComplete}
onError={(error) => console.error("WebView error:", error)}
/>
);
}
return (
<View style={styles.container}>
<TextInput style={styles.input} placeholder="Enter your name" value={name} onChangeText={setName} />
<TextInput style={styles.input} placeholder="Enter your ID number" value={idNumber} onChangeText={setIdNumber} />
<TextInput style={styles.input} placeholder="Enter a reference ID" value={refID} onChangeText={setRefID} />
<Button title="Start Verification" onPress={startVerification} />
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
padding: 20,
justifyContent: "center",
},
input: {
height: 40,
borderWidth: 1,
borderColor: "#ccc",
borderRadius: 5,
marginBottom: 10,
paddingHorizontal: 10,
},
});
export default MyKadScreen;
Initializes the SDK with your API key and environment settings.
KenalClient.initialize({
apiKey: string, // Your Kenal API key
environment: "sandbox" | "production",
});
Static service for MyKad verification.
MyKad.start({
name: string;
idNumber: string;
refId?: string;
useOCRForData?: boolean;
}): Promise<{ fullURL: string }>;
FAQs
Kenal eKYC SDK for React Native applications
We found that @unbraided/kenal-ekyc-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.