Security and transparency
Madar Wallet is non-custodial: your keys are created and kept on your device. This page explains how they are protected, what passes through Madar's servers, what we can and cannot see, and where you still need to be careful.
In short
- Your recovery phrase is created on your device and never leaves it. Madar will never ask for it.
- The wallet's source code is public, so anyone can read it and check it.
- Independent public scanners give the website their top grade (A+) in three checks and find it clean in the fourth. A mobile app scanner finds no vulnerabilities in the Android app.
- Our own checks of the code, its libraries and the live sites found no secrets and no exploitable issue.
- Most checks below say how you can repeat them yourself.
Source code
The wallet's source code is public on GitHub: github.com/madarwallet/madar-wallet. It holds the code of the current release, published under the PolyForm Noncommercial License 1.0.0 (reading, studying and testing are allowed; commercial use is not). Before it was published, the code was checked by hand and by tools for secrets, personal data and server details. On GitHub the repository has Dependabot alerts, secret scanning with push protection and CodeQL code scanning switched on, and its SECURITY.md explains how to report a vulnerability.
External checks (independent scanners)
Free public scanners run by other companies. Each link opens the scanner's own live report, so you can see the result yourself; FreeDAST and Ostorlab give their report to the account that ran the scan, so their links open the page where you can run the same scan. They check the website, its secure connection and its reputation, and Ostorlab checks the Android app.
| Scanner | What it checks | Result (6 November 2026 unless noted) |
|---|---|---|
| Qualys SSL Labs | Certificate and HTTPS connection | A+ (7 November 2026) |
| MDN HTTP Observatory (Mozilla) | Security headers and browser protections | A+ (7 November 2026): 130 points, 12 of 12 tests passed |
| Sucuri SiteCheck | Malware, injected spam and blocklists | No malware found; not blocklisted (9 lists, including Google Safe Browsing) |
| FreeDAST (TripleKey) | The live website from the outside, the way an attacker would see it | A+ (7 November 2026): 0 critical, 0 high, 0 medium, 0 low |
| Ostorlab | The Android app (the file you download from our site): settings, secrets left in the app, libraries and code patterns | Secure (7 November 2026): 0 vulnerabilities (0 critical, 0 high, 0 medium, 0 low) |
Internal checks (run by us)
Well-known free security tools that we ran ourselves on 7 November 2026. These are our own results; the code checks can be repeated by anyone on the public source code.
| Tool | What it checks | Result | Check it yourself |
|---|---|---|---|
| Gitleaks | Keys, passwords and tokens left in the code and in its full development history | No secrets. Its alerts were public token contract addresses and well-known public test keys. | gitleaks git . in the source code folder |
| TruffleHog | A second secrets scanner, run on the public repository and on the full change history | No secrets. Nothing it found was a working key. | trufflehog git https://github.com/madarwallet/madar-wallet |
| npm audit | Known vulnerabilities in the wallet's libraries | Two warnings, both about zod, a library used only by a development tool (@ton/ton). The wallet you install does not contain it. | npm install then npm audit |
| Opengrep (Semgrep rules) | Common coding mistakes in the wallet code and our server code | No exploitable issue. Its notes (for example patterns run on short, length-limited inputs) were reviewed one by one. | opengrep scan --config semgrep-rules/typescript src |
| OSV-Scanner (Google) | Known vulnerabilities in the wallet's libraries and in those of our live server services | Wallet: the same zod warning as npm audit (development only). Live services: none in the library versions they use. | osv-scanner scan source -L package-lock.json (server code is not public) |
| Nuclei | madarwallet.app and swap.madarwallet.app from outside: server settings, exposed files, encryption and DNS | No findings. | Open source tool; runs against the public sites |
Your keys
Created on your device
Your 12-word recovery phrase is generated in the wallet on your device. It is never sent to Madar. There is no account, email or sign-up.
Encrypted at rest
The phrase is stored encrypted with your password (scrypt key derivation at the strength OWASP recommends, and AES-256-GCM). Wallets made with older, lighter settings are upgraded automatically the next time you unlock them. After you unlock, it is held in memory only, and the wallet slows down repeated wrong password attempts.
Hidden until you ask
When you create a wallet, the words are not placed on the page until you press "Show", so screen readers and page-reading extensions cannot pick them up early.
Only you can recover it
If you lose the recovery phrase, Madar cannot restore your funds. Anyone who has the phrase controls the funds. Madar will never ask you for it.
Before you send
- Invalid addresses are rejected before you can review a transfer.
- A warning appears when a pasted address looks like one you have used before but is not the same (address-poisoning protection).
- On Tron, the USDT contract address itself is refused as a recipient, a common way to lose funds.
- Every transfer and swap shows a review screen with the amount you receive, the network fee and the service fee before you sign.
What goes through Madar's servers
The wallet talks to blockchains and swap providers. Some of these requests go through Madar's servers so the wallet works reliably without exposing private API keys. Here is the full picture:
| Service | What it does | What the server sees |
|---|---|---|
| Network relays | Read balances and broadcast signed transactions on some networks | Your IP address and the public addresses being queried. Never your phrase or private keys. |
| Swap and buy routes | Fetch quotes from providers such as NEAR Intents, LI.FI, Mayan, Kyber and Jupiter | The coins, amounts and receiving address of the quote. |
| .madar names | Turn a name into an address | The name being looked up. |
| Free network fee | Sends a small network fee, once a week, to an eligible address that holds none of the network's coin | The address that asks for it. |
| Market analysis sign-in | Lets you into the market analysis page after you sign a free sign-in message | The wallet address that signed in. The signature moves no funds and cannot be used to send a transaction. |
Transactions are always signed inside the wallet. A relay can refuse or delay a request, but it cannot move your funds.
.madar names: please read
Name records are kept on Madar's server, not on a blockchain. If that server were ever compromised, a name could point to a wrong address. For that reason, when you send to a .madar name the wallet shows the full address and asks you to confirm it before you can continue. For larger amounts, compare the full address with the owner of the name through another channel.
Fees
- Holding, sending and receiving: no Madar fee. You pay only the network fee.
- Swaps, buys and sales inside the wallet: a 0.5% service fee (0.4% for invited accounts and the accounts that invited them), shown on the review screen before you confirm.
- Madar has no token. Any coin named MADAR is fake.
Connecting to websites
The wallet connects only to Madar's own sites. It refuses blind signing requests (eth_sign) and shows every permission and signature request for review.
Android app
The Android app disables system backups of wallet data, uses HTTPS only and trusts only system certificates. Download it only from madarwallet.app/android, where each release shows its SHA-256 checksum so you can check the file.
Third parties and their limits
Cross-chain swaps rely on outside providers. If a provider pauses (for example THORChain halting trading), the wallet hides or blocks that route instead of sending funds into it. Market prices move, so a quote can expire; the wallet asks for a fresh quote when that happens.
Report a security issue
Email contact@madarwallet.app with the subject "Security". Please include the steps to reproduce and do not test against other people's funds. We reply as fast as we can and credit reporters who wish to be named.
الأمان والشفافية
محفظة مدار غير احتجازية: مفاتيحك تُنشأ وتبقى على جهازك. هذه الصفحة تشرح كيف تُحمى، وما الذي يمر عبر خوادم مدار، وما الذي نراه وما لا نراه، وأين تحتاج أن تنتبه أنت.
باختصار
- عبارة الاسترداد تُنشأ على جهازك ولا تغادره، ومدار لن تطلبها منك أبدا.
- كود المحفظة منشور للعموم، ويستطيع أي شخص قراءته والتحقق منه.
- فاحصات علنية مستقلة تمنح الموقع أعلى تقييم في ثلاثة فحوص، وهو A+، وتجده نظيفا في الرابع. وفاحص تطبيقات الجوال لم يجد أي ثغرة في تطبيق الأندرويد.
- فحوصنا للكود ومكتباته وللمواقع الحية لم تجد أسرارا ولا ثغرة قابلة للاستغلال.
- أغلب الفحوص أدناه تذكر كيف تعيدها بنفسك.
الكود المصدري
كود المحفظة منشور للعموم على GitHub: github.com/madarwallet/madar-wallet. وهو كود الإصدار الحالي، منشور بترخيص PolyForm Noncommercial License 1.0.0 (القراءة والدراسة والاختبار مسموحة، والاستخدام التجاري غير مسموح). وقبل نشره فُحص يدويا وبالأدوات بحثا عن أي أسرار أو بيانات شخصية أو تفاصيل عن الخوادم. وفي GitHub فُعّلت للمستودع تنبيهات Dependabot، وفحص الأسرار مع منع رفعها، وفحص الكود CodeQL، وفيه ملف SECURITY.md يشرح طريقة الإبلاغ عن الثغرات.
الفحوص الخارجية (فاحصات مستقلة)
فاحصات علنية مجانية تديرها شركات أخرى، وكل رابط يفتح التقرير الحي من موقع الفاحص نفسه لترى النتيجة بنفسك، ما عدا FreeDAST وOstorlab فهما يعطيان التقرير لصاحب الحساب الذي طلب الفحص، فرابطاهما يفتحان الصفحة التي تعيد منها الفحص نفسه. وهي تفحص الموقع واتصاله الآمن وسمعته، ويفحص Ostorlab تطبيق الأندرويد.
| الفاحص | ما يفحصه | النتيجة (6 نوفمبر 2026 ما لم يُذكر غيره) |
|---|---|---|
| Qualys SSL Labs | الشهادة واتصال HTTPS | A+ (7 نوفمبر 2026) |
| MDN HTTP Observatory (Mozilla) | رؤوس الأمان وحمايات المتصفح | A+ (7 نوفمبر 2026): 130 نقطة، ونجح في 12 من 12 اختبارا |
| Sucuri SiteCheck | البرمجيات الخبيثة والرسائل المحقونة وقوائم الحظر | لا برمجيات خبيثة، وغير محظور (9 قوائم، منها Google Safe Browsing) |
| FreeDAST (TripleKey) | الموقع الحي من الخارج، كما يراه المهاجم | A+ (7 نوفمبر 2026): 0 حرجة، 0 عالية، 0 متوسطة، 0 منخفضة |
| Ostorlab | تطبيق الأندرويد (الملف الذي تنزله من موقعنا): إعداداته، والأسرار المتروكة فيه، ومكتباته، وأنماط كوده | آمن (7 نوفمبر 2026): لا ثغرات (0 حرجة، 0 عالية، 0 متوسطة، 0 منخفضة) |
الفحوص الداخلية (أجريناها بأنفسنا)
أدوات أمنية مجانية معروفة شغّلناها بأنفسنا في 7 نوفمبر 2026. هذه نتائجنا نحن، وفحوص الكود يستطيع أي شخص إعادتها على الكود المنشور.
| الأداة | ما تفحصه | النتيجة | تحقق بنفسك |
|---|---|---|---|
| Gitleaks | المفاتيح وكلمات المرور والرموز المنسية في الكود وفي سجل تطويره كاملا | لا أسرار. تنبيهاتها كانت عناوين عقود عملات عامة ومفاتيح اختبار عامة معروفة. | gitleaks git . داخل مجلد الكود |
| TruffleHog | فاحص أسرار ثانٍ، شُغّل على المستودع العام وعلى سجل التعديلات كاملا | لا أسرار، ولا شيء مما رصده كان مفتاحا صالحا. | trufflehog git https://github.com/madarwallet/madar-wallet |
| npm audit | الثغرات المعروفة في مكتبات المحفظة | تنبيهان، كلاهما عن مكتبة zod التي تستخدمها أداة تطوير فقط (@ton/ton)، والمحفظة التي تثبّتها لا تحتويها. | npm install ثم npm audit |
| Opengrep (قواعد Semgrep) | الأخطاء البرمجية الشائعة في كود المحفظة وكود خوادمنا | لا ثغرة قابلة للاستغلال، وملاحظاتها (مثل أنماط تعمل على مدخلات قصيرة محدودة الطول) روجعت واحدة واحدة. | opengrep scan --config semgrep-rules/typescript src |
| OSV-Scanner (Google) | الثغرات المعروفة في مكتبات المحفظة ومكتبات خدمات خوادمنا الحية | المحفظة: تنبيه zod نفسه في npm audit (أداة تطوير فقط). الخدمات الحية: لا ثغرات في نسخ المكتبات التي تستخدمها. | osv-scanner scan source -L package-lock.json (كود الخوادم غير منشور) |
| Nuclei | madarwallet.app وswap.madarwallet.app من الخارج: إعدادات الخادم والملفات المكشوفة والتشفير وDNS | لا نتائج. | أداة مفتوحة المصدر تعمل على المواقع العلنية |
مفاتيحك
تُنشأ على جهازك
عبارة الاسترداد (12 كلمة) تُنشأ داخل المحفظة على جهازك، ولا تُرسل إلى مدار أبدا. لا يوجد حساب ولا بريد ولا تسجيل.
مشفرة على الجهاز
العبارة محفوظة مشفرة بكلمة مرورك (اشتقاق scrypt بالقوة التي توصي بها OWASP، وتشفير AES-256-GCM). والمحافظ المنشأة بإعدادات أخف في إصدارات سابقة تترقى تلقائيا عند فتحها في المرة التالية. بعد الفتح تبقى في الذاكرة فقط، والمحفظة تبطئ محاولات كلمة المرور الخاطئة المتكررة.
مخفية حتى تطلبها
عند إنشاء المحفظة لا توضع الكلمات في الصفحة إلا بعد الضغط على «إظهار»، فلا تقرؤها قارئات الشاشة أو إضافات قراءة الصفحات مبكرا.
أنت وحدك تستطيع الاسترداد
إذا ضاعت عبارة الاسترداد فلا تستطيع مدار استعادة أموالك. ومن يملك العبارة يملك الأموال. مدار لن تطلبها منك أبدا.
قبل الإرسال
- العنوان غير الصحيح يُرفض قبل أن تصل إلى شاشة المراجعة.
- يظهر تحذير إذا كان العنوان الملصق يشبه عنوانا استخدمته سابقا لكنه ليس نفسه (حماية من تسميم العناوين).
- على شبكة Tron يُرفض عنوان عقد USDT نفسه كمستلم، وهو خطأ شائع تضيع به الأموال.
- كل إرسال وتحويل يعرض شاشة مراجعة فيها المبلغ الذي يصلك ورسوم الشبكة ورسوم الخدمة قبل التوقيع.
ما الذي يمر عبر خوادم مدار
المحفظة تتصل بسلاسل الكتل ومزودي التحويل. بعض هذه الطلبات يمر عبر خوادم مدار لتعمل المحفظة بثبات دون كشف مفاتيح خدمات خاصة. هذه الصورة كاملة:
| الخدمة | ماذا تفعل | ماذا يرى الخادم |
|---|---|---|
| وسطاء الشبكات | قراءة الأرصدة وبث المعاملات الموقعة على بعض الشبكات | عنوان IP الخاص بك والعناوين العامة المطلوبة. لا يرى العبارة ولا المفاتيح الخاصة أبدا. |
| مسارات التحويل والشراء | جلب الأسعار من مزودين مثل NEAR Intents وLI.FI وMayan وKyber وJupiter | العملات والكميات وعنوان الاستلام في عرض السعر. |
| أسماء .madar | تحويل الاسم إلى عنوان | الاسم المطلوب. |
| رسوم الشبكة المجانية | إرسال رسوم شبكة صغيرة، مرة كل أسبوع، للعنوان المؤهل الذي لا يملك شيئا من عملة الشبكة | العنوان الذي يطلبها. |
| الدخول إلى تحليل السوق | يتيح لك صفحة تحليل السوق بعد توقيع رسالة دخول مجانية | عنوان المحفظة التي سجّلت الدخول. التوقيع لا يحرك أي أموال، ولا يمكن استخدامه لإرسال معاملة. |
المعاملات توقَّع دائما داخل المحفظة. الوسيط يستطيع أن يرفض الطلب أو يؤخره، لكنه لا يستطيع تحريك أموالك.
أسماء .madar: اقرأ هذا
سجلات الأسماء محفوظة على خادم مدار، وليست على سلسلة كتل. لو اختُرق ذلك الخادم يوما قد يشير اسم إلى عنوان خاطئ. لذلك عند الإرسال إلى اسم .madar تعرض المحفظة العنوان كاملا وتطلب تأكيده قبل المتابعة. وفي المبالغ الكبيرة قارن العنوان كاملا مع صاحب الاسم عبر وسيلة أخرى.
الرسوم
- الحفظ والإرسال والاستلام: بلا رسوم من مدار. تدفع رسوم الشبكة فقط.
- التحويل والشراء والبيع داخل المحفظة: رسوم خدمة 0.5% (و0.4% للحسابات المدعوة والحسابات التي دعتها) تظهر في شاشة المراجعة قبل التأكيد.
- مدار ليس لها عملة. أي عملة باسم MADAR مزيفة.
الاتصال بالمواقع
المحفظة تتصل بمواقع مدار فقط، وترفض طلبات التوقيع الأعمى (eth_sign)، وتعرض كل طلب صلاحية أو توقيع للمراجعة.
تطبيق أندرويد
تطبيق أندرويد يعطّل النسخ الاحتياطي لبيانات المحفظة، ويستخدم HTTPS فقط، ويثق بشهادات النظام فقط. حمّله فقط من madarwallet.app/android، وفيها بصمة SHA-256 لكل إصدار لتتحقق من الملف.
الأطراف الخارجية وحدودها
التحويل بين الشبكات يعتمد على مزودين خارجيين. إذا توقف مزود (مثل توقف التداول في THORChain) تخفي المحفظة ذلك المسار أو تمنعه بدل إرسال الأموال إليه. الأسعار تتحرك، فقد ينتهي عرض السعر، وعندها تطلب المحفظة سعرا جديدا.
الإبلاغ عن ثغرة أمنية
راسلنا على contact@madarwallet.app بعنوان «Security»، مع خطوات إعادة المشكلة، ورجاء لا تجرّب على أموال أشخاص آخرين. نرد بأسرع ما نستطيع، ونذكر اسم المبلّغ إن رغب.
