New every Friday: the week's best founder lessons in one email. Subscribe free
Back to All Episodes
The Haunted House of APIs - A Portal to the Beyond with Allison Averill
Oct 30, 2024 24:39

The Haunted House of APIs - A Portal to the Beyond with Allison Averill

Bonus
0:00 / 24:39

About this episode

Haunted House of APIs: Allison Averill on the security risks of connecting generative AI services to applications and how to protect them.

———

The Haunted House of API's

Today, we are releasing another episode for Cybersecurity Awareness month, in our series entitled the Haunted House of API’s, sponsored by our friends at Traceable AI. In this series, we are building awareness around API’s, their security risks – and what you can do about it. Traceable AI is building One Platform to secure every API, so you can discover, protect, and test all your API's with contextual API security, enabling organizations to minimize risk and maximize the value API's bring to their customers.

A Portal to the Beyond: Securing Gen AI and other Third-Party APIs in Your Applications

Today’s episode is titled A Portal to the Beyond: Securing Gen AI and other Third-Party APIs in Your Applications, with Allison Averill. Developers are building exciting new features with Gen AI, often leveraging 3rd party APIs. Doing this isn’t new, but are these integrations secure? These APIs open a portal to the beyond – and introduce supply chain risk to your applications. Allison is a Generative AI and product management expert at Traceable, and she will explore the risks lurking in generative AI and other 3rd party APIs, sharing best practices for securing these integrations, so you can ensure they don’t become the stuff of security horror stories.

  1. How are application developers leveraging 3rd party APIs today, and how is the landscape changing?
  2. How do third-party APIs introduce risks to applications and what are some common mistakes organizations make when integrating with third party APIs?
  3. How are generative AI APIs different from other third party APIs? What unique risks do they introduce?
  4. Have you encountered any 'nightmare' scenarios where an insecure third-party API caused a security incident?
  5. What best practices should organizations follow to ensure secure integrations?
  6. How can organizations balance the need for innovation with the necessity of maintaining strict security controls when working with external partners?

Sponsors

Links

Times are from the episode recording; ad breaks in your player may shift them a bit later.

Read the key answers from this episode, with quotes and timestamps from Allison Averill: https://www.codestory.co/episodes/the-haunted-house-of-apis-a-portal-to-the-beyond-with-allison-averill/



Current Sponsors:

Checkout our Substack

Checkout our Stacklist!

Checkout our Patreon!

Hosted by Noah Labhart.



Our Sponsors:
* Check out Granola and use my code granola.ai/CODESTORY for a great deal: https://granola.ai
* Check out Perplexity: https://pplx.ai/codestory


Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Chapters

Latest Season of the Podcast is Sponsored By

Key Takeaways

  • Don't Over-Trust Third-Party APIs: Developers often trust vendor APIs more than user input. A compromised data feed can open your app to attacks like SQL injection, so validate and sanitize what comes in.
  • LLM Output Is a Wild Card: LLMs are non-deterministic, so the same prompt can yield very different responses. Validate and sanitize their output before it feeds other parts of your app, especially anything that executes code.
  • Visibility Comes First: Keep an inventory of every third-party API and where it connects. Averill says people are often shocked by how many Traceable discovers that security teams may not have seen.
  • Monitor to Size the Blast Radius: Watching inputs and outputs of third-party APIs lets you check whether a vendor's breach has reached your app or touched sensitive data, even when your own controls are configured properly.
  • Automate Security to Keep Speed: Instead of spreadsheets developers must keep current, tools can discover APIs, monitor their security posture and alert on sensitive data flows or broken authentication. People still have to fix the issues.

Frequently Asked Questions

How do third-party APIs introduce security risk into applications?

Allison Averill points to unsafe consumption of APIs, where a compromised third-party data stream can expose your app to attacks such as SQL injection. She warns that "Developers tend to trust third-party APIs more than they would trust user input" [07:03], so data from them should be validated and sanitized.

How are generative AI APIs different from other third-party APIs?

Averill describes them as a subcategory of third-party APIs, so the same risks apply, but large language models are non-deterministic. In her words, you can "prompt a model with the same prompt twice and get two totally different responses." [11:46]

What is prompt injection and why does it matter for apps that use LLMs?

Averill explains that prompt injection means crafting a "really clever prompt to get the model to potentially reveal something it's not supposed" [12:40] to, or to act against its instructions. The risk grows when an app feeds that output into other components, for example if malicious code goes undetected before it executes.

What can the 2018 Facebook breach teach developers about third-party API risk?

Averill says an insecure first-party API configuration at Facebook meant that "it potentially exposed the access tokens of up to 50 million Facebook users." [15:37] Because other apps used Facebook sign-in, she advises knowing where such APIs are used and monitoring for unusual logins, though she doesn't know how many real breaches resulted.

How can teams move fast and still secure their API integrations?

Averill says the key is automation rather than manually maintained lists of integrations. As she put it, "We now have tools that can go and automatically discover all of your APIs" [22:27], and those tools can also monitor security posture and send alerts.

Media List 5000, Podcasts, Fall 2026