無題

Pasted Oct 24, 2026, 1:50 AM1 file16 lines

Scan to open on your phone

Point a camera at the QR code - it opens this exact paste, no app needed.

https://codepastes.com/zzgsneda5mjf7eb4
無題
# 安全なセキュリティ診断デモ
apps = [
    {"name": "電卓アプリ", "camera": False, "contacts": False},
    {"name": "謎のアプリ", "camera": True, "contacts": True},
    {"name": "メモアプリ", "camera": False, "contacts": True},
]

for app in apps:
    print(f"\nアプリ: {app['name']}")

    if app["camera"] and app["contacts"]:
        print("警告:複数の機密権限があります。確認してください。")
    else:
        print("権限を確認しました。")

print("\n診断デモ終了")

396 chars · codepastes.com