android-legacy-security
БесплатноБез исполняемых скриптовНе проверенHarden Intent handling, WebView configuration, and FileProvider access in Android apps. Use when securing Intent extras, configuring WebViews, or exposing…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Android Legacy Security Standards
Priority: P0 (CRITICAL)
1. Secure Intents and Components
- Set
android:exported="false"for all internal Activities/Services unless needed for deep links. - Verify
resolveActivitybefore starting implicit intents. - Treat all incoming Intent extras as untrusted — validate all schema/data types.
See hardening examples for manifest and component restrictions.
2. Lock Down WebViews
- Default to
javaScriptEnabled = false. UseWebViewClientandWebChromeClientto restrict navigation. - Disable
allowFileAccessandallowFileAccessFromFileURLsto prevent local file theft via XSS. - If using
@JavascriptInterface(API 17+), strictly limit exposed API surface.
See hardening examples for WebView lockdown patterns.
3. Protect Storage and Files
- NEVER expose
file://URIs. UseFileProviderto generatecontent://URIs with temporary permissions. - Use
EncryptedSharedPreferencesfor auth tokens and PII. Never use legacy public-read file modes. - Use
NetworkSecurityConfigto disablecleartextTrafficPermittedand implement certificate pinning.
Anti-Patterns
- No Implicit Intents Internally: Use explicit intents with component class name.
- No Public Read Modes: Never expose SharedPreferences or files with global read access.
References
Установить android-legacy-security в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл android-legacy-security?
Harden Intent handling, WebView configuration, and FileProvider access in Android apps. Use when securing Intent extras, configuring WebViews, or exposing files via FileProvider; defer manifest export flags and generic Bundle typing to focused Android security guidance.
Как установить скилл android-legacy-security?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл android-legacy-security запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic