Back to skill

Security audit

Ios Dev Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a Chinese-language iOS and Swift reference skill with broad routing, but I found no hidden execution, persistence, exfiltration, or privilege-seeking behavior.

Install this if you want a Chinese-language iOS/Swift reference skill. Be aware that its broad triggers may activate for many Swift or iOS questions and its response style is opinionated, but it does not appear to install code, access credentials, persist state, or transmit data.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (20)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This README presents all instructional content in Chinese and does not indicate that users may choose another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the language/locale policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trigger list is extremely broad and includes many generic Swift and iOS terms, so the skill may activate for loosely related requests rather than only when this specific reference is needed. Overbroad activation can cause routing hijack, unexpected instruction precedence, and reduced user control over which skill handles a query.

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

md
- [ ] App Icon 1024×1024
- [ ] 启动屏(Splash Screen)
- [ ] Info.plist 权限说明
- [ ] 隐私政策 URL
- [ ] TestFlight / App Store Connect 上传
- [ ] App Store 截图(6.7 / 6.5 / 5.5 英寸)

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

md
- [ ] App Icon 1024×1024
- [ ] 启动屏(Splash Screen)
- [ ] Info.plist 权限说明
- [ ] 隐私政策 URL
- [ ] TestFlight / App Store Connect 上传
- [ ] App Store 截图(6.7 / 6.5 / 5.5 英寸)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill hard-codes an output format and language expectation without considering the user's requested language or accessibility needs. While not a direct code-execution issue, it can override user intent and create unsafe or misleading behavior in multi-skill systems where user preference should take priority.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file is entirely framed in Chinese beginning with the title "Swift 协议参考," and nowhere indicates that the language is optional or region-specific. Under the policy criteria, forcing a specific language without user opt-in is a natural-language locale policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The title and the entire document are written in Chinese, which imposes a specific language/locale on users. The file does not indicate that Chinese is optional, configurable, or required for a region-specific purpose, so this appears to violate the language-choice policy.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/standard-library.md (reported line 207)May include surrounding context.

swift
func fetchData() async throws -> Data {
    guard let url = URL(string: "https://api.example.com/data") else {
        throw URLError(.badURL)
    }
    let (data, response) = try await URLSession.shared.data(from: url)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/uikit-basics.md (reported line 187)May include surrounding context.

swift
func fetchData() async throws -> Data {
    guard let url = URL(string: "https://api.example.com/data") else {
        throw URLError(.badURL)
    }
    let (data, response) = try await URLSession.shared.data(from: url)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file is entirely presented in Chinese starting from the title, with no indication that language selection is optional or that the content is intentionally region-specific. Under the policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

该文件标题及全文内容均使用中文,属于自然语言层面的语言/locale 约束,但文档中没有说明这是面向中文用户的限定场景,也没有提供其他语言选项。根据规则,若未给出用户选择或明确、合理的地区性说明,可视为语言/locale 政策问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This markdown file is entirely written in Chinese, starting with the title "Swift 闭包," and does not indicate that language selection is optional. Under the policy rule for natural-language violations, forcing a specific language without user opt-in can be a locale-policy issue unless the constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

Line L256 states that using [weak self] without checking leads to a runtime crash. In Swift, weak self becomes nil when deallocated; the usual issue is logic silently not running unless self is force-unwrapped, and the suggested guard let self else { return } pattern is for safe unwrapping rather than correcting an inherent crash. This is an intent/documentation contradiction within the reference content.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

This markdown file presents all instructional content in Chinese and does not indicate that users may choose another language or that the document is intentionally limited to a Chinese-speaking audience. Under the language/locale policy rule, forcing a specific language without user opt-in can be a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The title and all instructional content are written in Chinese, presenting the reference in a single forced language. Under the policy, language constraints should either offer user opt-in/choice or be clearly justified as region-specific, which is not stated here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

This markdown reference forces a specific language/locale for all user-facing instructional content. Under the policy, language constraints should either be optional for the user or clearly justified as region-specific; this file provides neither.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown reference is written entirely in Chinese and does not indicate that the user can choose another language or that the locale restriction is required for a region-specific purpose. Under the policy provided, forcing a specific language without opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file is natural-language reference material and all headings, descriptions, and examples are presented in Chinese. Under the policy rule, forcing a specific language without user opt-in can be a locale/language policy violation when no justification or alternative is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

This markdown file is a general UIKit reference, but its title and instructional content are presented only in Chinese. The policy requires flagging language or locale constraints when the skill forces a specific language without user opt-in or clear justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

This markdown file presents all instructions, headings, and examples exclusively in Chinese, which can amount to a language-policy constraint if users are not given a choice of locale or language. The file does not indicate that the Chinese-only presentation is optional, configurable, or justified as region-specific.

Content

No source excerpt is available for this finding.