cyberaudit-skill 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +241 -0
- package/dist/mcp-server.d.ts +2 -0
- package/dist/mcp-server.js +126 -0
- package/package.json +58 -0
- package/skills/cyberaudit/AGENT-BOOT.md +122 -0
- package/skills/cyberaudit/COMMANDS.md +1125 -0
- package/skills/cyberaudit/INSTALL.md +311 -0
- package/skills/cyberaudit/MASTER.md +194 -0
- package/skills/cyberaudit/README.md +154 -0
- package/skills/cyberaudit/USAGE-GUIDE.md +107 -0
- package/skills/cyberaudit/mobile/MOBILE-CHECKLIST.md +245 -0
- package/skills/cyberaudit/mobile/MOBILE-PHILOSOPHY.md +352 -0
- package/skills/cyberaudit/mobile/MOBILE-REMEDIATION-LIBRARY.md +468 -0
- package/skills/cyberaudit/mobile/MOBILE-THREAT-MODELS.md +279 -0
- package/skills/cyberaudit/mobile/frameworks/EXPO.md +247 -0
- package/skills/cyberaudit/mobile/frameworks/FLUTTER.md +338 -0
- package/skills/cyberaudit/mobile/frameworks/IONIC.md +248 -0
- package/skills/cyberaudit/mobile/frameworks/REACT-NATIVE.md +479 -0
- package/skills/cyberaudit/mobile/vulnerabilities/AUTH-MOBILE.md +160 -0
- package/skills/cyberaudit/mobile/vulnerabilities/BINARY-ANALYSIS.md +193 -0
- package/skills/cyberaudit/mobile/vulnerabilities/CRYPTO-MOBILE.md +192 -0
- package/skills/cyberaudit/mobile/vulnerabilities/IPC-DEEPLINKS.md +231 -0
- package/skills/cyberaudit/mobile/vulnerabilities/NETWORK-MOBILE.md +165 -0
- package/skills/cyberaudit/mobile/vulnerabilities/PERMISSIONS.md +180 -0
- package/skills/cyberaudit/mobile/vulnerabilities/RUNTIME-MOBILE.md +214 -0
- package/skills/cyberaudit/mobile/vulnerabilities/STORAGE.md +197 -0
- package/skills/cyberaudit/reports/EXECUTIVE-SUMMARY-TEMPLATE.md +188 -0
- package/skills/cyberaudit/reports/REPORT-TEMPLATE-MOBILE.md +410 -0
- package/skills/cyberaudit/reports/REPORT-TEMPLATE-WEB.md +222 -0
- package/skills/cyberaudit/shared/COMPLIANCE.md +307 -0
- package/skills/cyberaudit/shared/CVSS-GUIDE.md +175 -0
- package/skills/cyberaudit/shared/OWASP-MAPPER.md +130 -0
- package/skills/cyberaudit/shared/SEVERITY-SCORING.md +102 -0
- package/skills/cyberaudit/shared/THREAT-MODELING.md +112 -0
- package/skills/cyberaudit/web/WEB-CHECKLIST.md +222 -0
- package/skills/cyberaudit/web/WEB-PHILOSOPHY.md +308 -0
- package/skills/cyberaudit/web/WEB-REMEDIATION-LIBRARY.md +665 -0
- package/skills/cyberaudit/web/WEB-THREAT-MODELS.md +460 -0
- package/skills/cyberaudit/web/frameworks/ANGULAR.md +169 -0
- package/skills/cyberaudit/web/frameworks/EXPRESS.md +185 -0
- package/skills/cyberaudit/web/frameworks/LARAVEL.md +371 -0
- package/skills/cyberaudit/web/frameworks/NESTJS.md +337 -0
- package/skills/cyberaudit/web/frameworks/NEXTJS.md +352 -0
- package/skills/cyberaudit/web/frameworks/REACT.md +346 -0
- package/skills/cyberaudit/web/frameworks/VUE.md +205 -0
- package/skills/cyberaudit/web/vulnerabilities/AUTH-AUTHZ.md +117 -0
- package/skills/cyberaudit/web/vulnerabilities/BUSINESS-LOGIC.md +603 -0
- package/skills/cyberaudit/web/vulnerabilities/CORS.md +117 -0
- package/skills/cyberaudit/web/vulnerabilities/CSRF.md +131 -0
- package/skills/cyberaudit/web/vulnerabilities/DESERIALIZATION.md +96 -0
- package/skills/cyberaudit/web/vulnerabilities/HEADERS.md +105 -0
- package/skills/cyberaudit/web/vulnerabilities/IDOR-BOLA.md +153 -0
- package/skills/cyberaudit/web/vulnerabilities/INJECTION.md +165 -0
- package/skills/cyberaudit/web/vulnerabilities/SECRETS.md +119 -0
- package/skills/cyberaudit/web/vulnerabilities/SSRF.md +124 -0
- package/skills/cyberaudit/web/vulnerabilities/SUPPLY-CHAIN.md +142 -0
- package/skills/cyberaudit/web/vulnerabilities/XSS.md +133 -0
- package/skills/cyberaudit/web/vulnerabilities/XXE.md +94 -0
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
# 📱 SECURITY AUDIT REPORT — MOBILE APPLICATION
|
|
2
|
+
# Official CyberAudit Skill Template — MASVS 2.0 Aligned
|
|
3
|
+
|
|
4
|
+
═══════════════════════════════════════════════════════════════
|
|
5
|
+
REPORT HEADER
|
|
6
|
+
═══════════════════════════════════════════════════════════════
|
|
7
|
+
|
|
8
|
+
MOBILE SECURITY AUDIT REPORT
|
|
9
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
10
|
+
|
|
11
|
+
Application : [APPLICATION NAME]
|
|
12
|
+
Version : [APP VERSION]
|
|
13
|
+
Framework : [React Native / Flutter / Ionic / Expo]
|
|
14
|
+
Platforms : [Android / iOS / Both]
|
|
15
|
+
Android Version : [Min SDK / Target SDK]
|
|
16
|
+
iOS Version : [Deployment Target]
|
|
17
|
+
Audit type : Mobile Application Security Audit
|
|
18
|
+
Audit level : [Quick Scan / Standard / Deep / Red Team]
|
|
19
|
+
Date : [DATE]
|
|
20
|
+
Auditor : CyberAudit Intelligence v3.0 — LUNAIRE
|
|
21
|
+
Confidentiality : 🔴 CONFIDENTIAL — Internal use only
|
|
22
|
+
|
|
23
|
+
═══════════════════════════════════════════════════════════════
|
|
24
|
+
EXECUTIVE SUMMARY
|
|
25
|
+
═══════════════════════════════════════════════════════════════
|
|
26
|
+
|
|
27
|
+
OVERALL VERDICT: [🔴 CRITICAL / 🟠 HIGH / 🟡 MODERATE / 🟢 ACCEPTABLE]
|
|
28
|
+
|
|
29
|
+
OVERALL SECURITY SCORE: [XX]/100
|
|
30
|
+
|
|
31
|
+
[████████████░░░░░░░░] [XX]%
|
|
32
|
+
|
|
33
|
+
0-20 : 🔴 Critical — Store publication BLOCKED
|
|
34
|
+
21-40 : 🟠 High — Major fixes before publication
|
|
35
|
+
41-60 : 🟡 Moderate — Significant fixes required
|
|
36
|
+
61-80 : 🟢 Good — Some fixes recommended
|
|
37
|
+
81-100: ✅ Excellent — Ready for publication
|
|
38
|
+
|
|
39
|
+
SCORES BY PLATFORM
|
|
40
|
+
━━━━━━━━━━━━━━━━━━━━━
|
|
41
|
+
|
|
42
|
+
Android : [XX]/100 [████████░░░░░░░░░░░░]
|
|
43
|
+
iOS : [XX]/100 [██████████░░░░░░░░░░]
|
|
44
|
+
|
|
45
|
+
VULNERABILITY DASHBOARD
|
|
46
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
47
|
+
|
|
48
|
+
🔴 CRITICAL : [N] vulnerability(ies) → Block publication
|
|
49
|
+
🟠 HIGH : [N] vulnerability(ies) → Fix before publication
|
|
50
|
+
🟡 MEDIUM : [N] vulnerability(ies) → Fix within 30 days
|
|
51
|
+
🟢 LOW : [N] vulnerability(ies) → Security backlog
|
|
52
|
+
ℹ️ INFO : [N] observation(s) → Recommendations
|
|
53
|
+
|
|
54
|
+
TOTAL : [N] findings
|
|
55
|
+
|
|
56
|
+
BREAKDOWN BY MASVS CATEGORY
|
|
57
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
58
|
+
|
|
59
|
+
MASVS-STORAGE : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
60
|
+
MASVS-CRYPTO : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
61
|
+
MASVS-AUTH : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
62
|
+
MASVS-NETWORK : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
63
|
+
MASVS-PLATFORM : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
64
|
+
MASVS-CODE : [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
65
|
+
MASVS-RESILIENCE: [N] finding(s) — [🔴/🟠/🟡/🟢]
|
|
66
|
+
|
|
67
|
+
IDENTIFIED BUSINESS RISKS
|
|
68
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
69
|
+
|
|
70
|
+
→ [Risk 1 in business language — e.g., user session theft]
|
|
71
|
+
→ [Risk 2 — e.g., financial data interception]
|
|
72
|
+
→ [Risk 3 — e.g., unauthorised access to personal data]
|
|
73
|
+
→ [Legal/compliance risk if GDPR/PCI-DSS/HIPAA involved]
|
|
74
|
+
|
|
75
|
+
IMMEDIATE ACTIONS REQUIRED
|
|
76
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
77
|
+
|
|
78
|
+
1. [Critical action 1 — affected file/module]
|
|
79
|
+
2. [Critical action 2]
|
|
80
|
+
3. [Critical action 3]
|
|
81
|
+
|
|
82
|
+
═══════════════════════════════════════════════════════════════
|
|
83
|
+
CONTEXT AND SCOPE
|
|
84
|
+
═══════════════════════════════════════════════════════════════
|
|
85
|
+
|
|
86
|
+
APPLICATION DESCRIPTION
|
|
87
|
+
[Short description of the app, its business domain,
|
|
88
|
+
target audience, data it processes]
|
|
89
|
+
|
|
90
|
+
TYPE OF DATA PROCESSED
|
|
91
|
+
□ Personal data (PII)
|
|
92
|
+
□ Financial / banking data
|
|
93
|
+
□ Health data
|
|
94
|
+
□ Location data
|
|
95
|
+
□ Biometric data
|
|
96
|
+
□ User credentials
|
|
97
|
+
□ [Other: specify]
|
|
98
|
+
|
|
99
|
+
INCLUDED IN AUDIT
|
|
100
|
+
✅ Source code [framework]
|
|
101
|
+
✅ AndroidManifest.xml
|
|
102
|
+
✅ Info.plist
|
|
103
|
+
✅ Network configuration
|
|
104
|
+
✅ Dependencies (package.json / pubspec.yaml)
|
|
105
|
+
✅ [Other audited element]
|
|
106
|
+
|
|
107
|
+
OUT OF SCOPE
|
|
108
|
+
⭕ Backend API (audited separately)
|
|
109
|
+
⭕ [Other out-of-scope element — justification]
|
|
110
|
+
|
|
111
|
+
ASSUMPTIONS AND LIMITATIONS
|
|
112
|
+
→ Static audit only (no testing on physical device)
|
|
113
|
+
→ No decompilation of the final binary
|
|
114
|
+
→ [Other limitation]
|
|
115
|
+
|
|
116
|
+
═══════════════════════════════════════════════════════════════
|
|
117
|
+
DETAILED FINDINGS
|
|
118
|
+
═══════════════════════════════════════════════════════════════
|
|
119
|
+
|
|
120
|
+
Agent instructions:
|
|
121
|
+
Group findings by severity (CRITICAL first).
|
|
122
|
+
Use the exact format below for each finding.
|
|
123
|
+
|
|
124
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
125
|
+
|
|
126
|
+
[VULN-MOB-001] — [VULNERABILITY TITLE]
|
|
127
|
+
─────────────────────────────────────────────
|
|
128
|
+
|
|
129
|
+
Severity : 🔴 CRITICAL
|
|
130
|
+
CVSS Score : [X.X]
|
|
131
|
+
CVSS Vector : CVSS:3.1/AV:[X]/AC:[X]/PR:[X]/UI:[X]/S:[X]/C:[X]/I:[X]/A:[X]
|
|
132
|
+
Category : [Storage / Network / Auth / Platform / Code / Crypto / Resilience]
|
|
133
|
+
MASVS : [MASVS-STORAGE-1 / MASVS-NETWORK-2 / etc.]
|
|
134
|
+
OWASP Mobile : [M1 / M2 / M3 / etc.]
|
|
135
|
+
Platform(s) : [Android / iOS / Both]
|
|
136
|
+
|
|
137
|
+
File(s) : [path/to/file]
|
|
138
|
+
Line(s) : [N]
|
|
139
|
+
|
|
140
|
+
┌─ VULNERABLE CODE / CONFIGURATION ─────────────────────────┐
|
|
141
|
+
│ │
|
|
142
|
+
│ [Exact code or configuration showing the vulnerability] │
|
|
143
|
+
│ [Annotated to show the precise problem] │
|
|
144
|
+
│ │
|
|
145
|
+
└────────────────────────────────────────────────────────────┘
|
|
146
|
+
|
|
147
|
+
DESCRIPTION
|
|
148
|
+
───────────
|
|
149
|
+
[Clear explanation of the vulnerability.
|
|
150
|
+
What happens, why it is dangerous in a mobile context.
|
|
151
|
+
2-4 sentences maximum.]
|
|
152
|
+
|
|
153
|
+
EXPLOITATION SCENARIO
|
|
154
|
+
────────────────────────
|
|
155
|
+
[Realistic scenario adapted to mobile:
|
|
156
|
+
"An attacker with physical access to the device can..."
|
|
157
|
+
"Via a MitM proxy on a public WiFi network..."
|
|
158
|
+
"After APK decompilation with jadx..."]
|
|
159
|
+
|
|
160
|
+
IMPACT
|
|
161
|
+
──────
|
|
162
|
+
Technical : [Precise technical impact]
|
|
163
|
+
Business : [Impact on the company and users]
|
|
164
|
+
Compliance : [GDPR / PCI-DSS / HIPAA impact if applicable]
|
|
165
|
+
|
|
166
|
+
┌─ FIXED CODE ──────────────────────────────────────────────┐
|
|
167
|
+
│ │
|
|
168
|
+
│ [Complete fixed code] │
|
|
169
|
+
│ [Comments explaining each protection] │
|
|
170
|
+
│ [Ready to copy-paste] │
|
|
171
|
+
│ │
|
|
172
|
+
└────────────────────────────────────────────────────────────┘
|
|
173
|
+
|
|
174
|
+
ADDITIONAL CONFIGURATION
|
|
175
|
+
─────────────────────────────
|
|
176
|
+
[If applicable: AndroidManifest.xml, Info.plist,
|
|
177
|
+
network_security_config.xml to modify]
|
|
178
|
+
|
|
179
|
+
REGRESSION TESTS
|
|
180
|
+
────────────────────
|
|
181
|
+
→ [Test to write to verify the fix holds]
|
|
182
|
+
→ [How to validate the fix manually]
|
|
183
|
+
|
|
184
|
+
REFERENCES
|
|
185
|
+
──────────
|
|
186
|
+
→ [OWASP MASVS link]
|
|
187
|
+
→ [OWASP Mobile Top 10 link]
|
|
188
|
+
→ [Android/iOS platform documentation]
|
|
189
|
+
→ [CVE if applicable]
|
|
190
|
+
|
|
191
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
192
|
+
[Repeat for each finding, grouped by severity]
|
|
193
|
+
|
|
194
|
+
═══════════════════════════════════════════════════════════════
|
|
195
|
+
COMPONENT ANALYSIS
|
|
196
|
+
═══════════════════════════════════════════════════════════════
|
|
197
|
+
|
|
198
|
+
LOCAL STORAGE
|
|
199
|
+
──────────────
|
|
200
|
+
AsyncStorage / SharedPreferences : [✅ Secure / ❌ Sensitive data detected]
|
|
201
|
+
Keychain / Keystore : [✅ Used / ⚠️ Missing / ❌ Misconfigured]
|
|
202
|
+
Local database : [✅ Encrypted / ❌ Unencrypted / ⭕ N/A]
|
|
203
|
+
Local files : [✅ OK / ❌ Sensitive data exposed]
|
|
204
|
+
HTTP cache : [✅ Configured / ❌ Sensitive data cached]
|
|
205
|
+
|
|
206
|
+
NETWORK SECURITY
|
|
207
|
+
────────────────
|
|
208
|
+
HTTPS : [✅ Exclusive / ❌ HTTP detected]
|
|
209
|
+
Certificate Pinning : [✅ Implemented / ❌ Missing / ⚠️ Partial]
|
|
210
|
+
Network Security Config (Android) : [✅ Configured / ❌ Missing / ❌ Cleartext allowed]
|
|
211
|
+
App Transport Security (iOS) : [✅ Configured / ⚠️ Exceptions present]
|
|
212
|
+
TLS Version : [✅ TLS 1.2+ / ❌ TLS 1.0/1.1 allowed]
|
|
213
|
+
|
|
214
|
+
AUTHENTICATION
|
|
215
|
+
─────────────────
|
|
216
|
+
Token storage : [✅ Keychain/Keystore / ❌ AsyncStorage]
|
|
217
|
+
Token expiration : [✅ Configured / ❌ Missing]
|
|
218
|
+
Biometrics : [✅ Secure / ❌ Poorly implemented / ⭕ N/A]
|
|
219
|
+
Session timeout : [✅ Configured / ❌ Missing]
|
|
220
|
+
Root/jailbreak behavior : [✅ Handled / ❌ Not handled]
|
|
221
|
+
|
|
222
|
+
IPC AND DEEP LINKS
|
|
223
|
+
──────────────────
|
|
224
|
+
Deep Links / URL Schemes : [✅ Validated / ❌ Not validated / ⭕ N/A]
|
|
225
|
+
Exported Android Intents : [✅ Protected / ❌ Exposed / ⭕ N/A]
|
|
226
|
+
WebView : [✅ Secure / ❌ Vulnerable / ⭕ N/A]
|
|
227
|
+
Content Providers : [✅ Protected / ❌ Exposed / ⭕ N/A]
|
|
228
|
+
|
|
229
|
+
CODE AND BINARY
|
|
230
|
+
────────────────
|
|
231
|
+
Hardcoded secrets : [✅ None / ❌ Detected]
|
|
232
|
+
Logs in production : [✅ Disabled / ❌ Active]
|
|
233
|
+
Debug mode in release : [✅ Disabled / ❌ Active]
|
|
234
|
+
Obfuscation : [✅ Enabled / ❌ Missing / ⭕ N/A]
|
|
235
|
+
Dependencies : [✅ Up to date / ⚠️ CVEs detected]
|
|
236
|
+
|
|
237
|
+
PERMISSIONS
|
|
238
|
+
────────────
|
|
239
|
+
Declared permissions : [List]
|
|
240
|
+
Unnecessary permissions : [✅ None / ❌ Listed here]
|
|
241
|
+
Permission justification : [✅ All justified / ⚠️ Questionable]
|
|
242
|
+
|
|
243
|
+
═══════════════════════════════════════════════════════════════
|
|
244
|
+
OWASP MASVS 2.0 COMPLIANCE
|
|
245
|
+
═══════════════════════════════════════════════════════════════
|
|
246
|
+
|
|
247
|
+
MASVS-STORAGE
|
|
248
|
+
MASVS-STORAGE-1 : No sensitive data in insecure storage [✅/❌/⚠️]
|
|
249
|
+
MASVS-STORAGE-2 : No sensitive data in logs [✅/❌/⚠️]
|
|
250
|
+
MASVS-STORAGE-3 : No sensitive data in backups [✅/❌/⚠️]
|
|
251
|
+
MASVS-STORAGE-4 : Data hidden when app in background [✅/❌/⚠️]
|
|
252
|
+
MASVS-STORAGE-5 : Keyboard cache disabled on sensitive fields [✅/❌/⚠️]
|
|
253
|
+
MASVS-STORAGE-6 : Clipboard protected on sensitive data [✅/❌/⚠️]
|
|
254
|
+
MASVS-STORAGE-7 : Data removed when no longer needed [✅/❌/⚠️]
|
|
255
|
+
MASVS-STORAGE-8 : Local DB encrypted if sensitive data [✅/❌/⚠️/N/A]
|
|
256
|
+
|
|
257
|
+
MASVS-CRYPTO
|
|
258
|
+
MASVS-CRYPTO-1 : Modern cryptographic algorithms [✅/❌/⚠️]
|
|
259
|
+
MASVS-CRYPTO-2 : Standard implementations only [✅/❌/⚠️]
|
|
260
|
+
MASVS-CRYPTO-3 : Secure random generation [✅/❌/⚠️]
|
|
261
|
+
MASVS-CRYPTO-4 : Secure key management [✅/❌/⚠️]
|
|
262
|
+
MASVS-CRYPTO-5 : No hardcoded secrets [✅/❌/⚠️]
|
|
263
|
+
|
|
264
|
+
MASVS-AUTH
|
|
265
|
+
MASVS-AUTH-1 : Auth verified server-side [✅/❌/⚠️]
|
|
266
|
+
MASVS-AUTH-2 : Secure session management [✅/❌/⚠️]
|
|
267
|
+
MASVS-AUTH-3 : Biometrics correctly implemented [✅/❌/⚠️/N/A]
|
|
268
|
+
MASVS-AUTH-4 : Strong password policy [✅/❌/⚠️]
|
|
269
|
+
|
|
270
|
+
MASVS-NETWORK
|
|
271
|
+
MASVS-NETWORK-1 : HTTPS exclusively [✅/❌/⚠️]
|
|
272
|
+
MASVS-NETWORK-2 : Strict certificate verification [✅/❌/⚠️]
|
|
273
|
+
MASVS-NETWORK-3 : Up-to-date network libraries [✅/❌/⚠️]
|
|
274
|
+
|
|
275
|
+
MASVS-PLATFORM
|
|
276
|
+
MASVS-PLATFORM-1: Correct use of platform APIs [✅/❌/⚠️]
|
|
277
|
+
MASVS-PLATFORM-2: Validated and secured deep links [✅/❌/⚠️/N/A]
|
|
278
|
+
MASVS-PLATFORM-3: Secure IPC [✅/❌/⚠️]
|
|
279
|
+
MASVS-PLATFORM-4: Secured WebViews [✅/❌/⚠️/N/A]
|
|
280
|
+
MASVS-PLATFORM-5: Android components not unnecessarily exported [✅/❌/⚠️/N/A]
|
|
281
|
+
MASVS-PLATFORM-6: JS disabled in WebViews if unnecessary [✅/❌/⚠️/N/A]
|
|
282
|
+
MASVS-PLATFORM-7: Minimal permissions [✅/❌/⚠️]
|
|
283
|
+
|
|
284
|
+
MASVS-CODE
|
|
285
|
+
MASVS-CODE-1 : Security tests in CI/CD pipeline [✅/❌/⚠️]
|
|
286
|
+
MASVS-CODE-2 : All third-party components up to date [✅/❌/⚠️]
|
|
287
|
+
MASVS-CODE-3 : App detects binary manipulation [✅/❌/⚠️/N/A]
|
|
288
|
+
MASVS-CODE-4 : Obfuscation implemented if necessary [✅/❌/⚠️/N/A]
|
|
289
|
+
|
|
290
|
+
MASVS-RESILIENCE (High-security apps only)
|
|
291
|
+
MASVS-RESILIENCE-1: Root/Jailbreak detection [✅/❌/⚠️/N/A]
|
|
292
|
+
MASVS-RESILIENCE-2: Anti-tampering [✅/❌/⚠️/N/A]
|
|
293
|
+
MASVS-RESILIENCE-3: Anti-debugging [✅/❌/⚠️/N/A]
|
|
294
|
+
MASVS-RESILIENCE-4: Anti-reverse-engineering [✅/❌/⚠️/N/A]
|
|
295
|
+
|
|
296
|
+
GLOBAL MASVS SCORE
|
|
297
|
+
Compliant items : [N] / [Total applicable]
|
|
298
|
+
Compliance rate : [XX]%
|
|
299
|
+
Level achieved : [L1 / L2 / R]
|
|
300
|
+
|
|
301
|
+
═══════════════════════════════════════════════════════════════
|
|
302
|
+
OWASP MOBILE TOP 10 — MAPPING
|
|
303
|
+
═══════════════════════════════════════════════════════════════
|
|
304
|
+
|
|
305
|
+
M1 — Improper Credential Usage : [✅/❌/⚠️]
|
|
306
|
+
M2 — Inadequate Supply Chain Security : [✅/❌/⚠️]
|
|
307
|
+
M3 — Insecure Authentication/Auth : [✅/❌/⚠️]
|
|
308
|
+
M4 — Insufficient Input/Output Valid. : [✅/❌/⚠️]
|
|
309
|
+
M5 — Insecure Communication : [✅/❌/⚠️]
|
|
310
|
+
M6 — Inadequate Privacy Controls : [✅/❌/⚠️]
|
|
311
|
+
M7 — Insufficient Binary Protections : [✅/❌/⚠️]
|
|
312
|
+
M8 — Security Misconfiguration : [✅/❌/⚠️]
|
|
313
|
+
M9 — Insecure Data Storage : [✅/❌/⚠️]
|
|
314
|
+
M10 — Insufficient Cryptography : [✅/❌/⚠️]
|
|
315
|
+
|
|
316
|
+
═══════════════════════════════════════════════════════════════
|
|
317
|
+
PRIORITISED REMEDIATION PLAN
|
|
318
|
+
═══════════════════════════════════════════════════════════════
|
|
319
|
+
|
|
320
|
+
PHASE 1 — IMMEDIATE (D+0 to D+7)
|
|
321
|
+
Objective: Eliminate all critical risks
|
|
322
|
+
┌──────────────────────────────────────────────────────────┐
|
|
323
|
+
│ □ VULN-MOB-001 : [Title] │
|
|
324
|
+
│ Estimated effort : [XS/S/M/L/XL] │
|
|
325
|
+
│ Owner : [Dev / DevOps / Arch] │
|
|
326
|
+
│ │
|
|
327
|
+
│ □ VULN-MOB-002 : [Title] │
|
|
328
|
+
│ Estimated effort : [XS/S/M/L/XL] │
|
|
329
|
+
│ Owner : [Dev / DevOps / Arch] │
|
|
330
|
+
└──────────────────────────────────────────────────────────┘
|
|
331
|
+
|
|
332
|
+
PHASE 2 — SHORT TERM (D+7 to D+30)
|
|
333
|
+
Objective: Eliminate all high risks
|
|
334
|
+
┌──────────────────────────────────────────────────────────┐
|
|
335
|
+
│ □ VULN-MOB-003 : [Title] │
|
|
336
|
+
│ □ VULN-MOB-004 : [Title] │
|
|
337
|
+
└──────────────────────────────────────────────────────────┘
|
|
338
|
+
|
|
339
|
+
PHASE 3 — MEDIUM TERM (D+30 to D+90)
|
|
340
|
+
Objective: Address medium risks
|
|
341
|
+
┌──────────────────────────────────────────────────────────┐
|
|
342
|
+
│ □ VULN-MOB-005 : [Title] │
|
|
343
|
+
│ □ VULN-MOB-006 : [Title] │
|
|
344
|
+
└──────────────────────────────────────────────────────────┘
|
|
345
|
+
|
|
346
|
+
PHASE 4 — LONG TERM (Backlog)
|
|
347
|
+
┌──────────────────────────────────────────────────────────┐
|
|
348
|
+
│ □ Implement certificate pinning with rotation plan │
|
|
349
|
+
│ □ Add root/jailbreak detection if sensitive app │
|
|
350
|
+
│ □ Set up code obfuscation │
|
|
351
|
+
│ □ Integrate MobSF in CI/CD pipeline │
|
|
352
|
+
│ □ Train the team on mobile security specifics │
|
|
353
|
+
└──────────────────────────────────────────────────────────┘
|
|
354
|
+
|
|
355
|
+
TOTAL ESTIMATED EFFORT
|
|
356
|
+
Phase 1 : [XX] man-days
|
|
357
|
+
Phase 2 : [XX] man-days
|
|
358
|
+
Phase 3 : [XX] man-days
|
|
359
|
+
Phase 4 : [XX] man-days
|
|
360
|
+
TOTAL : [XX] man-days
|
|
361
|
+
|
|
362
|
+
═══════════════════════════════════════════════════════════════
|
|
363
|
+
ARCHITECTURE & PROCESS RECOMMENDATIONS
|
|
364
|
+
═══════════════════════════════════════════════════════════════
|
|
365
|
+
|
|
366
|
+
ARCHITECTURE
|
|
367
|
+
1. [Recommendation 1 — e.g., Migrate to a zero-trust
|
|
368
|
+
architecture with systematic server-side validation]
|
|
369
|
+
Impact : [High / Medium / Low]
|
|
370
|
+
Effort : [XS / S / M / L / XL]
|
|
371
|
+
|
|
372
|
+
2. [Recommendation 2 — e.g., Implement a unified security
|
|
373
|
+
SDK to centralise Keychain, logging, pinning]
|
|
374
|
+
|
|
375
|
+
PROCESS
|
|
376
|
+
1. Integrate MobSF in CI/CD pipeline for static analysis
|
|
377
|
+
2. Test on rooted/jailbroken device at each release
|
|
378
|
+
3. Set up a SSL pin rotation procedure
|
|
379
|
+
4. Perform dynamic pentest before each major release
|
|
380
|
+
5. Train mobile team on MASVS controls
|
|
381
|
+
|
|
382
|
+
PRODUCTION MONITORING
|
|
383
|
+
1. Implement runtime anomaly detection solution
|
|
384
|
+
2. Monitor failed auth attempts
|
|
385
|
+
3. Alert on connections from rooted devices
|
|
386
|
+
4. Track sensitive data access
|
|
387
|
+
|
|
388
|
+
═══════════════════════════════════════════════════════════════
|
|
389
|
+
CONCLUSION
|
|
390
|
+
═══════════════════════════════════════════════════════════════
|
|
391
|
+
|
|
392
|
+
[Professional synthesis in 4-6 sentences:
|
|
393
|
+
- Overall observed security level
|
|
394
|
+
- Positive points identified (what is done well)
|
|
395
|
+
- Priority points of attention
|
|
396
|
+
- Overall remediation effort
|
|
397
|
+
- Final recommendation]
|
|
398
|
+
|
|
399
|
+
FINAL PUBLICATION RECOMMENDATION:
|
|
400
|
+
|
|
401
|
+
🔴 NO-GO — Critical fixes mandatory before publication
|
|
402
|
+
🟠 NO-GO — High fixes to address before publication
|
|
403
|
+
🟡 GO conditional — Remediation plan required within 30 days
|
|
404
|
+
🟢 GO — Application ready for publication
|
|
405
|
+
|
|
406
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
407
|
+
Report generated by CyberAudit Skill v3.0 — LUNAIRE EDITION
|
|
408
|
+
Aligned with OWASP MASVS 2.0 and OWASP Mobile Top 10
|
|
409
|
+
This report is CONFIDENTIAL — Restricted distribution
|
|
410
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
# 🛡️ SECURITY AUDIT REPORT — WEB APPLICATION
|
|
2
|
+
# Official CyberAudit Skill Template
|
|
3
|
+
|
|
4
|
+
═══════════════════════════════════════════════════════════════
|
|
5
|
+
REPORT HEADER
|
|
6
|
+
═══════════════════════════════════════════════════════════════
|
|
7
|
+
|
|
8
|
+
SECURITY AUDIT REPORT
|
|
9
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
10
|
+
|
|
11
|
+
Application : [APPLICATION NAME]
|
|
12
|
+
Version : [VERSION]
|
|
13
|
+
Framework(s) : [FRAMEWORK(S) AUDITED]
|
|
14
|
+
Audit type : Web Application Security Audit
|
|
15
|
+
Audit level : [Quick Scan / Standard / Deep / Red Team]
|
|
16
|
+
Date : [DATE]
|
|
17
|
+
Auditor : CyberAudit Intelligence v3.0
|
|
18
|
+
Confidentiality : 🔴 CONFIDENTIAL — Internal use only
|
|
19
|
+
|
|
20
|
+
═══════════════════════════════════════════════════════════════
|
|
21
|
+
EXECUTIVE SUMMARY
|
|
22
|
+
═══════════════════════════════════════════════════════════════
|
|
23
|
+
|
|
24
|
+
OVERALL VERDICT: [🔴 CRITICAL / 🟠 HIGH / 🟡 MODERATE / 🟢 ACCEPTABLE]
|
|
25
|
+
|
|
26
|
+
SECURITY SCORE: [XX]/100
|
|
27
|
+
|
|
28
|
+
[████████░░░░░░░░░░░░] [XX]%
|
|
29
|
+
|
|
30
|
+
0-20 : 🔴 Critical — Do not deploy
|
|
31
|
+
21-40 : 🟠 High — Major fixes required
|
|
32
|
+
41-60 : 🟡 Moderate — Significant fixes before prod
|
|
33
|
+
61-80 : 🟢 Good — Some fixes recommended
|
|
34
|
+
81-100: ✅ Excellent — Ready for production
|
|
35
|
+
|
|
36
|
+
VULNERABILITY DASHBOARD
|
|
37
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
38
|
+
|
|
39
|
+
🔴 CRITICAL : [N] vulnerability(ies) → Block deployment
|
|
40
|
+
🟠 HIGH : [N] vulnerability(ies) → Fix before deployment
|
|
41
|
+
🟡 MEDIUM : [N] vulnerability(ies) → Fix within 30 days
|
|
42
|
+
🟢 LOW : [N] vulnerability(ies) → Security backlog
|
|
43
|
+
ℹ️ INFO : [N] observation(s) → Recommendations
|
|
44
|
+
|
|
45
|
+
TOTAL : [N] findings
|
|
46
|
+
|
|
47
|
+
IDENTIFIED BUSINESS RISKS
|
|
48
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
49
|
+
→ [Risk 1 in business language, not technical]
|
|
50
|
+
→ [Risk 2: impact on users/data]
|
|
51
|
+
→ [Risk 3: legal/compliance risk if applicable]
|
|
52
|
+
|
|
53
|
+
IMMEDIATE ACTIONS REQUIRED
|
|
54
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
55
|
+
1. [Critical action 1 — affected file/module]
|
|
56
|
+
2. [Critical action 2]
|
|
57
|
+
3. [Critical action 3]
|
|
58
|
+
|
|
59
|
+
═══════════════════════════════════════════════════════════════
|
|
60
|
+
AUDIT SCOPE
|
|
61
|
+
═══════════════════════════════════════════════════════════════
|
|
62
|
+
|
|
63
|
+
INCLUDED IN AUDIT:
|
|
64
|
+
✅ [Module/Component 1]
|
|
65
|
+
✅ [Module/Component 2]
|
|
66
|
+
✅ [Module/Component 3]
|
|
67
|
+
|
|
68
|
+
OUT OF SCOPE:
|
|
69
|
+
⭕ [Item not audited 1 — reason]
|
|
70
|
+
⭕ [Item not audited 2 — reason]
|
|
71
|
+
|
|
72
|
+
ASSUMPTIONS AND LIMITATIONS:
|
|
73
|
+
→ [Assumption 1: source code only, no dynamic testing]
|
|
74
|
+
→ [Limitation 1: static audit, some execution paths not tested]
|
|
75
|
+
|
|
76
|
+
═══════════════════════════════════════════════════════════════
|
|
77
|
+
DETAILED FINDINGS
|
|
78
|
+
═══════════════════════════════════════════════════════════════
|
|
79
|
+
|
|
80
|
+
Agent instruction: For each finding, use this exact format.
|
|
81
|
+
|
|
82
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
83
|
+
|
|
84
|
+
[VULN-WEB-001] — [VULNERABILITY TITLE]
|
|
85
|
+
─────────────────────────────────────────────
|
|
86
|
+
|
|
87
|
+
Severity : 🔴 CRITICAL
|
|
88
|
+
CVSS Score : [X.X] (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
|
|
89
|
+
Category : [Injection / Auth / XSS / etc.]
|
|
90
|
+
OWASP : [A03:2021 — Injection]
|
|
91
|
+
CWE : [CWE-89 — SQL Injection]
|
|
92
|
+
|
|
93
|
+
File(s) : [path/to/file.ext]
|
|
94
|
+
Line(s) : [N-M]
|
|
95
|
+
|
|
96
|
+
┌─ VULNERABLE CODE ─────────────────────────────────────────┐
|
|
97
|
+
│ │
|
|
98
|
+
│ [Exact code showing the vulnerability] │
|
|
99
|
+
│ [Annotated to show the precise problem] │
|
|
100
|
+
│ │
|
|
101
|
+
└────────────────────────────────────────────────────────────┘
|
|
102
|
+
|
|
103
|
+
DESCRIPTION
|
|
104
|
+
───────────
|
|
105
|
+
[Clear and precise explanation of the vulnerability.
|
|
106
|
+
What happens, why it's a problem.
|
|
107
|
+
2-4 sentences maximum.]
|
|
108
|
+
|
|
109
|
+
IMPACT
|
|
110
|
+
──────
|
|
111
|
+
[Technical AND concrete business impact.
|
|
112
|
+
What can an attacker do?
|
|
113
|
+
What data/functions are compromised?
|
|
114
|
+
What is the impact on users?]
|
|
115
|
+
|
|
116
|
+
PROOF OF CONCEPT (if applicable)
|
|
117
|
+
──────────────────────────────────
|
|
118
|
+
[Demonstration of exploitability without going
|
|
119
|
+
all the way to a full exploit. Example payload.]
|
|
120
|
+
|
|
121
|
+
┌─ FIXED CODE ──────────────────────────────────────────────┐
|
|
122
|
+
│ │
|
|
123
|
+
│ [Complete fixed code] │
|
|
124
|
+
│ [Comments explaining each protection] │
|
|
125
|
+
│ [Ready to copy-paste] │
|
|
126
|
+
│ │
|
|
127
|
+
└────────────────────────────────────────────────────────────┘
|
|
128
|
+
|
|
129
|
+
ADDITIONAL REMEDIATION
|
|
130
|
+
──────────────────────────
|
|
131
|
+
→ [Additional step 1 if applicable]
|
|
132
|
+
→ [System configuration to modify]
|
|
133
|
+
→ [Test to add to prevent regression]
|
|
134
|
+
|
|
135
|
+
REFERENCES
|
|
136
|
+
──────────
|
|
137
|
+
→ [Relevant OWASP link]
|
|
138
|
+
→ [CWE link]
|
|
139
|
+
→ [Framework documentation]
|
|
140
|
+
|
|
141
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
142
|
+
[Repeat for each finding, grouped by severity]
|
|
143
|
+
|
|
144
|
+
═══════════════════════════════════════════════════════════════
|
|
145
|
+
OWASP TOP 10 2023 COMPLIANCE
|
|
146
|
+
═══════════════════════════════════════════════════════════════
|
|
147
|
+
|
|
148
|
+
A01 — Broken Access Control : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
149
|
+
A02 — Cryptographic Failures : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
150
|
+
A03 — Injection : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
151
|
+
A04 — Insecure Design : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
152
|
+
A05 — Security Misconfiguration : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
153
|
+
A06 — Vulnerable Components : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
154
|
+
A07 — Auth & Session Failures : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
155
|
+
A08 — Software & Data Integrity : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
156
|
+
A09 — Security Logging & Monitoring : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
157
|
+
A10 — Server-Side Request Forgery : [✅ PASS / ❌ FAIL / ⚠️ PARTIAL]
|
|
158
|
+
|
|
159
|
+
═══════════════════════════════════════════════════════════════
|
|
160
|
+
PRIORITISED REMEDIATION PLAN
|
|
161
|
+
═══════════════════════════════════════════════════════════════
|
|
162
|
+
|
|
163
|
+
PHASE 1 — IMMEDIATE (Week 1)
|
|
164
|
+
Objective: Eliminate all critical risks
|
|
165
|
+
┌──────────────────────────────────────────────────────────┐
|
|
166
|
+
│ □ VULN-WEB-001 : [Title] Owner: Dev team │
|
|
167
|
+
│ □ VULN-WEB-002 : [Title] Owner: DevOps │
|
|
168
|
+
│ □ VULN-WEB-003 : [Title] Owner: Dev team │
|
|
169
|
+
└──────────────────────────────────────────────────────────┘
|
|
170
|
+
|
|
171
|
+
PHASE 2 — SHORT TERM (Weeks 2-4)
|
|
172
|
+
Objective: Eliminate all high risks
|
|
173
|
+
┌──────────────────────────────────────────────────────────┐
|
|
174
|
+
│ □ VULN-WEB-004 : [Title] │
|
|
175
|
+
│ □ VULN-WEB-005 : [Title] │
|
|
176
|
+
└──────────────────────────────────────────────────────────┘
|
|
177
|
+
|
|
178
|
+
PHASE 3 — MEDIUM TERM (Months 2-3)
|
|
179
|
+
Objective: Address medium risks
|
|
180
|
+
┌──────────────────────────────────────────────────────────┐
|
|
181
|
+
│ □ VULN-WEB-006 : [Title] │
|
|
182
|
+
│ □ VULN-WEB-007 : [Title] │
|
|
183
|
+
└──────────────────────────────────────────────────────────┘
|
|
184
|
+
|
|
185
|
+
PHASE 4 — LONG TERM (Backlog)
|
|
186
|
+
┌──────────────────────────────────────────────────────────┐
|
|
187
|
+
│ □ [Architecture recommendations] │
|
|
188
|
+
│ □ [Process improvements] │
|
|
189
|
+
│ □ [Team training] │
|
|
190
|
+
└──────────────────────────────────────────────────────────┘
|
|
191
|
+
|
|
192
|
+
═══════════════════════════════════════════════════════════════
|
|
193
|
+
ARCHITECTURAL RECOMMENDATIONS
|
|
194
|
+
═══════════════════════════════════════════════════════════════
|
|
195
|
+
|
|
196
|
+
Beyond code fixes, these structural improvements
|
|
197
|
+
would significantly strengthen the security posture:
|
|
198
|
+
|
|
199
|
+
1. [Architecture recommendation 1]
|
|
200
|
+
Why: [Justification]
|
|
201
|
+
How : [Direction to take]
|
|
202
|
+
|
|
203
|
+
2. [Architecture recommendation 2]
|
|
204
|
+
|
|
205
|
+
3. [Process recommendation: WAF, regular pentest, security review,
|
|
206
|
+
team training, bug bounty, etc.]
|
|
207
|
+
|
|
208
|
+
═══════════════════════════════════════════════════════════════
|
|
209
|
+
CONCLUSION
|
|
210
|
+
═══════════════════════════════════════════════════════════════
|
|
211
|
+
|
|
212
|
+
[Synthesis in 3-5 sentences of the overall security level,
|
|
213
|
+
positive points identified, and remediation effort.
|
|
214
|
+
Professional but direct tone.]
|
|
215
|
+
|
|
216
|
+
[Final recommendation: Go / No-Go for production]
|
|
217
|
+
|
|
218
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
219
|
+
Report generated by CyberAudit Skill v3.0 — LUNAIRE EDITION
|
|
220
|
+
This report is CONFIDENTIAL. Restricted distribution.
|
|
221
|
+
For any questions: use CyberAudit in Q&A mode
|
|
222
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|