How nhdnhut/noosguard works
NoosGuard is a transaction-fraud prevention layer designed to run alongside a merchant’s payment gateway. Its principal workflow evaluates a payment before funds move, then allows, holds for human review, or denies it with an explanation; passkey approval, layered fraud defenses, and AI-assisted decisions are major capabilities. The graph combines sampled implementation evidence with documented product capabilities. Several feature implementations were not sampled, so their links are documented rather than inferred from neighboring modules.
Main entry points: app.ts HTTP API · index.ts Server runtime · trust.ts Risk decisions · noosid.ts NoosID passkeys
Components 20
Product entry points
- Web application
src/App.tsx - Business console
src/app/routes/admin/AdminSessionPage.tsx - HTTP API
server/app.ts
Payment protection
- NoosPulse checks
server/services/pulse.ts - Device signing
server/lib/crypto.ts - NoosShield
server/sdk/shield.js - NoosAI models
server/services/ml - Risk decisions
server/services/trust.ts
Identity and review
- NoosID passkeys
server/services/noosid.ts - Payment approval
src/app/routes/noosid/NoosIdApp.tsx - Cases and review
server/services/cases.ts
Platform operations
- Database
server/db.ts - Server runtime
server/index.ts - Audit trail
server/services/audit.ts - Sandbox Lab
server/services/lab/runner.ts - Merchant webhooks
server/services/webhooks.ts - WooCommerce connector
integrations/woocommerce/noosguard-woocommerce/includes/class-noosguard-client.php
Other components
- Shopper
- Merchant team
- Payment gateway
Connections 22
- Shopper → Web application: uses
- Merchant team → Business console: reviews
- Web application → HTTP API: requests
- Business console → HTTP API: loads decision
src/app/routes/admin/AdminSessionPage.tsx - Server runtime → Database: opens and migrates
server/index.ts - Server runtime → HTTP API: builds
server/index.ts - HTTP API → Database: serves API data
server/app.ts - HTTP API → NoosPulse checks: checks payment
- HTTP API → Device signing: verifies device
- HTTP API → NoosShield: uses browser defense
- HTTP API → NoosAI models: scores risk
- HTTP API → Risk decisions: decides outcome
server/app.ts - Risk decisions → NoosID passkeys: requests confirmation
- Shopper → Payment approval: approves by passkey
- Payment approval → NoosID passkeys: authenticates
- Merchant team → Cases and review: reviews cases
- Sandbox Lab → NoosID passkeys: starts sessions
server/services/lab/runner.ts - Sandbox Lab → NoosAI models: labels training data
server/services/lab/runner.ts - Server runtime → Merchant webhooks: dispatches deliveries
server/index.ts - Merchant webhooks → Payment gateway: sends events
- WooCommerce connector → HTTP API: integrates
- Risk decisions → Audit trail: records outcome