T09 · Insecure Skill Coding Practices
- Location
scripts/_alibaba1688_common.py:60- Finding
Environment-controlled API endpoints can receive authentication credentials and sensitive business data
- Content
View full analysis
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.com") def _agent_user_base() -> str: return _env_base( "LINKFOX_AGENT_USER_API_URL", "https://agent-api.linkfox.com", ) ``` Authentication tokens are then attached to requests sent to those destinations: ```python def _headers ...[truncated 3206 chars]- Remediation
View remediation
