mcpField
A
account-security

account-security

github.com/vivy-yiセキュリティ508163 回インストール40 週間前に更新
リポジトリ

account-security について

小紅書のアカウント所有者やチーム向けのセキュリティスキルです。認証、端末とネットワークの管理、ログイン状況の確認、チームのアクセス制御、復旧準備を扱い、不正アクセスの予防と所有証明を使った復旧を支援します。

主な機能

  1. 01強固なパスワードと二要素認証
  2. 02信頼できる端末とネットワークに制限
  3. 03ログイン履歴の定期確認
  4. 04チームメンバーのアクセス管理
  5. 05アカウント所有証明の保管

活用シーン

  1. 01新規アカウントの基本的な保護設定
  2. 02不審なログインの調査
  3. 03チーム利用時のアクセス制御
  4. 04盗難時に備えた復旧資料の準備

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/vivy-yi/xiaohongshu-skills --skill account-security

インストール後、Claude Code で/account-securityを入力して読み込まれたか確認します。

詳細

アカウントのセキュリティ(账号安全)

概要

アカウントのセキュリティとは、不正アクセスを防ぐための保護対策を実施し、Xiaohongshu アカウントの個人情報とコンテンツを守るとともに、セキュリティ侵害やアカウントの乗っ取りに効果的に対応することです。

使用するタイミング

次の場合に使用します:

  • 新しいアカウントを設定するとき(最初からセキュリティ対策を実施します)
  • アカウントの価値が高まったとき(フォロワーや保護する価値のあるコンテンツライブラリがある場合)
  • 不審なアクティビティが発生しているとき
  • アカウントの乗っ取りやハッキングから復旧するとき
  • アカウントへのアクセスを共有するとき(チーム、アシスタント)
  • アカウントの安全性が心配なとき

次の場合は使用しないでください:

  • アカウントにまだ価値がないとき(新しいアカウントで、成長に注力する場合)
  • 過度に心配しているとき(ほとんどの場合、基本的なセキュリティで十分です)

基本パターン

対策前(脆弱なアカウント):

❌ "Simple password '123456', anyone could guess"
❌ "Logged in on public WiFi, account hacked"
❌ "Gave password to assistant, they stole account"
❌ "Account stolen, no way to recover (no proof of ownership)"
❌ "Years of work lost in seconds"

対策後(保護されたアカウント):

✅ "Strong unique password + two-factor authentication"
✅ "Only log in on secure networks, devices protected"
✅ "Access log tracks all logins, suspicious activity detected"
✅ "Account recovery plan in place (proof of ownership documented)"
✅ "Team access managed (individual login credentials)"
✅ "Peace of mind: account and followers protected"

5 つのセキュリティレイヤー:

  1. 強力な認証 - 固有のパスワード、2FA の有効化
  2. 安全なアクセス - 信頼できるデバイスとネットワークのみを使用します
  3. アクセス制御 - アカウントにアクセスできるユーザーを管理します
  4. モニタリング - ログインアクティビティを追跡し、侵害を早期に検知します
  5. 復旧の準備 - 所有者であることの証明を記録します

クイックリファレンス

セキュリティ対策保護レベル実施方法優先度
強力なパスワード高固有で複雑なパスワード重大
二要素認証非常に高いSMS または認証アプリ重大
信頼できるデバイスのみを使用中ログインするデバイスを制限高
安全なネットワーク中公共 WiFi を避ける高
アクセスのモニタリング高ログインアクティビティを定期的に確認高
復旧計画非常に高い所有者であることの証明を記録重大

実施方法

ステップ 1:強力な認証を実施する

パスワードと 2FA:

Secure Account Access:

1. Create Strong Password
   Password Requirements:
   ✅ Minimum 12 characters (longer is better)
   ✅ Mix of uppercase and lowercase letters
   ✅ Include numbers and symbols
   ✅ No personal information (name, birthday)
   ✅ Not used on any other site (unique)
   ✅ Not a common word or pattern

   Good Password Examples:
   - "Tr0ub4dor&3Horse!Battery" (22 chars, random)
   - "9k$P2m#vL7xQ!zR4" (15 chars, random characters)
   - "Correct-Horse-Battery-Staple-99" (phrase-based, memorable)

   Bad Password Examples:
   ❌ "123456" (too simple)
   ❌ "password" (common word)
   ❌ "xiaohongshu2026" (predictable, app name)
   ❌ "Name123456" (contains personal info)

   Password Management:
   - Use password manager (1Password, LastPass, Bitwarden)
   - Never reuse passwords across sites
   - Change password annually (or if breach suspected)
   - Never share password (except recovery backup)

2. Enable Two-Factor Authentication (2FA)
   What is 2FA:
   - Requires second verification beyond password
   - Typically: code sent to phone or authenticator app
   - Prevents unauthorized access even with password

   Enable in Xiaohongshu:
   - Go to: Settings → Security
   - Find: Two-Factor Authentication
   - Choose: SMS code or Authenticator App
   - Follow: Setup instructions

   Authenticator App (Recommended over SMS):
   - Google Authenticator
   - Authy
   - Microsoft Authenticator
   - 1Password (built-in)

   Benefits:
   ✅ More secure than SMS (SIM hijacking risk)
   ✅ Works offline
   ✅ No phone signal required

   Backup Codes:
   - Generate backup codes during setup
   - Store securely (password manager, safe)
   - Use if lose access to 2FA device

3. Secure Login Credentials
   Storage:
   ✅ Use password manager (encrypted)
   ✅ Never store in plain text (notes app, email)
   ✅ Never share screenshot of password
   ✅ Never write password physically (unless secured safe)

   Sharing (Only if absolutely necessary):
   ✅ Use password manager sharing feature (encrypted)
   ✅ Change password immediately after person no longer needs access
   ✅ Track who has access (access log)

   Emergency Access:
   - Designate trusted contact for emergency access
   - Store sealed envelope with password in safe
   - Use password manager emergency access feature
   - Document for estate planning (digital assets)
ステップ 2:アクセスポイントを管理する

安全なログイン場所とデバイス:

Limit Account Access:

1. Trusted Devices Only
   Device Management:
   ✅ Only use personal devices (phone, computer)
   ✅ Avoid public computers (library, internet cafe)
   ✅ Log out from shared devices after use
   ✅ Remove old devices from account (device list)

   Manage Devices in Xiaohongshu:
   - Go to: Settings → Security → Login Devices
   - Review: All devices with account access
   - Remove: Unrecognized or old devices
   - Enable: "Trusted devices only" (if available)

   Device Security:
   ✅ Use device passcode/biometrics (Face ID, fingerprint)
   ✅ Keep OS updated (security patches)
   ✅ Use antivirus/anti-malware (computers)
   ✅ Encrypt device storage (full disk encryption)

2. Secure Networks
   Safe Networks:
   ✅ Home WiFi (secured with strong password)
   ✅ Cellular data (4G/5G)
   ✅ Work VPN (if using work network)

   Avoid:
   ❌ Public WiFi (coffee shop, airport, hotel)
   ❌ Unsecured networks (no password required)
   ❌ Shared networks (neighbor's WiFi)

   If Must Use Public WiFi:
   ✅ Use VPN (virtual private network)
   ✅ Avoid logging into accounts (if possible)
   ✅ Log out immediately after use
   ✅ Don't save passwords on device

   VPN Recommendations:
   - ExpressVPN
   - NordVPN
   - Surfshark
   - Orbot (free, open source)

3. Browser and App Security
   Browser Security:
   ✅ Use updated browser (Chrome, Firefox, Safari)
   ✅ Enable browser password manager (encrypted storage)
   ✅ Use privacy extensions (HTTPS Everywhere, Privacy Badger)
   ✅ Clear cookies/cache after using public computer

   App Security:
   ✅ Keep Xiaohongshu app updated
   ✅ Only download from official app store (not third-party)
   ✅ Review app permissions (location, contacts, etc.)
   ✅ Lock app with biometrics (if available)

   Anti-Phishing:
   ✅ Verify URL (xiaohongshu.com, not typos)
   ✅ Don't click suspicious links in DMs or emails
   ✅ Verify official communications (Xiaohongshu won't ask for password)
   ✅ Report phishing attempts

4. Session Management
   Auto-Logout Settings:
   ✅ Enable "Logout after X minutes of inactivity"
   ✅ Set to: 15-30 minutes (balance security vs convenience)
   ✅ Always log out after use (shared or public devices)

   Active Sessions:
   - Go to: Settings → Security → Active Sessions
   - Review: All currently active sessions
   - Terminate: Unrecognized sessions
   - Regular: Check weekly

   Login Notifications:
   ✅ Enable: "New login notification"
   ✅ Receive: SMS/email for new logins
   ✅ Respond: Immediately if not you
ステップ 3:アカウントアクティビティをモニタリングする

不審なアクティビティを早期に検知する:

Security Monitoring Routine:

1. Regular Login Review
   Weekly Check:
   ✅ Review login history (Settings → Security)
   ✅ Check: Location, device, time of each login
   ✅ Verify: All logins were you
   ✅ Investigate: Any unrecognized login

   What to Look For:
   ⚠️ Login from different city/country
   ⚠️ Login from unknown device
   ⚠️ Login at unusual time (3 AM when you were asleep)
   ⚠️ Multiple failed login attempts

2. Content and Activity Monitoring
   Weekly Check:
   ✅ Review posts you didn't create
   ✅ Check DMs you didn't send
   ✅ Verify comments you didn't write
   ✅ Monitor: Follower count sudden changes

   Signs of Account Breach:
   ⚠️ Posts or stories you didn't create
   ⚠️ DMs sent to your followers (spam, scams)
   ⚠️ Comments you didn't write
   ⚠️ Sudden follower drop (mass unfollow by hacker)
   ⚠️ Bio or profile changed
   ⚠️ Password suddenly stops working

3. Follower and Engagement Monitoring
   Watch For:
   ⚠️ Sudden follower drop (hacker unfollowing everyone)
   ⚠️ Unusual engagement patterns (spam likes/comments)
   ⚠️ Followers receiving spam from your account
   ⚠️ Reports from followers: "Are you hacked? You sent me weird DM"

   Action:
   - If followers report suspicious activity:
     ✅ Thank them for reporting
     ✅ Immediately check account security
     ✅ Post public announcement if confirmed hacked

4. Third-Party App Access
   Review Connected Apps:
   - Go to: Settings → Security → Connected Apps/Third-Party Access
   - Review: All apps with account access
   - Remove: Apps you don't recognize or no longer use
   - Revoke: Old permissions (apps not used in 6+ months)

   Only Authorize:
   ✅ Official apps (Xiaohongshu analytics tools)
   ✅ Reputable third-party apps (well-known brands)
   ✅ Apps you actively use

   Never Authorize:
   ❌ Apps promising free followers/likes (scams)
   ❌ Unfamiliar apps (can steal account access)
   ❌ Apps requesting excessive permissions

5. Set Up Security Alerts
   Enable Notifications:
   ✅ New login from new device
   ✅ Password change
   ✅ Email/phone change
   ✅ New connected app
   ✅ Unusual activity detected

   Response to Alerts:
   ⚠️ Immediate action required
   ✅ Verify: Was this you?
   ✅ If not: Change password immediately, enable 2FA
   ✅ If yes: No action needed (legitimate activity)
ステップ 4:チームのアクセスを管理する

共有アカウントへのアクセスを制御する:

Team Access Security:

1. Individual Login Credentials (Best Practice)
   Instead of Sharing Password:
   ✅ Use Xiaohongshu Business/Team features (if available)
   ✅ Each team member has own login
   ✅ Grant specific permissions (content, analytics, messages)
   ✅ Revoke access when team member leaves

   Benefits:
   ✅ No password sharing
   ✅ Access audit trail (who did what)
   ✅ Easy to revoke individual access
   ✅ No need to change password when team leaves

2. If Password Sharing is Necessary
   Minimize Risk:
   ✅ Use password manager sharing feature (encrypted)
   ✅ Share only with trusted individuals
   ✅ Document who has access (access log)
   ✅ Change password when access no longer needed

   Access Log Template:
   Date | Team Member | Purpose | Access Revoked
   -----|-------------|---------|---------------
   [date] | [Name] | [Content creation] | [date]

   Agreement:
   "Team Access Agreement for @[account]

    You are being granted access to this Xiaohongshu account
    for the purpose of: [specific purpose].

    Responsibilities:
    - Use account only for stated purpose
    - Do not share password with anyone
    - Log out after each session
    - Report any security issues immediately

    Access will be revoked: [condition or date]

    By accepting this access, you agree to these terms."

3. Regular Access Audits
   Monthly Review:
   ✅ Who currently has access?
   ✅ Do they still need access?
   ✅ Revoke access for former team members
   ✅ Change password if access shared externally

   Revocation Checklist:
   ✅ Team member left company
   ✅ Project completed (no longer needs access)
   ✅ Security concern (suspicious activity)
   ✅ Regular rotation (every 6 months change password)

4. Team Training
   Educate Team Members:
   ✅ Password security (don't share, don't write down)
   ✅ Phishing awareness (recognize scams)
   ✅ Device security (use secure devices only)
   ✅ Reporting protocol (what to do if breach suspected)

   Training Checklist:
   - Onboarding: Security overview during training
   - Regular: Quarterly security reminders
   - Updates: Immediately after security incident

   Security Briefing Template:
   "Account Security Briefing

    Your access to @[account] is a privilege and responsibility.

    Security Requirements:
    1. Never share password with anyone
    2. Only log in from secure, trusted devices
    3. Use official Xiaohongshu app (not third-party)
    4. Report suspicious activity immediately
    5. Log out after each session

    If you suspect breach:
    1. Stop using account immediately
    2. Report to account owner immediately
    3. Don't attempt to fix yourself (may destroy evidence)

    Your access helps us create great content.
    Let's keep the account secure!"
ステップ 5:復旧計画を準備する

所有者であることの証明を記録する:

Account Recovery Preparation:

1. Document Ownership Evidence
   Gather and Secure:
   ✅ Account creation date (screenshot or note)
   ✅ Original email/phone used to create account
   ✅ Account ID (find in settings or profile URL)
   ✅ Historical content (screenshots of old posts)
   ✅ Follower growth screenshots (over time)
   ✅ Brand partnerships documentation (contracts, emails)
   ✅ Account screenshots (profile, bio, content)

   Organization:
   - Create: "Account Recovery" folder (secure, encrypted)
   - Include: All above evidence
   - Update: Add new evidence periodically
   - Backup: Store in multiple secure locations (cloud + physical)

2. Alternative Contact Methods
   Verify Account Ownership:
   ✅ Linked email address (access to email)
   ✅ Linked phone number (access to phone)
   ✅ Connected social media (prove identity via other accounts)
   ✅ Official website (mention account on official site)

   Keep Updated:
   ✅ Email address current and accessible
   ✅ Phone number current
   ✅ Recovery email separate from primary email (backup)

3. Recovery Contact Information
   Document for Xiaohongshu Support:
   ✅ Account username (handle)
   ✅ Account display name
   ✅ Account ID (if available)
   ✅ Original creation email
   ✅ Original creation phone number
   ✅ Current email (if different)
   ✅ Current phone (if different)
   ✅ Linked social media accounts
   ✅ Official website (if applicable)

   Recovery Letter Template:
   "Account Recovery Request

   Xiaohongshu Support Team,

   I am requesting recovery of my account @[username].

   Account Details:
   - Username: @[username]
   - Display Name: [name]
   - Account ID: [if available]
   - Created: [approximate date]

   Ownership Evidence:
   1. Original email: [email]
   2. Original phone: [phone number]
   3. Current email: [email]
   4. Current phone: [phone number]
   5. Connected accounts: @[other1], @[other2]
   6. Official website: [URL]

   Security Incident:
   [Describe what happened: hacked, lost access, etc.]

   Attached: [Ownership evidence documentation]

   Please assist in recovering my account.
   I can provide additional verification if needed.

   Contact:
   [Your Name]
   [Email]
   [Phone]

   Thank you,
   [Your Name]"

4. Backup Communication Channels
   Followers Can Reach You If Account Compromised:
   ✅ Secondary Xiaohongshu account (backup account)
   ✅ Other social media (Weibo, Douyin, WeChat)
   ✅ Email list (owned audience)
   ✅ Website/blog (owned platform)

   Announcement Template (If Account Hacked):
   "⚠️ ACCOUNT SECURITY NOTICE ⚠️

    My main account @[username] has been compromised.

    If you receive any suspicious DMs or see unusual posts,
    please know that is NOT me.

    I'm working with Xiaohongshu support to recover the account.

    In the meantime, follow me here for updates:
    - Backup account: @[backupusername]
    - Weibo: @[weibo]
    - WeChat: [ID]

    Thank you for your patience and support.
    I will keep you updated!

    - [Your Name]"

5. Incident Response Plan
   If Account Breached:
   Immediate Actions (First 5 Minutes):
   ✅ Change password (if still have access)
   ✅ Enable 2FA (if not already enabled)
   ✅ Check connected apps (revoke all)
   ✅ Check active sessions (terminate all except yours)
   ✅ Contact Xiaohongshu support (report breach)

   Document Breach:
   ✅ Screenshot suspicious activity
   ✅ Note timeline (when first noticed)
   ✅ List what attacker did (posts, DMs, changes)
   ✅ Preserve evidence (don't delete attacker's posts yet)

   Communication:
   ✅ Inform team members (if applicable)
   ✅ Post announcement (if account accessible)
   ✅ Communicate via backup channels (if locked out)

   Follow-Up:
   ✅ Work with Xiaohongshu support
   ✅ Provide ownership evidence
   ✅ Secure account once recovered (change password, enable 2FA)
   ✅ Review and update security (prevent future breaches)
   ✅ Inform followers (account recovered, what to expect)

よくある間違い

間違い発生する理由対処法
弱いパスワード(推測されやすい)覚えやすいパスワードにしたいためパスワードマネージャーを使用し、ランダムで強力なパスワードを生成します
2FA を有効にしていないハッキングされるとは思っていないため直ちに 2FA を有効にします(重要なセキュリティレイヤーです)
パスワードを多くの人と共有するチームにとって便利なため個別のログインを使用し、共有アクセスを最小限にします
ログインに公共 WiFi を使用する便利で無料のデータ通信を利用できるためモバイルデータ通信または VPN を使用し、公共 WiFi は絶対に使用しません
ログインアクティビティをモニタリングしない確認しようと思わないためログイン履歴を毎週確認し、見覚えのないデバイスを削除します
復旧計画がない必要になるとは思っていないため侵害が発生する前に、所有権を証明する証拠を記録します
元チームメンバーのアクセス権を取り消さない忘れている、または重要だと思っていないためチームメンバーが離れたら、直ちにパスワードを変更します
フィッシングリンクをクリックする本物に見えるためURL を確認し、DM やメール内の不審なリンクは絶対にクリックしません

実際の効果

ケーススタディ:アカウントのセキュリティ回復

  • 対策前:脆弱なパスワード「12345678」、2FA 未設定、公共の Wi-Fi でログインした結果、アカウントが乗っ取られました(フォロワー 50 万人を失いました)
  • 対策後:セキュリティ対策を実施し(強力なパスワード、2FA、安全なアクセスのみ)、所有権の証拠を提出してアカウントを回復しました
  • 結果:7 日でアカウントを回復し、その後セキュリティ侵害はゼロで、安心して利用できています

データに基づく知見:

  • アカウント乗っ取りの 60% は、強力なパスワードと 2FA の組み合わせで防げた可能性があります
  • 2FA を設定していないアカウントは、侵害される可能性が 10 倍高くなります
  • アカウント侵害の 30% は、公共の Wi-Fi の利用が原因です
  • ログイン履歴を確認しないユーザーの 80% は、ハッキングされてから数日〜数週間、被害に気づきません
  • 回復成功率:所有権の証拠を記録している場合は 90%、記録していない場合は 20%
  • ハッキングされたアカウントの平均回復期間:7〜14 日(適切な証拠がある場合)
  • チームでアクセスするアカウントは、個人アカウントより侵害される可能性が 3 倍高くなります
  • パスワードの使い回しは、アカウント侵害の最大の原因です(他のサイトでのデータ侵害)

関連スキル

必須:violation-handling を使用してください(アカウントがポリシー違反に使われた場合に対応します) 必須:account-authentication を使用してください(認証済みアカウントは、回復時に優先サポートを受けられます)

アカウントのセキュリティにおすすめ:

  • private-domain(バックアップとして、自分が所有するオーディエンスを構築します)
  • content-calendar(所有権の証拠として、コンテンツライブラリを記録します)
  • team-management(チームのアクセスを安全に管理します)
  • crisis-management(アカウント侵害が発生した場合、公に対応します)

account-security と併用:

  • account-authentication(セキュリティで認証済みステータスを保護します)
  • violation-handling(アカウントを保護し、攻撃者によるポリシー違反を防ぎます)
  • private-domain(アカウントが侵害された場合のバックアップチャネルです)

コメント