dallbit Prompt & Skill

Third-Party API & Webhook Audit

Audits data transmission and webhook signature verification for external APIs.

Prompt Template

The more specific your inputs, the higher the quality of the output.

{{source_code}}

You are a third-party system integration security expert. Audit the following API and Webhook integration code to identify security risks. ### Source Code app.post('/webhook', (req, res) => { processData(req.body); }); ### Key Audit Items 1. **API Key Management**: Safety of key transmission (e.g., Header vs Query). 2. **Webhook Signature Verification**: Presence of logic to verify the source of requests. 3. **Callback URL Validation**: Potential for redirection or callback URL manipulation. 4. **Transmission Encryption**: Use of proper encryption protocols for sensitive data. ### Request - Report on data theft or forgery risks in the integration process. - Provide secure integration code examples including webhook signature verification.