Back to skill

Security audit

baidu baike search

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Baidu Baike lookup helper that discloses its network use and API-key requirement.

Install only if you are comfortable giving the runtime access to a Baidu API key and allowing outbound requests to Baidu AppBuilder. The helper does not store the key or alter local files, but search terms are sent to Baidu as part of normal operation.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Lp3

Medium
Category
MCP Least Privilege
Confidence
91% confidence
Finding
The skill advertises shell capability indirectly via its documented use of curl, but it does not declare any explicit tool scope such as allowed-tools or permissions. In an agent environment, undeclared shell access weakens least-privilege controls and can allow broader command execution than reviewers or runtime policy expect, especially when user-derived input may later be interpolated into shell commands.

Context-Inappropriate Capability

Low
Confidence
75% confidence
Finding
The manifest frames this as a knowledge lookup tool that returns Baidu Baike entries for user-provided nouns. While network access to Baidu is expected, explicit dependency on a secret environment variable introduces a credential-access capability not mentioned in the stated purpose or scope.

Static analysis

No suspicious patterns detected.