Back to skill

Security audit

iPhone Duo Adaptation

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill benign with high confidence: all five security dimensions are marked ok, and the one retained low-probability finding was judged expected for its purpose.

The verdict is benign, not a guarantee of zero risk. The scan reports complete coverage of the 12 listed components and no executable scripts; consider that evidence alongside your own needs before installing.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% 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 24)May include surrounding context.

Codex のユーザースキルディレクトリにリポジトリをクローンします。インストール済みの場合は、更新前にローカルの変更を確認してください。

sh
mkdir -p ~/.agents/skills
git clone https://github.com/hzw-object/iphone-duo-adaptation.git ~/.agents/skills/iphone-duo-adaptation

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 · references/engineering.md (reported line 10)May include surrounding context.

Run these read-only searches at the app repository root. Confirm target membership and inspect callers. Hits can be legitimate, such as orientation in a capture pipeline or fixed sizes for decorative icons. Review ignored or generated files only when they contribute to the affected target. Mixed apps should also scan their own HTML, CSS, JS, or cross-platform UI sources for viewport-size assumptions.

sh
rg --files -g 'project.pbxproj' -g '*.xcconfig' -g '*.xcscheme' -g '*.xcworkspace/contents.xcworkspacedata' -g 'Info.plist' -g '*.xcstrings' -g '*.strings' -g '*.stringsdict' -g '*.storyboard' -g '*.xib'

rg -n -g '*.{swift,m,mm,h,plist,pbxproj,xcconfig}' 'UIScreen\.main|\[UIScreen mainScreen\]|mainScreen\]|userInterfaceIdiom|UIDevice\.current\.orientation|statusBarOrientation|interfaceOrientation|supportedInterfaceOrientations|UISupportedInterfaceOrientations|IPHONEOS_DEPLOYMENT_TARGET' .

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 · references/engineering.md (reported line 12)May include surrounding context.

sh
rg --files -g 'project.pbxproj' -g '*.xcconfig' -g '*.xcscheme' -g '*.xcworkspace/contents.xcworkspacedata' -g 'Info.plist' -g '*.xcstrings' -g '*.strings' -g '*.stringsdict' -g '*.storyboard' -g '*.xib'

rg -n -g '*.{swift,m,mm,h,plist,pbxproj,xcconfig}' 'UIScreen\.main|\[UIScreen mainScreen\]|mainScreen\]|userInterfaceIdiom|UIDevice\.current\.orientation|statusBarOrientation|interfaceOrientation|supportedInterfaceOrientations|UISupportedInterfaceOrientations|IPHONEOS_DEPLOYMENT_TARGET' .

rg -n -g '*.{swift,m,mm,storyboard,xib}' 'ignoresSafeArea|safeAreaInsets|additionalSafeAreaInsets|layoutMargins|contentInset|frame\((width|height):|\.leftAnchor|\.rightAnchor|leftAnchor\]|rightAnchor\]|ToolbarItem|UINavigationBar|UITabBar|preferredContentSize|UIHostingController|\.id\(' .