SearcharxivSearch

arXiv subjects

Tobias Mattsson

Publications and source records attributed to Tobias Mattsson.

4 recordsLinked to original sources

Machine Learning-Based Detection of MCP Attacks

The Model Context Protocol (MCP) is a new and emerging technology that extends the functionality of large language models, improving workflows but also exposing users to a new attack surface. Several studies have highlighted related security flaws, but MCP attack detection remains underexplored. To address this research gap, this study develops and evaluates a range of supervised machine learning approaches, including both traditional and deep-learning models. We evaluated the systems on the detection of malicious MCP tool descriptions in two scenarios: (1) a binary classification task distinguishing malicious from benign tools, and (2) a multiclass classification task identifying the attack type while separating benign from malicious tools. In addition to the machine learning models, we compared a rule-based approach that serves as a baseline. The results indicate that several of the developed models achieved 100\% F1-score on the binary classification task. In the multiclass scenario, the SVC and BERT models performed best, achieving F1 scores of 90.56\% and 88.33\%, respectively. Confusion matrices were also used to visualize the full distribution of predictions often missed by traditional metrics, providing additional insight for selecting the best-fitting solution in real-world scenarios. This study presents an addition to the MCP defence area, showing that machine learning models can perform exceptionally well in separating malicious and benign data points. To apply the solution in a live environment, a middleware was developed to classify which MCP tools are safe to use before execution, and block the ones that are not safe. Furthermore, the study shows that these models can outperform traditional rule-based solutions currently in use in the field.

cs.CR

Bilinear Sparse Domination for Oscillatory Integral Operators

In this paper, we prove bilinear sparse domination bounds for a wide class of Fourier integral operators of general rank, as well as oscillatory integral operators associated to Hörmander symbol classes $S^m_{ρ,δ}$ for all $0\leqρ\leq 1$ and $0\leqδ< 1$, a notable example is the Schrödinger operator. As a consequence, one obtains weak $(1,1)$ estimates, vector-valued estimates, and a wide range of weighted norm inequalities for these classes of operators.

math.CA

Regularity of oscillatory integral operators

In this paper, we establish the global boundedness of oscillatory integral operators on Besov-Lipschitz and Triebel-Lizorkin spaces, with amplitudes in general $S^m_{ρ,δ}(\mathbb{R}^n)$-classes and non-degenerate phase functions in the class $\textart F^k$. Our results hold for a wide range of parameters $0\leqρ\leq1$, $0\leqδ<1$, $0 0$. We also provide a sufficient condition for the boundedness of operators with amplitudes in the forbidden class $S^m_{1,1}(\mathbb{R}^n)$ in Triebel-Lizorkin spaces.

math.AP

Boundedness of Fourier integral operators on classical function spaces

We investigate the global boundedness of Fourier integral operators with amplitudes in the general Hörmander classes $S^{m}_{ρ, δ}(\mathbb{R}^n)$, $ρ, δ\in [0,1]$ and non-degenerate phase functions of arbitrary rank $κ\in \{0,1,\dots, n-1\}$ on Besov-Lipschitz $B^{s}_{p,q}(\mathbb{R}^n)$ and Triebel-Lizorkin $F^{s}_{p,q}(\mathbb{R}^n)$ of order $s$ and $0<p\leq\infty$, $0<q\leq\infty$. The results that are obtained are all up to the end-point and sharp and are also applied to the regularity of Klein-Gordon-type oscillatory integrals in the aforementioned function spaces.

math.AP