
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.
@keepkey/connection-indicator
Advanced tools
A React component for displaying the connection status of KeepKey Desktop.
npm install @keepkey/connection-indicator
# or
yarn add @keepkey/connection-indicator
# or
pnpm add @keepkey/connection-indicator
import { ConnectionIndicator } from '@keepkey/connection-indicator';
function App() {
return (
<div>
<h1>My KeepKey App</h1>
<ConnectionIndicator />
</div>
);
}
import { ConnectionIndicator } from '@keepkey/connection-indicator';
function App() {
return (
<div>
<h1>My KeepKey App</h1>
<ConnectionIndicator
connectionOptions={{
pollingInterval: 5000, // Check every 5 seconds
timeout: 1000, // 1 second timeout
}}
showTooltip={true}
onClick={(e, isConnected) => {
if (!isConnected) {
console.log('Launching KeepKey Desktop...');
}
}}
/>
</div>
);
}
import { useDesktopConnection } from '@keepkey/connection-indicator';
function CustomIndicator() {
const { isConnected, checkConnection, launchDesktop } = useDesktopConnection();
return (
<button
style={{
backgroundColor: isConnected ? 'green' : 'red',
color: 'white',
padding: '8px 16px',
borderRadius: '4px'
}}
onClick={() => !isConnected && launchDesktop()}
>
{isConnected ? 'Connected to KeepKey' : 'Launch KeepKey Desktop'}
</button>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | '' | Custom class name for the indicator |
| style | CSSProperties | undefined | Custom style for the indicator |
| connectionOptions | UseDesktopConnectionOptions | {} | Options for the useDesktopConnection hook |
| showTooltip | boolean | true | Whether to show a tooltip with connection status |
| connectedIndicator | ReactNode | undefined | Custom connected indicator component |
| disconnectedIndicator | ReactNode | undefined | Custom disconnected indicator component |
| tooltipComponent | ReactNode | undefined | Custom tooltip component |
| onClick | function | undefined | Callback for when the indicator is clicked |
| Option | Type | Default | Description |
|---|---|---|---|
| pollingInterval | number | 15000 | Polling interval in milliseconds |
| timeout | number | 2000 | Timeout for connection check in milliseconds |
| endpoint | string | 'http://localhost:1646/docs' | Endpoint to check for KeepKey Desktop |
MIT
FAQs
Connection status indicator for KeepKey Desktop
We found that @keepkey/connection-indicator 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.