intercom-cost-tuning
Optimizes Intercom API costs by reducing requests and implementing caching strategies for efficient usage monitoring.
Install this skill
Security score
The intercom-cost-tuning skill was audited on May 27, 2026 and we found 15 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 66 | `${endpoint}: ${stats.count} calls, avg ${(stats.totalMs / stats.count).toFixed(0)}ms` |
Template literal with variable interpolation in command context
| 71 | console.log(`\nTotal: ${total} API calls`); |
Template literal with variable interpolation in command context
| 72 | console.log(`Estimated rate: ${(total / 60).toFixed(0)} req/min (limit: 10,000)`); |
Template literal with variable interpolation in command context
| 196 | `[Intercom] High request rate: ${this.requestsThisMinute}/10000 per minute` |
Template literal with variable interpolation in command context
| 203 | console.warn(`[Intercom] Throttling: waiting ${waitMs}ms`); |
Webhook reference - potential data exfiltration
| 30 | Reduce Intercom API costs through smart caching, search optimization, webhook-driven architecture, and usage monitoring. Intercom pricing is primarily seat-based and feature-based, but API efficiency |
Webhook reference - potential data exfiltration
| 77 | ### Step 2: Replace Polling with Webhooks |
Webhook reference - potential data exfiltration
| 87 | // GOOD: Webhook-driven (0 requests, instant notification) |
Webhook reference - potential data exfiltration
| 88 | app.post("/webhooks/intercom", (req, res) => { |
Webhook reference - potential data exfiltration
| 124 | // Invalidate cache via webhooks |
Webhook reference - potential data exfiltration
| 212 | - [ ] Replace polling loops with webhooks |
Webhook reference - potential data exfiltration
| 225 | | Stale cached data | TTL too long | Use webhook cache invalidation | |
External URL reference
| 231 | - [Intercom Pricing](https://www.intercom.com/pricing) |
External URL reference
| 232 | - [Rate Limiting](https://developers.intercom.com/docs/references/rest-api/errors/rate-limiting) |
External URL reference
| 233 | - [Search Contacts](https://developers.intercom.com/docs/references/rest-api/api.intercom.io/contacts/searchcontacts) |