
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
A lightweight behavioral authentication Web Component that uses neural interaction patterns — identify users based on how they interact, not just what they do.
npm install nap-auth
import 'nap-auth';
<nap-auth username="demo" mode="register"></nap-auth>
document.querySelector('nap-auth').addEventListener('auth-success', e => {
console.log('✅ Auth Success:', e.detail);
});
document.querySelector('nap-auth').addEventListener('auth-fail', e => {
console.log('❌ Auth Fail:', e.detail);
});
document.querySelector('nap-auth').addEventListener('auth-progress', e => {
console.log('⏳ Training Progress:', e.detail);
});
auth-success, auth-fail, auth-progress| Attribute | Type | Description |
|---|---|---|
username | string | Unique ID for the user |
mode | string | register to train, login to authenticate |
nap-auth/
├── src/
│ ├── nap-auth.js # <nap-auth> component
│ ├── neutral-auth.js
│ └── auth/ # Neural engine + behavior tracking
│ ├── behavior-tracker.js
│ ├── neural-network.js
│ ├── feature-extractor.js
│ ├── authentication.js
│ └── anti-spoofing.js
├── dist/
│ └── nap-auth.mjs # Compiled output (ES module)
├── vite.config.js # Vite build config
├── package.json
└── README.md
MIT © Pratik Acharya
git clone https://github.com/yourusername/nap-auth
cd nap-auth
npm install
npm run build
For local preview testing:
npm run preview
Pull requests are welcome. For major changes, please open an issue first to discuss what you’d like to change.
web-component neural-auth passwordless behavioral-auth biometrics custom-elements
Made with ❤️ by @pratikacharya1234
FAQs
A lightweight behavioral authentication web component using neural patterns.
We found that nap-auth demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.