
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
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 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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.