Skip to content

Commit 10b5adb

Browse files
committed
Remove SideShift privateKey from env config
The SideShift affiliate account was compromised. SideShift confirmed the swap integration works identically without the privateKey, so stop validating and injecting it (it was sent as the x-sideshift-secret header). Account rotation to a new affiliateId is handled operationally.
1 parent e30a7f6 commit 10b5adb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased (develop)
44

5+
- removed: SideShift `privateKey` from env config; the swap integration no longer sends the affiliate secret header.
6+
57
## 4.49.0 (staging)
68

79
- added: Monero wallet import support

src/envConfig.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,8 @@ export const asEnvConfig = asObject({
385385
SEPOLIA_INIT: asCorePluginInit(asEvmApiKeys),
386386
SIDESHIFT_INIT: asCorePluginInit(
387387
asObject({
388-
affiliateId: asOptional(asString, ''),
389-
privateKey: asOptional(asString)
390-
}).withRest
388+
affiliateId: asOptional(asString, '')
389+
})
391390
),
392391
SOLANA_INIT: asCorePluginInit(
393392
asObject({

0 commit comments

Comments
 (0)