other
- Location
scripts/search_client.py:201- Finding
Undeclared Network Capabilities and Excessive External Data Disclosure
- Content
View full analysis
str: key = os.environ.get("AISA_API_KEY", "") if not key: print("Error: AISA_API_KEY environment variable is not set.", file=sys.stderr) print("Get your key at https://aisa.one", file=sys.stderr) sys.exit(1) return key def aisa_post(api_key: str, path: str, body: dict[str, Any]) -> dict[str, Any]: url = f"{AISA_BASE}{path}" data = json.dumps(body).encode() req = urllib.request.Request( url, data=data, headers={ "Authorization": f"Bearer {api_key}", "Conte ...[truncated 7065 chars]- Remediation
View remediation
