MCP, Functions and Security | Development with AI Tools

ShaBoncuku1 10 views 32 slides Oct 22, 2025
Slide 1
Slide 1 of 32
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32

About This Presentation

Amsterdam PHP October 2025 Talk


Slide Content

DEVELOPMENT
WITH AI TOOLS
October
Suha Boncukcu
@suhaboncukcu
2025
MCP x Functions x
Security

01. LLMs and their problems
A. Missing Context
B. Lack of functionality
C. Solution
02. Security
A. Tool poisoning
B. Tool hijacking
C. Rug pulling
D. Direct prompt injection
E. Indirect prompt injection
F. Policy injection
G. Code injection
H. Multimodal injection
03. Discussions & Thanks
CONTENTS


MISSING CONTEXT
Missing context is a real problem for an LLM
with a cuto date.
Even websearch does not help at all times
since sometimes what you mean is dierent
than what the world means.
Steve Jobs
You can’t connect the dots looking
forward; you can only connect them
looking backwards.

They don’t know about currently happening
things without any extra tools.
A year too late

They are not allowed to access your
context.
My database definitely doesn’t have a table
called auth_logins.

Calculations might dier from context to
context
I know adults half my size


LACK OF FUNCTIONALITY
It’s nice to talk with somebody that knows
everything.
Will it be a good assistant when it comes to
action?
Alan Kay
Simple things should be simple,
complex things should be possible.

CHALLENGE 1
Send an email to Opek service to tell
them they did a terrible job.
CHALLENGE 2
Please call my mom and apologize for
not visiting her more often. Make sure
you’re kind and also order a bouquet of
daisies.
CHALLENGE 3
The oice is quite cold. Please arrange a
beer environment. I’m also done with
the living room, you can turn the heater
o over there.


SOLUTIONS
Now it’s time to leverage what we have been
doing all those years!
Richard James
Engineering problems are
under-defined; there are many
solutions, good, bad, and indierent.
The art is to arrive at a good solution.

MCP
(Model
Context
Protocol)

OpenAI
Agents
SDK

MCP IMPLEMENTATION

MCP IMPLEMENTATION

MCP IMPLEMENTATION

Agents SDK IMPLEMENTATION

AGENTS SDK
IMPLEMENTATION

AGENTS SDK
IMPLEMENTATION


SECURITY
With great power comes with great
responsibility.
Bruce Schneier
Security is not a product, but a process.

TOOL POISONING

TOOL HIJACKING

RUG PULLING

RUG PULLING

DIRECT PROMPT INJECTION

DIRECT PROMPT INJECTION

DIRECT PROMPT INJECTION

INDIRECT PROMPT
INJECTION

INDIRECT PROMPT
INJECTION

POLICY INJECTION

CODE INJECTION

MILTI-MODAL INJECTION

MILTI-MODAL INJECTION


THANKS!
Everything changed while you were listening
this talk.
Now, nothing is relevant anymore.
Heraclitos
The only constant is change.