<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ThisIsOne</author_name>
  <author_url>https://blog.hatena.ne.jp/ThisIsOne/</author_url>
  <blog_title>Shikata Ga Nai</blog_title>
  <blog_url>https://cysec148.hatenablog.com/</blog_url>
  <categories>
    <anon>Android</anon>
  </categories>
  <description>Hello there, ('ω')ノ ✅ 1. 不要な「権限」を要求しない ✖️ NG例： &lt;uses-permission android:name=&quot;android.permission.READ_CONTACTS&quot; /&gt; → 使っていないのに付けっぱなし。診断で即バレます。 ✔ 対策： 最小権限の原則（Principle of Least Privilege） 本当に必要なときだけ runtime permission でユーザーに明示的に許可を求める ✅ 2. ログ出力はリリース時に全て消す ✖️ NG例： Log.d(&quot;Login&quot;, &quot;userId=&quot; + userId + &quot;,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcysec148.hatenablog.com%2Fentry%2F2025%2F09%2F06%2F091522&quot; title=&quot;第59回：アプリ側でできる脆弱性対策 - Shikata Ga Nai&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-06 09:15:22</published>
  <title>第59回：アプリ側でできる脆弱性対策</title>
  <type>rich</type>
  <url>https://cysec148.hatenablog.com/entry/2025/09/06/091522</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
