AI application security · on your machine

أصلح الثغرة.
وخلّه عندك.
Fix the flaw.
Keep the code.

حصن وكيل أمني يشتغل على جهازك: يفحص مستودعاتك باستمرار، يفهم الثغرة بذكاء اصطناعي محلي، يقترح الإصلاح ويتحقق منه بإعادة الفحص. كودك ما يروح لسحابة حصن أبداً، ونموذج التحليل يشتغل على جهازك. HUSN is a security agent that runs on the developer's machine. It scans your repositories continuously, understands each flaw with a local AI, proposes the fix and proves it with a rescan. Your code is never sent to HUSN Cloud, and the analysis model runs on your machine.

صفر بايت من كودك يوصل لسحابة حصن0 bytes of code reach HUSN Cloud تراخيص موقّعة Ed25519Ed25519-signed leases مصنوع بالسعوديةBuilt in Saudi Arabia
husn scan ./apiillustration · src/db/reports.py
14def search_reports(request):
15 term = request.args.get("q")
16 db.execute(f"SELECT * FROM notes WHERE title LIKE '%{term}%'")
16 db.execute("SELECT * FROM notes WHERE title LIKE ?", (f"%{term}%",))
17 return db.fetchall()
18
19def export_pdf(request):
20 url = request.args.get("callback")
21 requests.get(url, timeout=5)
22# HUSN-142 · CWE-89 · request.args → db.execute
HUSN-142 · CWE-89Critical
SQL injection: user input reaches db.execute
src/db/reports.py:16 · request.args["q"] → execute()
detectunderstandassignfixverify
انزل تحتscroll
يشتغل مع الأدوات اللي عندكWorks with what you already use
GitHub SemgrepOllama · local LLMPython · AST taintJavaScript · TypeScriptDockerWindowsmacOSLinuxDeepSeek · opt-in chatOWASP Top 10CWE
three ways

ثلاث طرق حصن يخلص بها قائمة الثغرات حقتكThree ways HUSN works through your backlog

معظم الأدوات توقف عند قائمة التنبيهات. حصن يكمل المشوار: مين صاحب المشكلة، وش الإصلاح، وهل راحت فعلاً.Most tools stop at a list of alerts. HUSN finishes the job: who owns the issue, what the fix is, and whether it is really gone.

افحص على طولScan continuously

قواعد حصن، تحليل AST وتتبّع التلوّث، Semgrep، الأسرار، والاعتماديات — كل commit، أو بجدولة، أو لما تبي.HUSN rules, AST and taint analysis, Semgrep, secrets and dependencies — on every commit, on a schedule, or on demand.

افهم بذكاء محليUnderstand with local AI

نموذج يشتغل على جهازك يتتبّع المدخل لين يوصل نقطة الخطر، يحكم على قابلية الاستغلال، ويقلّل الإنذارات الكاذبة — بدون ما أحد يشوف كودك.A model on your machine traces input to sink, judges exploitability and cuts false positives — without anyone else seeing your code.

أصلح، وافق، تحققFix, approve, verify

إصلاح مقترح على شكل diff يطبّق على فرع محلي بعد موافقتك بس، وبعدين إعادة فحص. «تم الإصلاح» يعطيها الفاحص مو النموذج.A proposed diff lands on a local branch only after you approve, then a rescan. "Fixed" is granted by the scanner, not the model.

husn web · pilot

حصن ويب: حصن من المتصفح، لفرق الشركاتHusn Web: Husn in the browser, for company teams

النسخة المستضافة من حصن للشركات: افحص المشاريع، شوف النتائج حسب الخطورة والتصنيف، وولّد أوامر إصلاح جاهزة لأدوات التطوير حقتك، ونزّل التقارير بالعربي أو الإنجليزي. بخلاف تطبيق سطح المكتب، حصن ويب يعالج الكود اللي تعطيه على خوادمنا — وهو الحين في تجربة مغلقة تفحص مشاريع تجريبية معتمدة فقط، مو كودك.The hosted version of Husn for companies: scan projects, see findings by severity and category, generate fix prompts for your own development tools, and download reports in Arabic or English. Unlike the desktop app, Husn Web processes the code you give it on our servers — and it is currently a closed pilot that scans approved synthetic sample projects only, not your code.

where it runs

وين يشتغلWhere it runs

تطبيق الويب وقاعدة البيانات وتخزين الملفات والتقارير وفحص الكود مستضافة في منطقة الرياض لدى CranL. وضع «عادي» للمساعد يشتغل على خادم نشغّله في باريس، فرنسا. ووضع «سريع» يرسل الأسئلة عن المشاريع التجريبية، مع مقتطفات من كودها، إلى DeepSeek (خوادمه في الصين) بعد حذف بيانات الاعتماد.The web application, database, file storage, reports and code scanning are hosted in CranL's Riyadh region. The assistant's Normal mode runs on a server we operate in Paris, France. Its Fast mode sends questions about the sample projects, with excerpts of their code, to DeepSeek (servers in China) after removing credentials.

one account

حساب حصن واحدOne Husn account

نفس الحساب يشتغل في تطبيق سطح المكتب وفي حصن ويب. مسؤول شركتك يحدد مين يدخل، وبأي دور، ولين متى.The same account works in the desktop app and in Husn Web. Your company's administrator decides who has access, with which role, and until when.

تجربة: ما تمت مراجعتها أو اختبار اختراقها بشكل مستقل، وغير معتمدة وفق متطلبات الهيئة الوطنية للأمن السيبراني أو نظام حماية البيانات الشخصية. لا تضع معلومات شخصية أو سرية في الأسئلة.A pilot: not independently audited or penetration-tested, and not certified against NCA or PDPL requirements. Keep personal or confidential information out of your questions.

how it works

من الريبو لين «تم التحقق» بحلقة واحدةFrom repository to “verified” in one loop

01 · CONNECT

اربط الريبوConnect the repository

GitHub عبر تفويض الجهاز، أو مجلد محلي. حصن ينسخ ويزامن على جهازك؛ ما في ملفات مضغوطة، ولا رفع.GitHub via device authorization, or a local folder. HUSN clones and syncs on your machine; no zips, no upload.

$ husn project add github acme/api --branch main
✓ cloned to ~/.husn/repos/acme/api
✓ watching main · scan on push · weekly
token stored in OS keychain · never written to .git/config
02 · DETECT

افحص بعشر محللاتScan with ten analyzers

قواعد YAML، أسرار وسجل git، AST بايثون، تتبّع تلوّث لـ JavaScript وGo وJava وPHP، اعتماديات، IaC، ومراجعة بذكاء محلي — وSemgrep إذا كان مثبّت. ثلاث أدلة لنفس الثغرة تصير مشكلة وحدة بمعرّف ثابت.YAML rules, secrets and git history, Python AST, taint tracking for JavaScript, Go, Java and PHP, dependencies, IaC and local AI review, plus Semgrep when it is installed. Three pieces of evidence for one flaw become one issue with a stable id.

$ husn scan ./api --mode standard
● HUSN-142 CWE-89 critical src/db/reports.py:16
● HUSN-143 CWE-918 high src/export.py:21
● HUSN-144 CWE-798 high config/settings.py:8
3 new · 0 reopened · 11 existing · 2 fixed since last scan
03 · ASSIGN

كل ثغرة لها صاحبEvery flaw gets an owner

عيّن، أعد التعيين، صفّ حسب المسؤول، وشوف «اللي على اسمي». حالات واضحة: مفتوحة، قيد العمل، تصلحت، مخاطرة مقبولة، إنذار كاذب.Assign, reassign, filter by owner, see “assigned to me”. Clear states: open, in progress, fixed, accepted risk, false positive.

HUSN-142 · SQL injection Critical
src/db/reports.py:16
In progress · assigned to Ahmed · by Sara · 2 min ago
history: opened → triaged → assigned → in progress
04 · FIX & VERIFY

إصلاح بموافقتك، وإثبات بإعادة الفحصA fix you approve, proven by a rescan

النموذج المحلي يقترح، تراجع الـ diff، يطبّق على فرع husn/fix-HUSN-142 وما يدفع أبداً. بعدين إعادة فحص: تختفي الثغرة أو يلغى التغيير.The local model proposes, you review the diff, it lands on husn/fix-HUSN-142 and is never pushed. Then a rescan: the flaw is gone, or the change is reverted.

- cursor.execute(f”SELECT * FROM reports WHERE title LIKE '%{term}%'”)
+ cursor.execute(“SELECT * FROM reports WHERE title LIKE ?”, (f”%{term}%”,))
$ husn fix approve HUSN-142 → applied on husn/fix-HUSN-142
✓ rescan: CWE-89 at reports.py:16 no longer present · Fixed
the boundary

الكود يقعد هنا. السحابة بس تعرف مين أنت.The code stays here. The cloud only knows who you are.

هذا مو وعد بسياسة خصوصية؛ هذا تصميم. ما فيه بسحابة حصن مسار واحد يقدر يستقبل كود أو نتائج فحص — واختبار آلي يمنع إضافته.This is not a promise in a privacy policy; it is architecture. HUSN Cloud has no endpoint that can receive code or scan results — and an automated test keeps it that way.

your machine

وش اللي ما يطلع من جهازك أبداًWhat never leaves your machine

  • الكود المصدري والريبوهاتSource code and repositories
  • نتائج الفحص والأدلة ومسارات البياناتFindings, evidence and data flows
  • الإصلاحات المقترحة والـ diffsProposed patches and diffs
  • قاعدة البيانات المحلية وسجل التعييناتThe local database and assignment history
husn cloud

وش اللي تشوفه السحابة فعلاًWhat the cloud actually sees

POST /agents/heartbeatagent 2.0.1 · linux · ok
GET /licenselease · exp 15 min · signed
POST /agents/authorizedevice key · Ed25519
GET /updates2.0.1 · two signatures ✓

هوية، اشتراك، جهاز، تحديثات موقّعة، ومزامنة فريق مشفّرة من طرف لطرف. ما في شي ثاني.Identity, subscription, device, signed updates, and end-to-end encrypted team sync. Nothing else.

ذكاء اصطناعي محليLocal AI only

التحليل يشتغل عبر Ollama على جهازك. عناوين الشبكة العامة مرفوضة بالتصميم.Analysis runs through Ollama on your machine. Public network addresses are refused by design.

ترخيص موقّع لكل جهازA signed lease per device

مفتاح Ed25519 لكل جهاز، ترخيص مدته 15 دقيقة يتجدد بالنبض. إلغاء جهاز من السحابة يوقف فحصه خلال دقايق.An Ed25519 key per device and a 15-minute lease renewed by heartbeat. Revoke a device in the cloud and its scans stop within minutes.

تنقيح قبل أي محادثةRedaction before any chat

محادثة حصن اختيارية، بموافقة صريحة لكل مشروع، وتمرّ بمنقّح الأسرار قبل ما تطلع من الجهاز — وكل إجابة تعرض وش انرسل.HUSN Chat is opt-in per project, passes the secret redactor before leaving the machine, and every answer lists what was sent.

inside the agent

كل شي يحتاجه فريقك عشان يقفل الثغرات، مو يعدّهاEverything your team needs to close flaws, not count them

نتائج ما تتكررFindings that don't repeat

معرّف ثابت لكل ثغرة يتتبع عبر الفحوصات: جديدة، موجودة، تصلحت، رجعت. ما في ضجيج مكرر.One stable id per flaw tracked across scans: new, existing, fixed, reopened. No duplicate noise.

HUSN-142 · CWE-89 · A03:2021

فحص مجدول ولما تدفعScheduled and on-push scans

كل N ساعات، أسبوعياً، أو لما يتحرك البرانش. حصن يزامن محلياً ويفحص اللي تغيّر.Every N hours, weekly, or whenever the branch moves. HUSN syncs locally and scans what changed.

فريق بأدوار ومقاعدA team with roles and seats

مالك، مشرف، عضو. دعوات بالإيميل، مقاعد الاشتراك، وسجل تدقيق لكل تغيير.Owner, admin, member. Email invitations, subscription seats, an audit trail for every change.

تطبيق ديسكتوب حقيقيA real desktop app

Setup.exe لويندوز، dmg لماك، وDocker Compose للسيرفرات. يفتح بنافذة خاصة مثل أي تطبيق — مو تابات متصفح.Setup.exe for Windows, a dmg for macOS, a Docker Compose setup for servers. Opens in its own window like any app — no browser tabs.

محادثة تعرف مشروعكChat that knows your project

اسأل عن ثغرة، اطلب شرح أو إصلاح. بمفتاحك أنت، بموافقتك، وبشفافية كاملة عن اللي انرسل.Ask about a flaw, request an explanation or a patch. Your own key, your consent, full transparency about what was sent.

تحديثات موقّعةSigned updates

كل حزمة قواعد وكل إصدار يوقّع من السحابة ويتحقق منه على جهازك قبل الاستخدام.Every rule pack and release is signed by the cloud and verified on your machine before use.

SQL injectionXSSCommand injectionSSRFPath traversalXXEHardcoded secretsBroken authBroken access controlInsecure deserializationWeak cryptoMisconfigurationVulnerable dependenciesPrompt injection
why husn

الفاحصات السحابية تطلب كودك. حصن ما يحتاجه.Cloud scanners ask for your code. HUSN doesn't need it.

أدوات سحابيةCloud scanners
HUSN
وين يتحلل الكودWhere code is analysed
يرفع لسيرفراتهمUploaded to their servers
على جهازك بسOn your machine only
النتيجةThe output
قايمة تنبيهات مكررةA pile of duplicate alerts
مشكلة وحدة لكل ثغرة، بمعرّف ثابت وصاحبOne issue per flaw, stable id, an owner
بعد الاكتشافAfter detection
تقرير PDFA PDF report
برانش إصلاح + إعادة فحص تثبت الإغلاقA fix branch + a rescan that proves closure
الذكاء الاصطناعيThe AI
نموذج خارجي يشوف كل شيA remote model that sees everything
نموذج محلي؛ المحادثة اختيارية ومنقّحةA local model; chat is opt-in and redacted
اللغةLanguage
إنجليزي بسEnglish only
عربي أولاً، إنجليزي بكبسةArabic first, English one click away
التسعيرPricing
لكل ريبو، يتضاعف مع نموكPer repository, grows with you
لكل مقعد؛ ريبوهات بلا حدPer seat; unlimited repositories
in numbers

أرقام صادقة من المنتج، مو من الكلامHonest numbers from the product, not the pitch

0bytes
من كودك يوصل لسحابة حصنof your code reach HUSN Cloud
0
محللات مدمجة بكل فحص: قواعد، AST، تتبّع تلوّث لأربع لغات، أسرار، سجل git، اعتماديات، IaC، وذكاء محلي — وSemgrep إذا ثبّتهbuilt-in analyzers on every scan: rules, AST, taint tracking for four languages, secrets, git history, dependencies, IaC and local AI, plus Semgrep if you install it
0CWE
نوع ضعف (CWE) تغطيه القواعد والمحللات المدمجةweakness classes (CWE) covered by the built-in rules and analyzers
0min
مدة الترخيص قبل التجديد — الإلغاء يوصل خلال دقايقlease lifetime before renewal — revocation lands within minutes
design partners

نختار الحين أول فرق البيتاWe are choosing the first beta teams now

عدد محدود من الفرق اللي تبني منتجات حقيقية، تشتغل معنا عن قرب، وتحصل على خطة Team مجاناً وسعر تأسيسي بعدها. أسماؤها تطلع هنا بإذنها بس.A small number of teams building real products, working closely with us, on the Team plan free with a founding price afterwards. Their names appear here only with their permission.

صير واحد منهمBe one of them
مصنوع بالسعوديةMade in Saudi Arabia
made in saudi

مصنوع بالسعودية، لمطوّري المنطقة أولاً.Built in Saudi Arabia, for the region's developers first.

حصن منتج سعودي من فريق سعودي. يتكلم عربي من أول شاشة، يحترم اشتراطات بقاء البيانات داخل المملكة لأن الكود ما يروح لسحابة حصن أصلاً، ويقدّم دعم بلغتك وبتوقيتك.HUSN is a Saudi product from a Saudi team. Arabic from the first screen, data-residency requirements met by design because code is never sent to HUSN Cloud, and support in your language and your time zone.

السيادة على البياناتData sovereigntyما في كود ولا نتائج توصل للسحابة؛ السحابة ما تحتفظ إلا بالهوية والترخيص ومزامنة الفريق المشفّرة. خيار استضافة السحابة داخل منشأتك للمنظمات.No code or findings reach the cloud; it keeps identity, licensing and encrypted team sync only. On-premises cloud option for organizations.
عربي أولاًArabic firstالواجهة والتقارير والدعم بالعربي، والإنجليزي بكبسة زر — مو ترجمة لاحقة.Interface, reports and support in Arabic, English one click away — not an afterthought translation.
يدعم رؤية 2030In step with Vision 2030تقنية أمن سيبراني محلية تخدم الاقتصاد الرقمي السعودي وتبقي الخبرة والبيانات بالداخل.Home-grown cybersecurity that serves the Saudi digital economy and keeps expertise and data inside the Kingdom.
plans

ابدأ بالبيتا. وسّع لما تجهز.Start in the beta. Scale when you're ready.

التسعير لكل مقعد ويعلن مع الإطلاق العام. فرق البيتا تحصل على خطة Team مجاناً طوال البيتا.Per-seat pricing is announced at general availability. Beta teams get the Team plan free for the whole beta.

Starter

فردsolo
قريباًSoonلمطوّر واحدfor one developer
  • فحص بعشر محللاتTen-analyzer scanning
  • تحليل بذكاء اصطناعي محليLocal AI analysis
  • محادثة حصنHUSN Chat
  • مشاريع محليةLocal projects
انضم للويت ليستJoin the waitlist

Team

البيتاbeta teams
مجاناً بالبيتاFree during betaوبعدين لكل مقعد شهرياًthen per seat, monthly
  • كل اللي في StarterEverything in Starter
  • GitHub وفحص مجدول ولما تدفعGitHub, scheduled and on-push scans
  • اصلاح، موافقة، تحققFix, approve, verify
  • تعيين وحالات سير العملAssignment and workflow states
  • أدوار ومقاعد ودعواتRoles, seats, invitations
اطلب دعوةRequest an invitation

Enterprise

عند الطلبon request
تكلم معناTalk to usلفرق الأمن والمنظماتfor security teams and organizations
  • كل اللي في TeamEverything in Team
  • سحابة حصن داخل منشأتكHUSN Cloud on your premises
  • دخول موحّد SSO وترخيص بدون إنترنتSSO and offline licensing
  • تقارير امتثال NCA ECC وSAMA CSF ودعم مباشر من الفريقNCA ECC and SAMA CSF compliance reports, direct support from the team
تواصل معناContact us
faq

أسئلة يسألها كل فريق أمنQuestions every security team asks

هل كودي فعلاً ما يطلع من جهازي؟Does my code really never leave my machine?+
لا، إلا إذا فعّلت بنفسك محادثة حصن مع DeepSeek لمشروع معيّن. الفحص والتحليل والإصلاح تشتغل محلياً. السحابة تستقبل الهوية والاشتراك ونبض الجهاز وإصداره بس — وما عندها أي مسار يقبل كود أو نتائج، ويحرس ذا اختبار آلي بكل إصدار.No, unless you turn on HUSN Chat with DeepSeek for a project yourself. Scanning, analysis and fixing run locally. The cloud receives identity, subscription, device heartbeat and version — and has no endpoint that accepts code or findings, guarded by an automated test on every release.
أي ذكاء اصطناعي يشتغل، ووين؟Which AI runs, and where?+
تحليل الثغرات يشتغل عبر Ollama على جهازك ويرفض أي عنوان عام على الإنترنت. محادثة حصن تستخدم DeepSeek بمفتاحك أنت، اختيارياً، بموافقة لكل مشروع، وبعد تنقيح الأسرار.Vulnerability analysis runs through Ollama on your machine and refuses public internet addresses. HUSN Chat uses DeepSeek with your own key, opt-in, per-project consent, after secret redaction.
وش يصير بدون نت؟What happens offline?+
الوكيل يحتاج ترخيص موقّع يتجدد كل 15 دقيقة. بدون نت يكمل لين ينتهي الترخيص وبعدين يوقف الفحص بأمان؛ بياناتك المحلية تظل سليمة وكل شي يرجع لما يرجع النت.The agent needs a signed lease renewed every 15 minutes. Offline it keeps working until the lease expires, then scanning pauses safely; your local data is intact and everything resumes on reconnect.
أي لغات وأطر عمل؟Which languages and frameworks?+
بايثون (AST وتتبّع تلوّث) و JavaScript/TypeScript (تلوّث) بعمق، وقواعد Semgrep وحصن لـ Go و Java و PHP و Ruby وملفات الإعداد، مع كشف الأسرار والاعتماديات لكل المشاريع.Python (AST and taint) and JavaScript/TypeScript (taint) in depth, plus Semgrep and HUSN rules for Go, Java, PHP, Ruby and config files, with secrets and dependency checks for every project.
كيف تطبّق الإصلاحات؟How are fixes applied?+
النموذج يقترح، حصن يبني diff ويتحقق منه بـ git apply --check، توافق أنت، وبعدين يطبّق على برانش husn/fix-HUSN-NNN محلياً. ما يدفع شي ولا يلمس برانشك. إعادة الفحص تقرر: تصلحت، أو يلغى التغيير.The model proposes, HUSN builds the diff and checks it with git apply --check, you approve, then it lands on a local husn/fix-HUSN-NNN branch. Nothing is pushed and your branch is untouched. The rescan decides: fixed, or reverted.
كيف يوثّق الوكيل؟How is the agent authenticated?+
تسجيل دخول بالإيميل، مفتاح Ed25519 لكل جهاز بخزنة مفاتيح النظام، وترخيص موقّع من السحابة يحمل المنظمة والخطة والحد الأدنى للإصدار. إلغاء الجهاز من لوحة المنظمة يوقفه خلال دقايق.Email sign-in, an Ed25519 key per device in the OS keychain, and a cloud-signed lease carrying organization, plan and minimum version. Revoking a device from the organization page stops it within minutes.
متى يعلن التسعير؟When is pricing announced?+
مع الإطلاق العام. التسعير لكل مقعد، ريبوهات بلا حد. فرق البيتا تستخدم خطة Team مجاناً طوال البيتا وتحصل على سعر تأسيسي بعدها.At general availability. Per seat, unlimited repositories. Beta teams use the Team plan free throughout the beta and get a founding price afterwards.
private beta

حصّن كودك قبل ما يختبره أحد غيرك.Fortify your code before someone else tests it.

أرسل لنا اسم فريقك ووش تبنون. نراجع كل طلب يدوياً ونرسل الدعوة خلال أيام.Tell us your team and what you build. We review every request by hand and send the invitation within days.

سحابة حصنHUSN Cloud

ما في رسايل تسويقية. إيميلك يستخدم للدعوة بس.No marketing mail. Your address is used for the invitation only.

info@husn.tech