Cut tofu into 1-inch cubes; chop the scallions into 2-inch lengths.
Heat a large, heavy skillet over high heat until it begins to smoke. Immediately add the oil, garlic and red chiles, cooking and stirring for about 1 minute.
Add the tofu stirring occasionally until it browns, about 3 minutes. Then add scallions. Stir frequently, until they begin to soften about 1 minute. Add the soy sauce and lime juice. Stir, turn off the heat, and taste, adding more soy sauce to taste. If the mixture is drier than you like, add a bit of water and heat through. Garnish with the basil and serve immediately.