in peruvian cuisine, sofrito is called aderezo, and it is made of red onion, garlic, one or more chili paste (aji), according to recipe, salt and black pepper. aderezo could also incorporate tomato or achiote.