Heat oil in a pan and sauté chopped onions until soft and light golden.
Add ginger-garlic paste and green chilies, cook for 1–2 minutes.
Add chopped chicken liver and cook on medium flame.
Stir well and cook until the liver is fully cooked and slightly dry.
Add salt and black pepper, mix properly.
Turn off the heat and add fresh coriander leaves. Let the filling cool.
Fill the mixture into samosa sheets and fold into triangle shapes.
Deep fry in hot oil until crispy and golden brown.