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:
Vendored
+1
@@ -17,6 +17,7 @@ export class PaperflyAdapter {
|
||||
this.client = axios.create({
|
||||
baseURL: baseUrl,
|
||||
timeout: 15000,
|
||||
maxRedirects: 0,
|
||||
headers: { "Content-Type": "application/json" },
|
||||
});
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -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,
|
||||
});
|
||||
}
|
||||
/**
|
||||
|
||||
Vendored
+1
@@ -15,6 +15,7 @@ export class RedxAdapter {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
timeout: 15000,
|
||||
maxRedirects: 0,
|
||||
});
|
||||
}
|
||||
isConfigured() {
|
||||
|
||||
Vendored
+1
@@ -15,6 +15,7 @@ export class SteadfastAdapter {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
timeout: 10000,
|
||||
maxRedirects: 0,
|
||||
});
|
||||
}
|
||||
isConfigured() {
|
||||
|
||||
Reference in New Issue
Block a user