41 Commits

Author SHA1 Message Date
70701aa124 Stop hard-blocking sessions on IP/user-agent change
Session IP and user-agent were enforced as an exact-match gate on
every authenticated request and on refresh: any mismatch threw
Invalid session binding / Session binding mismatch and forced a
logout. In production this made the app nearly unusable, because
real users' IPs change constantly and normally in ways that have
nothing to do with account theft — mobile network handovers,
corporate NAT pools, VPNs, CDN edge changes, Wi-Fi/cellular
switching.

The still-enforced single-use rotating session nonce plus
refresh-token rotation and revocation already prevent a stolen
token from being replayed on another device, so the hard IP/UA gate
was mostly adding false-positive lockouts rather than real security.

Now IP and user-agent changes are recorded as a SESSION_BINDING_DRIFT
abuse event (feeding the existing risk-scoring system) instead of
rejecting the request, so the security signal isn't lost, it's just
no longer a blanket block on legitimate use.
2026-08-26 20:49:46 +05:30
90dfe65fa3 Trust the reverse proxy for real client IP resolution
Without Express's trust-proxy setting, req.ip resolves to the load
balancer's own connecting IP for every request in production, not
the real client IP. That silently broke per-IP rate limiting: every
user behind the same proxy shared one 100-requests-per-60-seconds
throttler bucket instead of getting their own, so any real traffic
volume (the dashboard alone fires ~6 requests per load) could 429
everyone, including on login/registration.
2026-08-26 20:49:45 +05:30
40902f001a Accept fullName on registration
The register form collects a full name, but RegisterDto rejected it as
an unknown field under the global whitelist validation pipe, so
registration always failed 400 whenever a name was entered.
2026-08-26 18:11:20 +05:30
ca8fdbc79b Implement feature X to enhance user experience and optimize performance 2026-08-05 23:42:51 +05:30
9575a27f3c Trigger backend pipeline 2026-07-30 07:56:04 +05:30
2d829ee969 Ignore local export object storage output
Local-driver export files are runtime artifacts, not source.
2026-07-29 07:41:53 +05:30
ac13d24c2c Add fresh database migration baseline 2026-07-22 19:24:46 +05:30
f2aa7a487e Update Google mirror status test 2026-07-22 18:37:28 +05:30
9629d4ea8f Validate manual account creation 2026-07-22 18:32:09 +05:30
3163c9018f Make Supabase client lazy 2026-07-22 18:31:32 +05:30
4d9d3aed8a Fix duplicate auth nonce guard 2026-07-22 18:30:53 +05:30
0156d562ea Add personal goal automation alerts 2026-07-17 23:45:07 +05:30
5448dbb7eb Add Sheets-first mirror mode 2026-07-17 23:41:37 +05:30
25a1981909 Add SOC 2 operations checklist 2026-07-17 23:40:00 +05:30
77529d26a8 Harden Stripe production billing 2026-07-17 23:39:06 +05:30
b4b07eda6b Add credit score provider pull 2026-07-17 23:34:59 +05:30
14dec26ccf Add bill payment initiation adapter 2026-07-17 23:32:52 +05:30
fa7b4b81be Add accountant task workflows 2026-07-17 23:28:59 +05:30
49acee6b6a Add planning budgets goals investments and recurring detection 2026-07-17 23:19:36 +05:30
fabe6e341b Add GDPR privacy export and erasure coverage 2026-07-17 22:00:01 +05:30
e7549f3dde Add household future scenario planning 2026-07-16 23:57:07 +05:30
2b19fb876a Add household debt payoff planner 2026-07-16 23:49:50 +05:30
7e8e440c43 Add transaction comments API 2026-07-16 23:43:14 +05:30
00fb77ec1a Add household money date prompts 2026-07-16 23:31:28 +05:30
c0118b6986 Add household privacy mode 2026-07-16 23:22:30 +05:30
a33d9b8f00 Add household fair split calculator 2026-07-16 23:15:20 +05:30
f7160fceab Add SOC 2 readiness evidence endpoint 2026-07-16 22:42:33 +05:30
1b0f1c08d2 Encrypt raw transaction payload storage 2026-07-16 22:27:00 +05:30
6395b63098 Add rotating session nonce binding 2026-07-16 22:17:20 +05:30
d51fc3b954 Add pagination abuse risk signals 2026-07-16 22:11:14 +05:30
5dc1cd796b Implement browser-safe finance presentation APIs 2026-07-16 22:07:33 +05:30
cce14fa5c6 feat: add advisor household roles 2026-07-16 18:11:04 +05:30
aeb23530cd feat: add household health score 2026-07-16 15:37:53 +05:30
5794203c80 feat: add household shared goals 2026-07-16 15:33:52 +05:30
ade95e6fdf feat: implement LedgerOne backend backlog features 2026-07-16 15:07:01 +05:30
bfe489d920 Refactor GoogleService: streamline token handling and improve comments 2026-07-15 21:08:06 +05:30
4a37d5befb Update a.txt 2026-03-18 02:10:30 +00:00
4be7ca6119 Add a.txt 2026-03-18 02:09:55 +00:00
28fccf78ae fixed errors 2026-03-17 23:15:26 +05:30
metatroncubeswdev
21a8f093d1 implemented all the new changes 2026-03-14 08:51:16 -04:00
Manesh
d1a5a1d1a0 first commit 2026-02-24 21:45:18 +00:00