Skip to content

Update from code changes: document Serverless SDK URL download safeguards - #757

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/850b5977
Open

Update from code changes: document Serverless SDK URL download safeguards#757
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/850b5977

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Summary

Documents the SSRF-safe URL download helpers in the Serverless Python SDK and the two new environment variables that tune them.

Changes

  • Adds a new Download input files page covering download_files_from_urls() and file(), the SSRF guard (scheme allowlist, private-address block, DNS-rebind pinning, redirect re-validation, proxy refusal, size cap), the SSRFError exception, and the new file() behavior that raises on 4xx/5xx instead of saving the error body.
  • Adds an SDK-reserved variables section to the environment variables page documenting RUNPOD_ALLOW_PRIVATE_DOWNLOAD_URLS (opt-in escape hatch for same-VPC / self-hosted fetches, default false) and RUNPOD_MAX_DOWNLOAD_BYTES (default 5 GiB).
  • Slots the new page into the Create handler functions nav group next to the existing cleanup page.

Context

Source: runpod/runpod-python#533fix(serverless): block SSRF in job-input downloads.

@mintlify

mintlify Bot commented Aug 4, 2026

Copy link
Copy Markdown
Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
runpod-docs 🟢 Ready View Preview Aug 4, 2026, 10:13 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants