Back to skill

Security audit

ios-sharesdk-integreation

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for iOS ShareSDK integration, but it handles many platform secrets through a plaintext project-root Excel file and app plist without enough safeguards.

Review this skill before installing if your ShareSDK setup uses real production credentials. Use throwaway or restricted app credentials where possible, keep ShareSDK_Config.xlsx out of version control and CI artifacts, delete or redact it after integration, and avoid placing any provider secret in a mobile app bundle unless that provider explicitly documents it as safe for client distribution.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
assets/generate_excel_template.py:460
Finding

Plaintext Collection and Client-Side Storage of Platform Secrets

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • 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 (26)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

声明描述的是一个会对 iOS 工程执行 ShareSDK 集成流程的技能,重点包括工程扫描、阻塞项确认、最小化改动接入 CocoaPods/ShareSDK、隐私合规和文档落地。实际提供的代码仅进行静态数据整理并输出 Excel 配置模板文件,主要作用是收集各平台 app key/secret、回调地址等信息。虽然主题与 ShareSDK 配置相关,属于集成前的辅助资产,但它不是声明中的主要行为,也没有实现所宣称的工程级集成能力。因此属于明显的描述与行为不匹配。

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 496)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 498)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 514)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 515)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 516)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 624)May include surrounding context.

md
- `MOBTwitterVer`
- `MOBForceHttps`

**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**

如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This code embeds worksheet titles, field descriptions, and user-facing guidance almost entirely in Chinese, which imposes a specific language on users without opt-in or alternative locale handling. The policy scope explicitly covers language/locale violations in code string literals, and there is no indication that this is a justified region-specific-only tool.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 57)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 28)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 76)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 83)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 186)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 288)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 352)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 377)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 481)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 496)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 498)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 515)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 615)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 616)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 624)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 643)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · examples/example-prompts.md (reported line 12)May include surrounding context.

只接指定平台

text
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。

带隐私合规要求