Optimizing AI Agent Security for Enterprise Profitability