Built an API Fraud Detector After Getting Scammed — Here's How It Works
After being scammed by an API relay provider, the author developed a tool called API DNA to detect API fraud. This tool can quickly analyze API endpoints for issues like model substitution and token inflation. API DNA offers both a quick scan and a deep scan for comprehensive analysis of API services.
- ▪The author was misled into paying for GPT-4 API access but received GPT-3.5 instead.
- ▪API DNA can detect various types of API fraud, including hidden prompt injections and token inflation.
- ▪The tool provides a quick scan that takes only 3 seconds and a deep scan that requires an API key.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3941255) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } ti pi Posted on May 20 Built an API Fraud Detector After Getting Scammed — Here's How It Works #ai #api #security #webdev Last month, I paid for GPT-4 API access through a relay provider and got GPT-3.5 instead. The relay was charging premium prices while downgrading models. Token counts were inflated by 30-50%. And there was a hidden system prompt injected into every request. I got scammed. So I built API DNA — a free tool that detects API fraud in seconds.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).