Back to skill

Security audit

ios mobpush integration (MobTech MobPush 一键集成 )

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for MobPush integration, but it needs review because it collects an app secret and may leave it in project files without enough handling guidance.

Install only after reviewing the workflow. Keep MobPush_iOS_Config.xlsx out of source control, delete or move the populated workbook after use, treat MOBAppSecret in Info.plist as client-extractable, pin and review the mob_pushsdk version, and only run pod install/update after checking the planned file changes and target selection.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (2)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:271
Finding

Unpinned MobPush SDK Dependency Allows Unreviewed Supply-Chain Changes

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
assets/generate_excel_template.py:36
Finding

MobPush Application Secret Is Collected and Stored in Plaintext Project Artifacts

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 (19)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

声明描述的是一个能够对 iOS 项目进行实际 MobPush 集成的技能,核心能力应包括工程扫描、依赖接入、配置修改和文档落地。实际代码则是一个离线资产生成脚本,只负责创建 Excel 模板,帮助用户填写 appKey/appSecret、APNs 鉴权方式和合规提示。虽然模板内容与 MobPush 集成主题相关,属于辅助材料,但它并不实现声明中的主要功能,主目的存在明显偏差,因此应判定为不匹配。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill description is written entirely in Chinese and does not indicate that another language is available or that Chinese is a required locale for a region-specific use case. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

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 29)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 80)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 84)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 122)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 148)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 158)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 197)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 229)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 253)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 287)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 418)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 · assets/generate_excel_template.py (reported line 63)May include surrounding context.

python
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 · assets/generate_excel_template.py (reported line 88)May include surrounding context.

python
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 28)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

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 · templates/MOBPUSH_README.md (reported line 11)May include surrounding context.

md
- `Podfile`
- `Podfile.lock`
- `Info.plist`
- App 启动入口文件
- 隐私同意回调文件
- 其他按实际项目补充

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly instructs the agent to '默认使用中文与用户沟通', which imposes a language preference on all interactions. Under the policy, language constraints should either offer user choice or be clearly justified as region-specific; this section does not provide opt-in or a documented necessity.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This markdown file contains user-facing instructions only in Chinese, and there is no indication that the skill is region-specific or that users can opt into another language. Under the policy criteria, forcing a specific language without opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.