Survive the dip.
Liquidation protection for Aave V3 borrowers on X Layer. The AI watches your health factor around the clock and explains your risk in plain words; a contract that can only ever repay your own debt steps in before you get liquidated.
You are 27% above your WETH liquidation price. A 10% drop takes your health factor to 1.21 — still above the 1.15 trigger. Below it, the contract repays about 1,420 USDT and brings you back to 1.35.
Liquidation penalty at risk: about $700 – $1,390. Buffer approved: 4,300 USDT — enough for three protections.
Runs on
01 — Why
The largest pool of real users on X Layer had.
Ethereum borrowers have had liquidation automation for years. On X Layer there was nothing between a dip and a penalty. Liquidation Survivor is that missing layer, with one difference: it talks to you.
two-thirds of the chain’s DeFi
of your collateral, gone at the worst moment
no DeFi Saver, no Summer.fi, not even an alert
02 — How
Four steps. Two signatures. Then you stop watching charts.
Connect
Connect your OKX Wallet. We read your Aave position on X Layer — nothing to install, nothing to sign yet.
Understand
The AI explains it: liquidation prices, how far you are from them, what a 10% drop does, and recommends a plan (trigger HF, target HF, buffer) with its reasoning.
Enroll
Two signatures: approve a stablecoin buffer to SurvivalGuard, then enroll your plan. Disable or revoke anytime.
Sleep
The AI re-checks your health factor every minute and on market events. Below your trigger, the contract repays only what is needed from your buffer. You get a Telegram receipt with an explorer link.
03 — Security
Only your own debt. Enforced where it cannot be argued with.
The contract is the only enforcement layer. The AI only recommends parameters and calls protect earlier than a stranger would. Take the AI away and your funds are exactly as safe.
// SurvivalGuard.protect(user) — what must hold, every timehf = POOL.getUserAccountData(user).healthFactor;require(hf < plan.triggerHF); // on-chain, same txrequire(block.timestamp >= last + plan.cooldown);amount = min(needToReach(plan.targetHF),plan.maxRepayPerProtect,allowance, balance, variableDebt);POOL.repay(asset, amount, 2, user); // the only destinationrequire(hfAfter > hf); // must improve
The health factor is re-read on-chain, inside the transaction.
A protection call reverts unless Aave’s own Pool reports your health factor strictly below the trigger you chose. Nothing the operator believes matters; only the chain does.
Funds can go to exactly one place.
Aave repay on your behalf. That is the only destination in the code. No fee is taken from your buffer, no owner withdrawal, no rescue function.
Your caps, your cooldown.
Trigger HF, target HF, max repay per call and a cooldown between calls are part of your plan. The contract clamps every repayment to your allowance, balance and actual debt.
Disable or revoke anytime. Nothing to upgrade.
One click in the app stops the plan; revoking the allowance stops it without touching the contract. SurvivalGuard is not upgradeable and the owner cannot pause funds, only protections.
04 — The AI
It talks to you. It never touches your funds.
The AI is the part you read. The contract is the part that acts. Keeping them separate is the whole design.
WETH fell 9% in the last hour. Your health factor dropped to 1.13 — below your 1.15 trigger. Executing protection now.21:47
Done. SurvivalGuard repaid 1,420 USDT from your buffer; you are back at 1.34. Receipt: 0x9f2c…7a1e21:47
Explains your position in plain words: liquidation prices, distance to them, what a 10% drop does.
Recommends a plan — trigger HF, target HF, buffer — with its reasoning, for you to accept or edit.
Digests every protection after the fact and sends the receipt to Telegram with an explorer link.
Watches every enrolled wallet every minute and on X Layer market events. Hosted, zero install.
Holds keys. The AI has no access to your wallet. Enrollment and revocation are your signatures.
Signs for you. Execution is contract logic anyone can call. The keeper key only carries gas.
Blocks you. If the model is unavailable the product falls back to rules. You can always set a plan by hand.
05 — Survival Board
Every protection, public and verifiable.
The board lists each protection the contract executed, with explorer links. No wallet needed to look.
Also from us
Dark Survivor Bot
Where Dark Survivor started: a security companion in Telegram. It answers onchain safety questions in plain words, watches the wallets you tell it to, and pings you when something on X Layer or the major chains deserves your attention. Liquidation Survivor sends its protection receipts through the same bot.
Next
Where the guard pattern goes from here.
Protection without a pre-funded buffer: borrow, repay, unwind in one transaction.
Top up collateral instead of repaying debt when that is the cheaper way back above target.
The guard pattern is not Aave-specific. Next: other lending markets on X Layer.
06 — FAQ
The questions worth asking before you enroll.
Everything else is onchain: the contract and every protection it has executed, on the explorer.
Get protected before the next dip.
Connect, read the report, approve and enroll. Then sleep.