By · Last updated 2026-04-05

ब्लॉग पर वापस जाएँAI सुरक्षा

Cursor और Claude का उपयोग कोड लीक किए बिना

Cursor डिफ़ॉल्ट रूप से .env फाइलें AI संदर्भ में लोड करता है। एक वित्तीय सेवा फर्म ने $12M खो दिए जब मालिकाना ट्रेडिंग एल्गोरिदम 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 उसे देखता है। यही लीक है। यह सामान्य काम का एक साइड इफेक्ट है। नीति नियम अकेले इसे विश्वसनीय रूप से नहीं रोक सकते।

इसीलिए Q4 2025 में एंटरप्राइज़ वातावरण में Model Context Protocol टूलिंग को अपनाना 340% बढ़ा। टीमों को एक तकनीकी समाधान चाहिए। एक नया नीति दस्तावेज़ पर्याप्त नहीं है।

$12M परिणाम

एक वित्तीय सेवा फर्म ने अपने मालिकाना ट्रेडिंग एल्गोरिदम पर नियंत्रण खो दिया। एल्गोरिदम कोड समीक्षा सत्र के दौरान AI सहायक के सर्वर पर गए।

अनुमानित लागत: $12M (IBM Cost of Data Breach 2025, >10,000 कर्मचारियों वाले संगठन)। फर्म डेटा का खुलासा रद्द नहीं कर सकती थी। उसे हर प्रेषित फाइल का ऑडिट करना था। उसने ट्रेड सीक्रेट एक्सपोज़र पर कानूनी सलाह ली। उसने प्रतिस्पर्धी नुकसान की समीक्षा की।

यह सबसे खराब मामला है। सामान्य मामला छोटा है लेकिन तेजी से जुड़ता है। API कुंजियां बदली जाती हैं जब वे AI चैट लॉग में दिखाई देती हैं। डेटाबेस पासवर्ड बदले जाते हैं टूल रिकॉर्ड में दिखाई देने के बाद। OAuth टोकन रद्द किए जाते हैं स्क्रीन रिकॉर्डिंग के उन्हें कैप्चर करने के बाद। प्रत्येक चरण में कर्मचारी समय लगता है। लागत वास्तविक है और शायद ही कभी ट्रैक की जाती है।

अनामीकरण परत कैसे काम करती है

Model Context Protocol (MCP) AI क्लाइंट और AI मॉडल API के बीच एक परत जोड़ता है। प्रत्येक प्रॉम्प्ट मॉडल को हिट करने से पहले एक अनामीकरण इंजन से गुजरता है।

सुरक्षा के बिना: एक डेवलपर माइग्रेशन स्क्रिप्ट लिखता है। इसमें एक कनेक्शन स्ट्रिंग है: postgres://admin:password@host:5432/db। AI मॉडल उस स्ट्रिंग को यथावत प्राप्त करता है।

अनामीकरण परत के साथ: इंजन स्ट्रिंग को पकड़ता है। यह उसे एक टोकन से बदलता है – [DB_CONN_1]। मॉडल स्क्रिप्ट की संरचना और तर्क देखता है। क्रेडेंशियल स्थानीय रहता है।

रिवर्सिबल एन्क्रिप्शन विकल्प आगे जाता है। ग्राहक ID और उत्पाद कोड एन्क्रिप्ट किए जाते हैं और निर्धारक टोकन से बदले जाते हैं। AI उन टोकन का उपयोग करने वाली प्रतिक्रिया लौटाता है। सर्वर प्रतिक्रिया डिक्रिप्ट करता है और टोकन को वास्तविक मूल्यों से बदलता है। डेवलपर वास्तविक पहचानकर्ता पढ़ता है। AI मॉडल ने उन्हें कभी नहीं देखा।

सेटअप और डेवलपर अनुभव

डेवलपमेंट टीमों के लिए, सेटअप एक बार का कार्य है। Cursor और Claude Code एक स्थानीय प्रॉक्सी सर्वर के माध्यम से रूट करने के लिए कॉन्फ़िगर किए जाते हैं। सर्वर कॉन्फ़िग परिभाषित करता है कि किन एंटिटी प्रकारों को इंटरसेप्ट करना है:

  • API कुंजियां
  • डेटाबेस कनेक्शन स्ट्रिंग
  • Auth टोकन
  • AWS, Azure, और GCP क्रेडेंशियल
  • प्राइवेट की हेडर

टीमें आंतरिक सेवा नामों या मालिकाना पहचानकर्ता प्रारूपों के लिए कस्टम पैटर्न जोड़ सकती हैं।

डेवलपर की तरफ से, कुछ नहीं बदलता। ऑटोकम्पलीट, कोड समीक्षा, डीबगिंग मदद, और दस्तावेज़ीकरण जनरेशन सब पहले की तरह काम करते हैं। प्रॉक्सी पृष्ठभूमि में चुपचाप चलता है।

Checkpoint Research के 2025 विश्लेषण ने AI कोडिंग टूल डिप्लॉयमेंट में डेवलपर क्रेडेंशियल एक्सपोज़र को सबसे उच्च-प्रभाव जोखिम के रूप में फ्लैग किया। यही वह समस्या है जिसे यह आर्किटेक्चर हल करता है। यह एक तकनीकी समाधान है, नीति अनुस्मारक नहीं।

हमारे सुरक्षा अवलोकन और अनुपालन दस्तावेज़ीकरण में अधिक जानें। इंटरसेप्ट किए गए डेटा प्रकारों की पूरी सूची के लिए हमारा एंटिटी डिटेक्शन गाइड भी देखें।

स्रोत

क्या आप अपने डेटा की सुरक्षा के लिए तैयार हैं?

48 भाषाओं में 285+ संस्थाओं के प्रकारों के साथ PII अनामकरण शुरू करें।

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.