nyx/tests/dynamic_fixtures/python/ssrf_unsupported.py
2026-06-05 10:16:30 -05:00

10 lines
251 B
Python

"""SSRF — unsupported fixture (low confidence).
Expected verdict: Unsupported(ConfidenceTooLow)
"""
import urllib.request
def fetch(url):
"""Vulnerable function in unsupported-confidence test."""
return urllib.request.urlopen(url).read()