T09 · Insecure Skill Coding Practices
- Location
skills/linkfox-aigc-imagegen/scripts/aigc_imagegen.py:38- Finding
Environment-Controlled API Endpoints Can Receive Production Credentials and Sensitive User Data
- Content
View full analysis
str: for n in (name, *fallbacks): v = os.environ.get(n) if v: return v.rstrip("/") return default.rstrip("/") def _agent_base() -> str: return _env_base("LINKFOX_AGENT_API_URL", "https://tool-gateway.linkfox.com", "LINKFOX_TOOL_GATEWAY") def _login_base() -> str: return _env_base("LINKFOX_LOGIN_API_URL", "https://api.linkfox.c ...[truncated 3228 chars]- Remediation
View remediation
