External Transmission
- Category
- Data Exfiltration
- Confidence
- 96% confidence
- Finding
This code sends the document provided by the user to Upstage's external API for classification. Because documents may contain sensitive personal, financial, legal, or proprietary data, transmitting them to a third-party service is a real data-exposure risk if users are not clearly informed and consent is not obtained.
- Content
md client = OpenAI( api_key=os.environ["UPSTAGE_API_KEY"], base_url="https://api.upstage.ai/v1/document-classification" ) response = client.chat.completions.create(
