By · Last updated 2026-04-05

חזרה לבלוגאבטחת AI

שימוש ב-Cursor וב-Claude מבלי לדלוף קוד

Cursor טוען קבצי .env לתוך הקשר AI כברירת מחדל. חברת שירותים פיננסיים איבדה 12 מיליון דולר לאחר שאלגוריתמי מסחר קנייניים נשלחו לעוזר AI.

April 5, 20269 דקות קריאה
Cursor AI securitydeveloper credential leakMCP Server protectionClaude Code securitycodebase privacy

מה Cursor טוען להקשר AI

Cursor טוען קבצי JSON ו-YAML להקשר AI כברירת מחדל. קבצים אלה לרוב מחזיקים טוקני ענן, סיסמאות מסד נתונים והגדרות פריסה.

הסיכון אינו שימוש רשלני. זוהי ההגדרה ברירת המחדל. כל הפעלת קידוד AI שנוגעת בקבצי קונפיגורציה יכולה לשלוח אותם לשרתי Anthropic או OpenAI.

כוונת המפתח בסדר. הוא מבקש מה-AI לתקן שאילתת מסד נתונים. לשאילתה יש מחרוזת חיבור. ה-AI רואה אותה. זוהי הדליפה. זוהי תופעת לוואי של עבודה רגילה. כללי מדיניות לבדם לא יכולים לעצור זאת באופן אמין.

לכן אימוץ כלי Model Context Protocol זינק 340% בסביבות ארגוניות ב-Q4 2025. צוותים זקוקים לתיקון טכני. מסמך מדיניות חדש אינו מספיק.

ההשלכה של 12 מיליון דולר

חברת שירותים פיננסיים איבדה שליטה על אלגוריתמי המסחר הקנייניים שלה. האלגוריתמים הגיעו לשרתי עוזר AI במהלך הפעלת סקירת קוד.

העלות המשוערת: 12 מיליון דולר (IBM Cost of Data Breach 2025, ארגונים עם יותר מ-10,000 עובדים). החברה לא יכלה לבטל את חשיפת הנתונים. היא הייתה צריכה לבדוק כל קובץ שהועבר. היא שכרה ייעוץ משפטי על חשיפת סוד מסחרי. היא ביצעה סקירת נזק תחרותי.

זה המקרה הגרוע ביותר. המקרה הנפוץ קטן יותר אך מצטבר מהר. מפתחות API מסובבים לאחר שמופיעים ביומני שיחת AI. סיסמאות מסד נתונים מוחלפות לאחר שמופיעות ברשומות כלים. טוקני OAuth מבוטלים לאחר שהקלטות מסך לוכדות אותם. כל שלב לוקח זמן צוות. העלות אמיתית ולעיתים נדירות נעקבת.

כיצד שכבת האנונימיזציה פועלת

Model Context Protocol (MCP) מוסיף שכבה בין לקוח ה-AI לבין ה-API של מודל ה-AI. כל פרומפט עובר דרך מנוע אנונימיזציה לפני שמגיע למודל.

ללא הגנה: מפתח כותב סקריפט מיגרציה. יש לו מחרוזת חיבור: postgres://admin:password@host:5432/db. מודל ה-AI מקבל את המחרוזת כמות שהיא.

עם שכבת האנונימיזציה: המנוע מזהה את המחרוזת. הוא מחליף אותה בטוקן — [DB_CONN_1]. המודל רואה את המבנה וההיגיון של הסקריפט. האישור נשאר מקומי.

אפשרות ההצפנה הפיכה הולכת רחוק יותר. מזהי לקוחות וקודי מוצר מוצפנים ומוחלפים בטוקנים דטרמיניסטיים. ה-AI מחזיר תשובה שמשתמשת בטוקנים אלה. השרת מפענח את התשובה ומחליף את הטוקנים בחזרה בערכים אמיתיים. המפתח קורא מזהים אמיתיים. מודל ה-AI מעולם לא ראה אותם.

הגדרה וחוויית מפתח

לצוותי פיתוח, ההגדרה היא משימה חד-פעמית. Cursor ו-Claude Code מוגדרים לנתב דרך שרת פרוקסי מקומי. קונפיגורציית השרת מגדירה אילו סוגי ישויות ליירט:

  • מפתחות API
  • מחרוזות חיבור למסד נתונים
  • טוקני אימות
  • אישורי AWS, Azure ו-GCP
  • כותרות מפתח פרטי

צוותים יכולים להוסיף תבניות מותאמות לשמות שירות פנימיים או פורמטי מזהים קנייניים.

מצד המפתח, לא משתנה דבר. השלמה אוטומטית, סקירת קוד, עזרת ניפוי באגים וייצור תיעוד עובדים כקודם. הפרוקסי רץ בשקט ברקע.

ניתוח 2025 של Checkpoint Research סימן חשיפת אישורי מפתחים כסיכון בעל ההשפעה הגבוהה ביותר בפריסת כלי AI לקידוד. זוהי בדיוק הבעיה שארכיטקטורה זו פותרת. זהו תיקון טכני, לא תזכורת מדיניות.

למדו עוד בסקירת האבטחה שלנו ותיעוד הציות. ראו גם מדריך זיהוי הישויות שלנו לרשימה המלאה של סוגי הנתונים המיורטים.

מקורות

מוכן להגן על הנתונים שלך?

התחל לאנונימיזציה של PII עם 285+ סוגי ישויות ב-48 שפות.

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.