T09 · Insecure Skill Coding Practices
- Location
find-email.mjs:34- Finding
Unrestricted API Base URL Can Redirect Credentials and Contact Data
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill does what it says: it uses an OpenMerch API key to send one contact lookup to OpenMerch, with no persistence or hidden local behavior found.
Install only if you are comfortable sending names, company domains, and your OpenMerch API key to OpenMerch for paid lookups. Leave OPENMERCH_BASE_URL unset for normal use, or set it only to a trusted OpenMerch HTTPS endpoint with an appropriate test key.
find-email.mjs:34Unrestricted API Base URL Can Redirect Credentials and Contact Data
The skill requires network access and use of environment variables but does not declare an explicit tool/permission scope. That creates an authorization gap: consumers cannot easily constrain what the skill is allowed to access, and future changes could broaden behavior without a matching policy boundary. In a skill that handles API keys and paid outbound requests, missing scope declarations increases operational and security risk.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
- OPENMERCH_API_KEY
anyBins:
- node
- curl
envVars:
- name: OPENMERCH_API_KEY
required: true
The script sends a person's first name, last name, and company domain to a third-party API to perform contact discovery, but it provides no runtime disclosure, consent prompt, or privacy notice to the caller. In this skill's context, the external transmission is the core behavior, but the lack of explicit warning and data-handling transparency creates a real privacy/compliance risk, especially if used on personal data without authorization.
Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
the Software, and to permit persons to whom the Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
Detected: suspicious.exposed_secret_literal