Mohamed-Mourad Lafifi: I've already seen most of this link, but did not find exactly what I was actually looking for.
Mohammad Issa Sowaity: I wanted to use maximal clique, but there exist a family of graphs (https://en.wikipedia.org/wiki/Mycielskian) where this approach probably won't be efficient.
I might have not stated it directly in the question, but I want a set of vertices to be the least numerous.
If you are looking for some kind of algorithm, you could try with the most primitive one.
1. determine the chromatic number of a graph,
2. delete one vertex from the graph
3. determine the chromatic number of obtained graph
4. If the chromatic number is reduced, then you have found the vertex.
5. if not try to remove another vertex from original one.
There are several coloring algorithms you can choose. This primitive algorithm is very inefficient, but could be used to compare to a method you find or invent.
Finding "critical" nodes or edges is hard for both NP and co-NP. So any exact algorithm for your problem is going to take exponential time in the worst case. But there might exist an algorithm that works reasonably well in practice... depending on the structure of your instances.