PAYSIM is a local-first payment simulator and webhook testing laboratory designed to run strictly on developer workstations. It is not a production payment processor and does not hold real credit card numbers, live UPI VPAs, or real banking credentials.
- Loopback Confinement:
- Outbound HTTP webhook dispatches are strictly confined to
127.0.0.1and[::1]on ports1024through65535. - The delivery engine rejects socket creation to public IPs, cloud metadata IP addresses (
169.254.169.254), broadcast addresses, and active server listener ports (e.g., 8787, 5173).
- Outbound HTTP webhook dispatches are strictly confined to
- In-Memory Vault Isolation & Zeroization:
- Webhook signing secrets and delivery snapshots are isolated in memory within
WebhookSecretVaultandDeliveryBodyVault. - Signing secrets are scrubbed with zeroes (
0x00) in volatile memory upon permanent delivery exhaustion.
- Webhook signing secrets and delivery snapshots are isolated in memory within
- Zero Secrets Persistence:
- The one-time bootstrap control token is generated in volatile RAM at startup and disclosed exclusively via terminal stdout.
- It is never written to disk, config files, dotfiles, or browser local storage (SET-02/SET-03).
- Contract Response Sanitization:
- Public delivery API endpoints sanitize domain records through
WebhookDeliveryEntitySchemato prevent leaking internal scheduler or attempt metadata.
- Public delivery API endpoints sanitize domain records through
Security fixes and patches are applied to the active major release line:
| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
We take the security of PAYSIM and the developer environments that run it seriously.
If you discover a security vulnerability, please report it responsibly:
- Do not create a public GitHub issue with vulnerability details.
- Check if GitHub Private Vulnerability Reporting is enabled for this repository:
- Navigate to the Security tab of this repository on GitHub.
- If enabled, click on Report a vulnerability to open a confidential security advisory draft.
- If Private Vulnerability Reporting is disabled or unavailable:
- Contact the repository maintainers privately via their GitHub profile contact options, or open a minimal issue requesting private security contact details without disclosing any vulnerability information.
To help us triage and resolve the issue quickly, please include:
- A clear description of the vulnerability and its potential impact.
- Exact steps to reproduce the issue (including sample code, payloads, or configuration).
- The operating system, Node.js version, and PAYSIM version where the issue was observed.
- Any suggested remediations or mitigations.
- We will acknowledge receipt of your vulnerability report within 48 hours.
- We will provide a timeline for triage and resolution.
- We will coordinate public disclosure through a GitHub Security Advisory once a patched release is published.