T09 · Insecure Skill Coding Practices
- Location
scripts/run_x_search.mjs:63- Finding
Bearer Credential Disclosure Through an Unrestricted API Base Override
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly does what it claims, but it can send the user's Felo API key to an arbitrary API base URL if the environment is influenced, and it recommends an unpinned global npm install.
Install only if you are comfortable sending X/Twitter search inputs to Felo. Prefer the bundled script over the unpinned global npm install, keep FELO_API_BASE unset unless you fully control and trust the endpoint, and use a Felo API key with limited scope or revocability where possible.
scripts/run_x_search.mjs:63Bearer Credential Disclosure Through an Unrestricted API Base Override
SKILL.md:56Unpinned Global Installation of an External npm Package
The trigger list includes broad natural-language phrases like "twitter," "tweet," and "tweets from," which can cause the agent to invoke this skill in situations where the user did not clearly request an external X/Twitter lookup. In an agent setting, overly broad activation increases the chance of unintended data transmission to the external Felo API and tool misuse outside the intended scope.
The skill documentation describes use of environment variables and outbound network access, but it does not declare any corresponding tool scope such as allowed-tools or permissions. This creates a least-privilege and review gap: a host agent may enable broader capabilities than users or auditors expect, making secret access and external calls harder to govern.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
| -j, --json | Output raw JSON |
| -t, --timeout <seconds> | Timeout in seconds (default: 30) |
# Search tweets
The README states that the skill searches tweets, users, and replies via the Felo X Search API, but it does not explicitly warn that user queries, usernames, tweet IDs, or related inputs may be transmitted to a third-party service. This omission can lead to privacy surprises and unintended disclosure of user-supplied data, especially when combined with automatic agent invocation.
Detected: suspicious.env_credential_access