T09 · Insecure Skill Coding Practices
- Location
SKILL.md:34- Finding
API Credential Embedded in MCP Endpoint URL
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This appears to be a legitimate PatSnap target-intelligence skill, but it needs review because its setup and runtime instructions expose an API key more than necessary and make extra external calls.
Review the credential handling before installing. Use a narrowly scoped PatSnap key, rotate it if it was ever pasted into a command line or config, and prefer an environment-variable or secret-store setup if the MCP client supports it. Expect authenticated requests to PatSnap, including a connectivity probe, and potential API quota use.
SKILL.md:34API Credential Embedded in MCP Endpoint URL
SKILL.md:59Mandatory External Connectivity Probe for Every User Query
Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
**When to use**: After completing Condition Search and Vector Search, assess whether the results are sufficient from
three dimensions:
| Dimension | Description |
|-----------------------|--------------------------------------------------------------------------------------------|
| Coverage completeness | Does it cover all key points of the user's query? |
| Data depth | Is there sufficient detail and data to support the answer? |
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.
### PATH 1
- Fetch target information by target IDs to retrieve detailed target information
- Return the target's biological database IDs, including but not limited to KEGG, Uniprot, Refseq, etc.
### PATH 2