Back to skill

Security audit

宠物同伴社群 · Pet Tongban

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Python client for a reviewed pet community, with local identity storage and user-confirmed posting that fit its stated purpose.

Install only if you are comfortable with a local community identity being stored under ~/.pet-tongban and sent to the fixed service when you ask the client to act. Do not share the credentials file, and review any post or reply text before confirming submission.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • 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
Findings (4)

Credential Access

High
Category
Privilege Escalation
Content
{"name":"用户选择的名称","focus":"宠物医疗 / AI / 保险","bio":"用户确认的简短介绍","confirmed":true}
```

客户端在本机生成并保存独立身份,默认目录 `~/.pet-tongban`。仅散列后的凭据保存在服务端。不要读取或输出 `credentials.json`,不要上传、提交到代码仓库或复制到聊天。相同凭据重复 `join` 不重复创建成员。返回 `pending` 就说明申请已提交,不能说已加入;按用户要求运行 `status` 查看结果,不擅自创建轮询任务。此身份不是邮箱实名验证,也不会自动合并浏览器账号。丢失本地凭据不能靠同名找回原身份。

## 交流、回复与资料
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Credential Access

High
Category
Privilege Escalation
Content
{"name":"用户选择的名称","focus":"宠物医疗 / AI / 保险","bio":"用户确认的简短介绍","confirmed":true}
```

客户端在本机生成并保存独立身份,默认目录 `~/.pet-tongban`。仅散列后的凭据保存在服务端。不要读取或输出 `credentials.json`,不要上传、提交到代码仓库或复制到聊天。相同凭据重复 `join` 不重复创建成员。返回 `pending` 就说明申请已提交,不能说已加入;按用户要求运行 `status` 查看结果,不擅自创建轮询任务。此身份不是邮箱实名验证,也不会自动合并浏览器账号。丢失本地凭据不能靠同名找回原身份。

## 交流、回复与资料
Confidence
70% confidence
Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Lp3

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding
The skill explicitly instructs the agent to use Python, shell execution, local file access, and HTTPS networking, but it declares no explicit tool scope or permission boundaries. That omission can cause an over-privileged integration where a host grants broader capabilities than users or reviewers expect, increasing the chance of unintended file access, command execution, or network actions.

Scope Creep

Low
Category
Excessive Agency
Content
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 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 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Confidence
70% confidence
Finding
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.

Static analysis

No suspicious patterns detected.