LLM Prompts

API Integration Risk Assessment Prompt

Identifies potential risks associated with integrating a specific API into your system.

The method

Use this prompt at the start of a project. Paste it into ChatGPT/Gemini/Claude before beginning API integration development. Refine it based on your specific API and business context for comprehensive risk identification.

The prompts

Prompt 1
I'm planning to integrate the [API Name] API into our [Your System Name] system, which handles [Description of Data Handled]. Analyze the potential risks associated with this integration, covering security vulnerabilities (e.g., injection attacks, data breaches), performance bottlenecks (e.g., rate limiting, latency issues), compliance issues (e.g., GDPR, HIPAA if applicable), reliability concerns (e.g., API downtime, data inconsistencies), and business impact (e.g., financial losses, reputational damage). Specifically address the risks associated with [Specific Functionality Being Used] and [Another Specific Functionality Being Used]. Provide mitigation strategies for each identified risk. Consider both technical and non-technical risks.
Prompt 2
Evaluate the security risks associated with integrating a third-party API for [briefly describe API function e.g., payment processing] into our e-commerce platform. Specifically, focus on risks related to data privacy, authorization and authentication vulnerabilities, and potential for data breaches. Detail specific attack vectors that could be exploited and recommend security best practices and mitigations to implement, including but not limited to, input validation, output encoding, secure storage of API keys, and rate limiting to prevent denial-of-service attacks. Also, analyze the impact of a successful attack on our customers' sensitive information and our company's reputation. Consider risks related to compliance with PCI DSS.