Heat the oil over medium heat in a skillet or saute pan. Add the onion and garlic and saute 3 to 4 minutes, stirring frequently, until the onions are translucent. Remove from the heat.
Gently press the tofu with paper towels to remove as much water as possible.
Break up the tofu and place in the bowl of a food processor along with the sauteed onions and garlic. Mix until smooth.
Stir in the lemon juice to taste, salt and pepper and scallions and mix well to incorporate.