With an increasing societal need for digital therapy solutions for poor mental health, we face a corresponding rise in demand for scientifically validated digital contents. In this study we aimed to lay a sound scientific foundation for the development of brain-based digital therapeutics to assess and monitor cognitive effects of social and emotional bias across diverse populations and age-ranges. First, we developed three computerized cognitive tasks using animated graphics: 1) an emotional flanker task designed to test attentional bias, 2) an emotional go-no-go task to measure bias in memory and executive function, and 3) an emotional social evaluation task to measure sensitivity to social judgments. Then, we confirmed the generalizability of our results in a wide range of samples (children (N = 50), young adults (N = 172), older adults (N = 39), online young adults (N=93), and depression patients (N = 41)) using touchscreen and online computer-based tasks, and devised a spontaneous thought generation task that was strongly associated with, and therefore could potentially serve as an alternative to, self-report scales. Using PCA, we extracted five components that represented different aspects of cognitive-affective function (emotional bias, emotional sensitivity, general accuracy, and general/social attention). Next, a gamified version of the above tasks was developed to test the feasibility of digital cognitive training over a 2-week period. A pilot training study utilizing this application showed decreases in emotional bias in the training group (that were not observed in the control group), which was correlated with a reduction in anxiety symptoms. Using a 2-channel wearable EEG system, we found that frontal alpha and gamma power were associated with both emotional bias and its reduction across the 2-week training period.