Last updated: November 24, 2026
Security & Malware Protection Architecture
A transparent overview of the real, tested defenses protecting NIVAKIYO users, administrators, payments, and downloadable desktop files.
1. Edge Anti-Hacking Firewall & Rate Limiting
- Request Inspection Proxy: Every incoming request is screened at the edge for path traversal (
../,.env,.git, scanner probes), SQL injection patterns, and XSS payloads before reaching application logic. - Layered Rate Limiting: Edge burst protection plus tighter per-route rate limits on signup, login, password resets, payment creation, unlocks, and signed downloads.
- Hardened Browser Headers: Strict Content Security Policy (CSP),
X-Frame-Options: DENY,X-Content-Type-Options: nosniff, strictReferrer-Policy,Permissions-Policy, andHSTSin HTTPS production.
2. Multi-Layer Malware, Virus & Polyglot Upload Protection
- Strict Magic-Byte Enforcement: Uploaded media is validated by binary file headers—never by filename extension or client MIME type. Executables (
MZ,ELF,Mach-O), archives (ZIP/JAR/APK), PDFs, and scripts are blocked immediately. - EICAR & Polyglot Payload Scanner: Scans uploaded buffers for antivirus test signatures (EICAR) and embedded webshell/script payloads (
<script>,<?php, PowerShell,cmd.exe, shell shebangs) hidden in metadata or trailing bytes. - Metadata Stripping & Pixel-Bomb Defense: Public thumbnails, previews, and 16:9 QHD desktop PNGs are re-encoded cleanly via
sharpwith safe pixel ceilings to defeat decompression bombs and strip EXIF payloads.
3. User & Administrator Account Protection
- Strong Password Cryptography: Salted
scryptkey derivation with constant-time verification and timing-attack mitigation. - Two-Factor Authentication (TOTP 2FA): Both users and administrators can enable RFC 6238 6-digit authenticator app 2FA inside My Library → Account & Security. TOTP secrets are encrypted at rest using AES-256-GCM.
- Brute-Force Lockout & Session Control: Accounts lock automatically after 5 consecutive failed logins; password changes and resets revoke active sessions across devices; users can inspect and revoke sessions anytime.
4. Global USD Payment, Payer Protection & Download Isolation
- Server-Only Order & Price Lock: Razorpay USD orders are created exclusively server-side from database pricing (tamper-proof cents + currency), cryptographically bound to the authenticated payer, and expire automatically after 30 minutes if abandoned.
- PCI-DSS, 3D Secure 2 & Constant-Time HMAC Verification: Card numbers never touch NIVAKIYO servers. Checkout signatures and raw-body webhooks are verified via constant-time HMAC-SHA256 with strict amount/currency cross-checking and idempotency guards against double-crediting or double-charging.
- Serializable Atomic Unlocks: Conditional balance guards ensure credits can never go negative or be double-spent across concurrent requests.
- Private Master Vault: Original masters are stored outside public web folders and streamed only through 90-second HMAC-SHA256 signed links bound strictly to the authenticated buyer's session.
5. Responsible Disclosure
If you discover a security vulnerability, please report it confidentially via Contact Us so we can investigate and remediate rapidly.
