We have the following non linear system:\begin{equation} \dot{X}=f(X), \end{equation} and lets suppose that $f(X_0)=0$. We also have that $\lambda_1,\dots,\lambda_n$ are the eigenvales of $D_f(X_0)$ and there are $Re(\lambda_1),\dots,Re(\lambda_k)=0$ for some $k<n$ and $Re(\lambda_{k+1}),\dots,Re(\lambda_n)<0$ .
What can we say about the stability of the system? Can we say is stable because it is not unstable?
You cannot determine the stability in general here. You need to consider the Center Manifold theorem. By changing basis you can reduce your system to $$\dot{X}_c = A_c X_c + g_c(X_c,X_s)$$ $$\dot{X}_s = A_s X_s + g_s(X_c,X_s)$$ where $A_s$ has $n-k$ eigenvalues with negative real parts and $A_c$ has $k$ eigenvalues with zero real parts. Furthermore $$g_c : \mathbb{R}^n \mapsto E_c$$ $$g_c : \mathbb{R}^n \mapsto E_s$$ Where $E_c$ and $E_s$ are your center and stable eigenspaces respectively and $g_i$ contains no constant or linear terms. In the case of no eigenvalues with positive real parts, it can be shown that all solutions are attracted to a center manifold at an exponential rate, so stability is determined by what happens on the center manifold. The center manifold theorem states there exists a neighborhood $U\subset E_c$ of $X_c^* = 0$ and a function $h\in C^{r-1}$ (when $f\in C^r$) such that $$h :U\mapsto E_s$$ such that $h$ contains no constant or linear terms and defines a center manifold $$W_c := \{ X=(X_c,X_s) \ | \ X_c\in U, h(X_c) = X_s \} $$ and your system is then reduced to one on the (non necessarily unique) center manifold $$\dot{X}_c = A_cX_c + g_c(X_c, h(X_c))$$ For example take $$\dot{x} = xy \\ \dot{y} = -y \pm x^2$$ Then by the center manifold theorem we can take $$y(x) = h(x) = a_1x^2 + a_2x^3 + ...$$ hence $$\dot{y} = h'(x)\dot{x} = [2a_1x + 3a_2x^2+ ...][x][a_1x^2 + a_2x^3 + ...] \\ = -[a_1x^2 + a_2x^3 + ...] \pm x^2$$ comparing the coefficients of $x^n$ we find that $a_1 = \mp 1$, $a_2 = 0$ and $a_3 = -2$ and so on. Finally $$\dot{x} = xy = \mp x^3 -2x^5 + \mathcal{O}(x^7)$$ Which is stable for $-x^3$ and unstable for $+x^3$