[Privacy triage requested] Unexpected name visibility in IM shortcuts and group-member API

Open
#2,901 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
go
Domain
cli, security

Research direction

Start by reading the IM shortcut implementation for sender.name and the group-member API documentation to identify the name field’s source and semantics. The issue names no files or tests, so first locate the shortcut entry point and relevant API docs. Done means documenting the name semantics and explaining whether preferred display nicknames or name provenance are supported; route platform privacy questions to the appropriate support channel.

Written by the indexing model from the issue text.

Description

domain/core domain/im question

Request: expedited privacy triage

The affected user explicitly requests urgent review because the difference between their own visible nickname and the name exposed to other members/apps was unexpected. Please prioritize checking whether this is intended visibility, a UI/privacy-control communication problem, or an actual access-control issue, and route to the platform privacy/security team if necessary. This is a potential privacy concern; severity and exploitability are not established, and we are not claiming a confirmed leak or assigning an official priority.

Question: name provenance and nickname visibility in IM shortcuts

Using Lark CLI 1.0.94 with bot identity, an agent user reported that their own Feishu client displays a short nickname, while the agent addresses them using a different, longer name. Another group member's profile-card view displays both values. This report is anonymized: no actual names, account IDs, screenshots, tokens, or group contents are included.

Observed behavior
  • im +threads-messages-list --as bot returns a populated sender.name containing the longer value.
  • Raw GET /open-apis/im/v1/messages/<message_id> returns sender identity fields, but no sender name.
  • Raw GET /open-apis/im/v1/chats/<chat_id>/members returns that longer value in the corresponding member's name field.
  • contact +get-user --as bot for this member is denied (41050, no user authority). We did not attempt to bypass that permission or use a different identity.

The group-member endpoint therefore explains why the value is available to the bot; we have not verified whether the shortcut obtains it directly from this endpoint or a cache. We have not established an authorization bypass or a security vulnerability.

Questions / suggested improvement
  1. Please document which source and name semantics sender.name in IM shortcuts uses: account name, nickname, group alias, cached name, or another field.
  2. Is there a supported way for an application to respect the user's preferred display nickname, or expose name provenance so an agent does not mistakenly describe this as a verified real/full name?
  3. Could the team clarify whether the difference between the user's own client display, the profile card visible to others, and the group-member API is intended? If this belongs to Feishu platform/privacy support rather than CLI, please point to the appropriate reporting channel.

Expected: clear display-name semantics and visibility documentation. This is a discrepancy/clarification report, not a confirmed privacy exploit. An assistant should not infer a legal name from this field.

Dominant language
Go
Stars
18.2k
Forks
1.4k
Avg merge
1d 3h
Merged PRs (30d)
18

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from larksuite/cli

All issues in larksuite/cli

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.