T09 · Insecure Skill Coding Practices
- Location
people-search.mjs:49- Finding
OpenMerch API Credential Can Be Sent to an Arbitrary Configured Host
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly matches its stated people-search purpose, but it needs Review because a configurable API host can receive the user's OpenMerch key and paid search requests without host or HTTPS validation.
Install only if you are comfortable sending company/role search queries and your OpenMerch API key to OpenMerch. Keep OPENMERCH_BASE_URL unset for normal use, or set it only to a trusted HTTPS OpenMerch staging endpoint with non-production credentials. Expect paid API usage, and verify plan/cost output before execution.
people-search.mjs:49OpenMerch API Credential Can Be Sent to an Arbitrary Configured Host
The header comment and skill description explicitly claim the script only performs people search, but the actual configured job type is enrichment. This kind of deceptive or inaccurate documentation is dangerous because reviewers, users, and policy controls may approve the skill under a lower-risk data classification while the code invokes a more sensitive operation.
The skill is presented as a people search tool that returns only obfuscated profiles, but it is configured to execute the people_enrichment_v1 job type. That mismatch can cause the agent to access a broader or more sensitive data path than the user or platform expects, violating least privilege and potentially exposing full-profile enrichment data or invoking a higher-risk backend capability.
Without declared permissions the skill's intent is opaque and cannot be validated.
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
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