By · Last updated 2026-04-05

Bumalik sa BlogSeguridad ng AI

Paggamit ng Cursor at Claude Nang Hindi Naglalabas ng Code

Naglo-load ang Cursor ng mga .env file sa AI context bilang default. Nawalan ng $12M ang isang financial services firm pagkatapos maipadala ang mga proprietary trading algorithm sa isang AI assistant.

April 5, 20269 min basahin
Cursor AI securitydeveloper credential leakMCP Server protectionClaude Code securitycodebase privacy

Ano ang Ino-load ng Cursor sa AI Context

Nag-lo-load ang Cursor ng mga JSON at YAML config file sa AI context bilang default. Madalas na naglalaman ang mga file na iyon ng mga cloud token, database password, at mga setting ng deployment.

Ang panganib ay hindi sa walang ingat na paggamit. Nasa default na setup ito. Bawat AI coding session na humahawak sa mga config file ay maaaring magpadala ng mga file na iyon sa mga server ng Anthropic o OpenAI.

Maganda ang intensyon ng developer. Hihingin nila sa AI na ayusin ang isang database query. Ang query ay may connection string. Nakita ito ng AI. Iyon ang leak. Ito ay side effect ng normal na trabaho. Ang mga panuntunan ng patakaran lamang ay hindi kayang mapigilan ito nang maaasahan.

Iyon ang dahilan kung bakit tumaas ng 340% ang pag-aaral ng Model Context Protocol tooling sa mga enterprise environment sa Q4 2025. Kailangan ng mga koponan ng teknikal na solusyon. Hindi sapat ang isang bagong dokumento ng patakaran.

Ang $12M na Kahihinatnan

Nawalan ng kontrol ang isang financial services firm sa mga proprietary trading algorithm nito. Pumunta ang mga algorithm sa mga server ng isang AI assistant sa panahon ng isang code review session.

Ang tinatansyang gastos: $12M (IBM Cost of Data Breach 2025, mga organisasyong may >10,000 empleyado). Hindi na maaring i-undisclose ng firm ang data. Kailangan nitong mag-audit ng bawat ipinadalang file. Nag-hire ito ng legal counsel para sa pagkakalantad ng trade secret. Nagsagawa ito ng competitive damage review.

Iyon ang pinakamasamang kaso. Ang karaniwang kaso ay mas maliit ngunit mabilis itong naipon. Ang mga API key ay ini-rotate pagkatapos lumabas sa mga AI chat log. Ang mga database password ay ini-cycle pagkatapos lumabas sa mga rekord ng tool. Ang mga OAuth token ay binabawi pagkatapos makuha ng mga screen recording. Bawat hakbang ay nangangailangan ng oras ng kawani. Ang gastos ay totoo at bihirang sinusubaybayan.

Kung Paano Gumagana ang Anonymization Layer

Ang Model Context Protocol (MCP) ay nagdaragdag ng layer sa pagitan ng AI client at ng AI model API. Bawat prompt ay dumadaan sa isang anonymization engine bago ito makarating sa modelo.

Nang walang proteksyon: Sumulat ang isang developer ng migration script. Mayroon itong connection string: postgres://admin:password@host:5432/db. Nakukuha ng AI model ang string na iyon nang buo.

Na may anonymization layer: Nakita ng engine ang string. Pinalitan nito ito ng isang token — [DB_CONN_1]. Nakikita ng modelo ang istruktura at logic ng script. Nananatili ang credential sa lokal.

Ang opsyon ng reversible encryption ay higit pa rito. Ang mga customer ID at product code ay ine-encrypt at pinapalitan ng mga deterministic na token. Ang AI ay nagbabalik ng tugon na gumagamit ng mga token na iyon. Dine-decrypt ng server ang tugon at pinalpalitan ang mga token ng mga tunay na halaga. Binabasa ng developer ang mga aktwal na identifier. Hindi kailanman nakita ang mga ito ng AI model.

Setup at Karanasan ng Developer

Para sa mga development team, ang setup ay isang beses na gawain. Ang Cursor at Claude Code ay naka-configure upang mag-route sa pamamagitan ng isang lokal na proxy server. Tinutukoy ng server config kung aling uri ng entity ang haharangin:

  • Mga API key
  • Mga database connection string
  • Mga auth token
  • Mga credential ng AWS, Azure, at GCP
  • Mga private key header

Maaaring magdagdag ang mga koponan ng mga custom na pattern para sa mga panloob na pangalan ng serbisyo o mga proprietary na format ng identifier.

Mula sa panig ng developer, walang nagbabago. Gumagana ang autocomplete, code review, tulong sa pag-debug, at pagbuo ng dokumentasyon tulad ng dati. Tumatakbo ang proxy nang tahimik sa background.

Itinanghal ng pagsusuri ng Checkpoint Research noong 2025 ang pagkakalantad ng developer credential bilang pinaka-mataas na epektong panganib sa mga deployment ng AI coding tool. Iyon mismo ang problemang nireresulba ng arkitekturang ito. Ito ay isang teknikal na solusyon, hindi isang paalala sa patakaran.

Matuto pa sa aming security overview at compliance documentation. Tingnan din ang aming entity detection guide para sa buong listahan ng mga uri ng data na hinaharangi.

Mga Pinagkukunan

Handa nang protektahan ang iyong data?

Simulan ang anonymization ng PII gamit ang 285+ uri ng entidad sa 48 wika.

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.