Loading...
Loading...
Compare original and translation side by side
undefinedundefined
Determine:
- Platform (iOS, macOS, watchOS, or multi-platform)
- Sensitive data types (credentials, health data, financial, PII)
- Authentication methods in use
- Network communication patterns
确定以下信息:
- 平台(iOS、macOS、watchOS或跨平台)
- 敏感数据类型(凭证、健康数据、财务数据、个人身份信息)
- 使用的认证方式
- 网络通信模式undefinedundefined| Category | Status | Issues |
|---|---|---|
| Secure Storage | ✅/⚠️/❌ | X issues |
| Authentication | ✅/⚠️/❌ | X issues |
| Network Security | ✅/⚠️/❌ | X issues |
| Platform Security | ✅/⚠️/❌ | X issues |
| 类别 | 状态 | 问题数量 |
|---|---|---|
| 安全存储 | ✅/⚠️/❌ | X个问题 |
| 认证机制 | ✅/⚠️/❌ | X个问题 |
| 网络安全 | ✅/⚠️/❌ | X个问题 |
| 平台安全 | ✅/⚠️/❌ | X个问题 |
path/to/file.swift:123// current insecure code// fixed secure codepath/to/file.swift:123// 当前不安全的代码// 修复后的安全代码undefinedundefinedGrep: "UserDefaults.*password|UserDefaults.*token|UserDefaults.*secret|UserDefaults.*apiKey"
Grep: "\.write\(.*credential|\.write\(.*password"
Grep: "let.*apiKey.*=.*\"|let.*secret.*=.*\""Grep: "UserDefaults.*password|UserDefaults.*token|UserDefaults.*secret|UserDefaults.*apiKey"
Grep: "\.write\(.*credential|\.write\(.*password"
Grep: "let.*apiKey.*=.*\"|let.*secret.*=.*\""Grep: "http://(?!localhost|127\.0\.0\.1)"
Grep: "AllowsArbitraryLoads.*true"
Grep: "serverTrust|URLAuthenticationChallenge.*useCredential"Grep: "http://(?!localhost|127\.0\.0\.1)"
Grep: "AllowsArbitraryLoads.*true"
Grep: "serverTrust|URLAuthenticationChallenge.*useCredential"Grep: "print\(.*password|print\(.*token|NSLog.*credential"
Grep: "Logger.*password|os_log.*secret"Grep: "print\(.*password|print\(.*token|NSLog.*credential"
Grep: "Logger.*password|os_log.*secret"