strava-api
Fail
Audited by Gen Agent Trust Hub on Feb 22, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [EXTERNAL_DOWNLOADS] (MEDIUM): The scripts
refresh_token.pyandsetup_oauth.pyuseos.systemto install therequestslibrary from PyPI at runtime. This dynamic installation of dependencies is a security risk as it bypasses version pinning and static analysis of the environment. - [COMMAND_EXECUTION] (HIGH): The
secure_storage.pymodule usessubprocess.runto execute host-level commands (securityon macOS andsecret-toolon Linux). This grants the agent the capability to interact directly with the system's password management infrastructure to store and retrieve sensitive information. - [CREDENTIALS_UNSAFE] (HIGH): The skill provides Python functions to retrieve Strava
client_secret,access_token, andrefresh_tokenfrom the system keychain. Because the agent can execute these scripts or import the Python module, the claim that secrets are inaccessible to the agent is false. This creates a direct path for credential exfiltration. - [METADATA_POISONING] (HIGH): The
SKILL.mdfile contains a security claim stating 'AI agents CANNOT read secrets from keychain'. This is a deceptive statement because the skill includes the scripts necessary to perform those reads, which could mislead users into granting higher permissions than intended. - [INDIRECT_PROMPT_INJECTION] (LOW): The OAuth setup flow in
setup_oauth.pyingests a user-provided URL to extract authorization codes. This represents an untrusted data entry point that connects to sensitive keychain-write capabilities. - Ingestion points: User-provided redirect URL in
scripts/setup_oauth.py. - Boundary markers: Absent; no instructions provided to the LLM to ignore embedded commands in the URL data.
- Capability inventory: Subprocess calls to keychain tools in
scripts/secure_storage.py; network POST requests inscripts/setup_oauth.py. - Sanitization: Uses
urllib.parseto extract the code, but does not validate the integrity or source of the input beyond basic parsing.
Recommendations
- AI detected serious security threats
Audit Metadata