Skip to content

Bartłomiej Czech

Software Engineer building and securing AI systems.

Section I: About

I work mostly on AI agents, the Model Context Protocol (MCP) and the infrastructure that connects agents to real tools and data.

The question I keep coming back to is how to let an agent act for someone without giving it more than it should have: who it acts as, where it can reach, what it can read, and what it does when its input lies to it.

At ActiveCampaign I lead custom MCP connectors in Active Intelligence, our AI agent: customers connect any MCP server, and the agent can use its tools next to the ones we ship. Before that, I built the OAuth that lets ChatGPT, Claude and Cursor connect to our MCP server with a single URL.

I’ve spoken at the GenAI Kraków Meetup (agent development) and the BRAVE AI Community meetup (AI-native SWE workflow), and took part in Bending Spoons First Ascent Poland 2026.

Away from the keyboard, I love linguistics, poetry, history and martial arts.

Section II: Recent Projects

  1. camel-prompt-injection

    Defends AI agents against prompt injection by design, extending DeepMind’s CaMeL architecture with scope-guarded branching and a static analyser. The base for my Master’s thesis; on AgentDojo it reaches 77.5% task utility with 0% attack success.

    GitHub: camel-prompt-injection

  2. Security Architecture for AI Agent Systems

    My Master’s thesis (MEng Cybersecurity, AGH University of Kraków), defended with honours. It builds a complete evaluation pipeline for secure LLM agents: datasets, metrics, adversarial evaluations and deployment.

    Zenodo: Security Architecture for AI Agent Systems

  3. scopeguard-rag

    Access control for RAG: a benchmark of five strategies for keeping retrieval from leaking documents a user shouldn’t see. It measures answer quality against document leakage for each strategy.

    GitHub: scopeguard-rag

  4. ai-agent-security-thesis

    Prototype code from my thesis. It implements an MCP gateway that puts a policy engine and scoped tokens between agents and their tools.

    GitHub: ai-agent-security-thesis

Section III: Experience

  1. Nov 2025 – Present

    ActiveCampaign · Associate Software Engineer

    • Lead custom MCP connectors in Active Intelligence, ActiveCampaign’s AI agent, from the first spike and architecture decision record to production. Customers connect any remote MCP server over OAuth, and the agent calls its tools next to the built-in connectors. Designed security-first, since the agent calls servers the customer chooses.
    • Implemented and shipped single-URL OAuth 2.1 for the company’s multi-tenant MCP server: Dynamic Client Registration, Authorization Code with PKCE, account selection, token refresh and revocation. ChatGPT, Claude and Cursor connect with one URL, and it laid the groundwork for ActiveCampaign’s ChatGPT app.
    • Worked on rolling the MCP server out across multiple AWS regions on multi-cell Kubernetes: added its ingress configuration, traced cross-namespace networking failures to Istio RBAC, and wrote the service’s infrastructure documentation.
    • Worked on the Integrations Recommendations agent and shipped its move from fixed categories to keyword-based full-text search, improving how it picks tools with production traces in Langfuse. Presented the work at the GenAI Kraków Meetup.
  2. Jul – Sep 2025

    ActiveCampaign · Software Engineering Intern

    • Rebuilt a legacy Python service into client, API and service layers with input validation and dependency injection, raising test coverage from 32% to 95% and cutting duplicated code fivefold.
    • Fixed a long-standing data-integrity issue in a company-wide ARR metric, and contributed to the early MCP server.
  3. Mar – Jul 2025

    Accenture · GenAI Engineering Intern

    • Worked on a production RAG system that matches candidates to projects from unstructured CVs, from NLP preprocessing to embedding-based retrieval and evaluation.
  4. Jul – Sep 2024

    Comarch · Software Engineering Intern (RAG)

    • Worked on a RAG assistant over internal technical documentation.

Education

  1. 2025 – 2026

    MEng, Cybersecurity · AGH University of Kraków · Defended with honours

  2. 2021 – 2025

    BEng, ICT · AGH University of Kraków

Section IV: Writing

  1. When the MCP server is the attacker

    Everybody hardens the server, but almost nobody asks what the client does when a server tells it to go fetch something. This post shows how a hostile server can turn your client against your own network, and which defenses hold up.

    #mcp #security #oauth

Section V: Contact

The best way to reach me is email.