From d26d755d6cd8cb01f7aac7d45ce318ec19bed71b Mon Sep 17 00:00:00 2001 From: anupamme Date: Fri, 18 Sep 2026 06:21:47 +0000 Subject: [PATCH] fix: V-001 security vulnerability Automated security fix generated by OrbisAI Security --- update_exchange_rate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_exchange_rate.py b/update_exchange_rate.py index 3e1b7ee..1e33c02 100644 --- a/update_exchange_rate.py +++ b/update_exchange_rate.py @@ -4,7 +4,7 @@ def fetch_exchange_rate(api_key): url = f'https://www.alphavantage.co/query?function=CURRENCY_EXCHANGE_RATE&from_currency=USD&to_currency=CNY&apikey={api_key}' - response = requests.get(url) + response = requests.get(url, verify=True, timeout=10) data = response.json() if 'Realtime Currency Exchange Rate' in data: return {