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确认已加载。

详细介绍

账号安全(账号安全)

概述

账号安全是指采取防护措施,防止他人未经授权访问小红书账号,保护个人信息和内容,并在发生安全漏洞或账号被盗时有效应对。

适用场景

适用于:

  • 设置新账号(从一开始就实施安全措施)
  • 账号价值增加(粉丝、内容库值得保护)
  • 遇到可疑活动
  • 从账号被盗或遭到黑客攻击中恢复
  • 共享账号访问权限(团队、助手)
  • 担心账号安全

不适用于:

  • 账号目前没有价值(新账号,应专注于增长)
  • 过度担忧(基本安全措施足以应对大多数情况)

核心模式

之前(易受攻击的账号):

❌ "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. 恢复准备 - 记录所有权证明

快速参考

安全措施防护级别实施方式优先级
强密码高使用唯一且复杂的密码关键
双重身份验证很高使用短信或身份验证器应用关键
仅使用可信设备中限制登录设备高
安全网络中避免使用公共 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,切勿点击私信或电子邮件中的可疑链接

现实影响

案例研究:账户安全恢复

  • 之前:使用弱密码“12345678”,未启用 2FA,曾在公共 WiFi 上登录,账户被盗(损失 50 万粉丝)
  • 之后:采取安全措施(强密码、启用 2FA、仅通过安全方式访问),并凭借所有权证明恢复账户
  • 结果:7 天内恢复账户,此后未发生安全漏洞,安心无忧

数据支持的见解:

  • 60% 的账户盗窃事件可通过强密码 + 2FA 来预防
  • 未启用 2FA 的账户遭到入侵的可能性高出 10 倍
  • 公共 WiFi 使用导致 30% 的账户安全漏洞
  • 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(账户遭到入侵时使用备用渠道)

评论

支持 Markdown