security(v2.7.2): remediate all 3 Critical P0 & 5 High P1 audit findings (fail-closed auth, webhook hardening + replay protection, auth-first BYOK + SSRF allowlist, minimal public tracker DTO, atomic+DB idempotency, 0 npm vulnerabilities, CI gate)

This commit is contained in:
Amirul Islam Redwan71
2026-11-27 03:24:39 +06:00
parent 5d296a82f1
commit c827fdfee6
29 changed files with 2151 additions and 482 deletions
+1
View File
@@ -17,6 +17,7 @@ export class PaperflyAdapter {
this.client = axios.create({
baseURL: baseUrl,
timeout: 15000,
maxRedirects: 0,
headers: { "Content-Type": "application/json" },
});
}
+2 -1
View File
@@ -36,7 +36,7 @@ export class PathaoAdapter {
username: this.username,
password: this.password,
grant_type: "password",
});
}, { timeout: 12000, maxRedirects: 0 });
this.accessToken = response.data.access_token;
this.tokenExpiresAt = now + (response.data.expires_in || 3600) * 1000;
return this.accessToken;
@@ -50,6 +50,7 @@ export class PathaoAdapter {
"Content-Type": "application/json",
},
timeout: 12000,
maxRedirects: 0,
});
}
/**
+1
View File
@@ -15,6 +15,7 @@ export class RedxAdapter {
"Content-Type": "application/json",
},
timeout: 15000,
maxRedirects: 0,
});
}
isConfigured() {
+1
View File
@@ -15,6 +15,7 @@ export class SteadfastAdapter {
"Content-Type": "application/json",
},
timeout: 10000,
maxRedirects: 0,
});
}
isConfigured() {