원클릭으로
security-check
Security audit of current changes for Android/Kotlin vulnerabilities and best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Security audit of current changes for Android/Kotlin vulnerabilities and best practices
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Quick review of the current diff for bugs, logic errors, convention violations, and test gaps
Scaffold a new feature module with the appropriate layers and MESA conventions
Scaffold a new Strata interactor with interface, implementation, fake, and test
Add a new screen to an existing feature module with StateHolder, UI, factories, and tests
Add missing test cases, targeting a specific file or all changed files on the branch
Bump library versions in gradle.properties and prepare release notes
| name | security-check |
| description | Security audit of current changes for Android/Kotlin vulnerabilities and best practices |
| disable-model-invocation | true |
| argument-hint | [--staged | --uncommitted] |
Perform a focused security audit on the current changes. Analyze the diff and the full content of changed files for security vulnerabilities, insecure patterns, and Android-specific risks.
Scope: $ARGUMENTS
Determine which changes to audit:
--staged → git diff --cached (only staged changes)--uncommitted → git diff HEAD (only uncommitted changes)git diff main (all changes on the branch vs main, committed and uncommitted)Also run git status to identify new untracked files.
Read the diff output AND the full content of every changed file. Security issues often depend on context beyond the changed lines.
BuildConfig fields, or gradle.properties committed to source.gitignore covers sensitive files (local.properties, *.jks, *.keystore)SharedPreferences (use EncryptedSharedPreferences or equivalent)Parcelable/Serializable objects passed via Intent extras without validation@RawQuery or SimpleSQLiteQuery)rememberSaveable state that persists across process deathandroid:usesCleartextTraffic and network security config)TrustManager that accepts all certsandroid:exported="false" where appropriate)Intent data validated before use (no unguarded getStringExtra, getParcelableExtra, etc.)PendingIntent created with FLAG_MUTABLE unnecessarilyaddJavascriptInterface exposing sensitive methodsWebViewClient.shouldOverrideUrlLoading validates URLssetAllowFileAccess(false) for WebViews loading remote contentMIXED_CONTENT_NEVER_ALLOW)Runtime.exec() or ProcessBuilder with unsanitized inputClass.forName, DexClassLoader) with untrusted inputeval-style execution of user-provided dataLog.d, Log.e, Timber, etc.)ProGuard/R8 rules do not expose sensitive class or method namesBrief assessment of the security posture of the changes.
Show all completed checklists from Steps 2-10 with pass/fail/not-applicable indicators. Skip entire sections that are not applicable to the changed files.
List by severity:
For each vulnerability:
If no issues are found, state that the changes pass the security audit.