nyx/tests/dynamic_fixtures/python/ssrf_unsupported.py

11 lines
251 B
Python
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
"""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()