T09 · Insecure Skill Coding Practices
- Location
assets/generate_excel_template.py:460- Finding
Plaintext Collection and Client-Side Storage of Platform Secrets
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
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.
assets/generate_excel_template.py:460Plaintext Collection and Client-Side Storage of Platform Secrets
声明描述的是一个会对 iOS 工程执行 ShareSDK 集成流程的技能,重点包括工程扫描、阻塞项确认、最小化改动接入 CocoaPods/ShareSDK、隐私合规和文档落地。实际提供的代码仅进行静态数据整理并输出 Excel 配置模板文件,主要作用是收集各平台 app key/secret、回调地址等信息。虽然主题与 ShareSDK 配置相关,属于集成前的辅助资产,但它不是声明中的主要行为,也没有实现所宣称的工程级集成能力。因此属于明显的描述与行为不匹配。
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
- `MOBTwitterVer`
- `MOBForceHttps`
**⚠️ 物理 Info.plist 要点(替代 GENERATE_INFOPLIST_FILE 时)**
如果工程使用 `GENERATE_INFOPLIST_FILE = YES`(Xcode 自动生成),而你需要改为物理 Info.plist 文件,务必在 Info.plist 中包含以下关键键,否则安装会失败:
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.
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。
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.
使用 ios-sharesdk-integreation skill,这次只接微信和 QQ。请先确认 Podfile、Info.plist 和入口文件分别要改哪里。