By · Last updated 2026-04-05

Kembali ke BlogKeamanan AI

Menggunakan Cursor & Claude Tanpa Membocorkan Kode

Cursor memuat file .env ke dalam konteks AI secara default. Sebuah perusahaan jasa keuangan kehilangan $12 juta setelah algoritma trading proprietary dikirim ke asisten AI.

April 5, 20269 menit baca
Cursor AI securitydeveloper credential leakMCP Server protectionClaude Code securitycodebase privacy

Apa yang Dimuat Cursor ke dalam Konteks AI

Cursor memuat file konfigurasi JSON dan YAML ke dalam konteks AI secara default. File-file tersebut sering kali menyimpan token cloud, kata sandi database, dan pengaturan deployment.

Risikonya bukan dari penggunaan yang ceroboh. Ini adalah pengaturan default. Setiap sesi coding AI yang menyentuh file konfigurasi berpotensi mengirimkan file tersebut ke server Anthropic atau OpenAI.

Niat pengembangnya baik. Mereka meminta AI memperbaiki kueri database. Kueri tersebut memiliki connection string. AI melihatnya. Itulah kebocoran. Ini adalah efek samping dari pekerjaan normal. Aturan kebijakan saja tidak dapat menghentikannya secara andal.

Itulah mengapa adopsi tooling Model Context Protocol melonjak 340% di lingkungan enterprise pada Q4 2025. Tim membutuhkan solusi teknis. Dokumen kebijakan baru tidaklah cukup.

Konsekuensi Senilai $12 Juta

Sebuah perusahaan jasa keuangan kehilangan kendali atas algoritma trading proprietary miliknya. Algoritma tersebut dikirim ke server asisten AI selama sesi tinjauan kode.

Perkiraan biaya: $12 juta (IBM Cost of Data Breach 2025, organisasi dengan >10.000 karyawan). Perusahaan tidak dapat membatalkan pengungkapan data tersebut. Mereka harus mengaudit setiap file yang dikirimkan, menyewa konsultan hukum untuk masalah rahasia dagang, dan menjalankan tinjauan kerusakan kompetitif.

Itu adalah kasus terburuk. Kasus yang umum lebih kecil tetapi terus bertambah. Kunci API dirotasi setelah muncul di log chat AI. Kata sandi database diganti setelah muncul dalam rekam alat. Token OAuth dicabut setelah rekaman layar menangkap keberadaannya. Setiap langkah memakan waktu staf. Biayanya nyata dan jarang dilacak.

Cara Kerja Lapisan Anonimisasi

Model Context Protocol (MCP) menambahkan lapisan antara klien AI dan API model. Setiap prompt melewati mesin anonimisasi sebelum mencapai model.

Tanpa perlindungan: seorang pengembang menulis skrip migrasi yang memiliki connection string: postgres://admin:password@host:5432/db. Model AI menerima string tersebut apa adanya.

Dengan lapisan anonimisasi: mesin mendeteksi string tersebut dan menggantinya dengan token — [DB_CONN_1]. Model melihat struktur dan logika skrip. Kredensial tetap berada di lokal.

Opsi enkripsi reversibel melangkah lebih jauh. ID pelanggan dan kode produk dienkripsi dan diganti dengan token deterministik. AI mengembalikan respons yang menggunakan token-token tersebut. Server mendekripsi respons dan mengganti token dengan nilai nyata. Pengembang membaca pengenal yang sesungguhnya. Model AI tidak pernah melihatnya.

Pengaturan dan Pengalaman Pengembang

Bagi tim pengembang, pengaturan hanya perlu dilakukan sekali. Cursor dan Claude Code dikonfigurasi untuk merutekan melalui server proxy lokal. Konfigurasi server mendefinisikan tipe entitas mana yang perlu dicegat:

  • Kunci API
  • Connection string database
  • Token autentikasi
  • Kredensial AWS, Azure, dan GCP
  • Header kunci privat

Tim dapat menambahkan pola khusus untuk nama layanan internal atau format pengenal proprietary.

Dari sisi pengembang, tidak ada yang berubah. Autocomplete, tinjauan kode, bantuan debugging, dan pembuatan dokumentasi semuanya berjalan seperti sebelumnya. Proxy berjalan diam-diam di latar belakang.

Analisis Checkpoint Research 2025 menandai eksposur kredensial pengembang sebagai risiko berdampak tertinggi dalam deployment alat coding AI. Itulah persis masalah yang diselesaikan oleh arsitektur ini. Ini adalah solusi teknis, bukan pengingat kebijakan.

Pelajari lebih lanjut dalam ikhtisar keamanan dan dokumentasi kepatuhan kami. Lihat juga panduan deteksi entitas untuk daftar lengkap tipe data yang dicegat.

Sumber

Siap untuk melindungi data Anda?

Mulai anonimisasi PII dengan 285+ jenis entitas dalam 48 bahasa.

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.