Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@gea-ai/agent-extension-feishu

Latest version: v0.2.261129-alpha.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: zhuojg
27 Versions
3.0K Downloads

Scan summary

@gea-ai/agent-extension-feishu was last scanned on 29 Nov 2026 at version 0.2.261129-alpha.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 27 versions; the latest 4 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 0.2.261129-alpha.1.
  • Downloads: 2,953 downloads.

Versions

27 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.261129-alpha.1 LATEST 29 Nov 2026 No rules fired
0.2.261129-alpha.0 29 Nov 2026 No rules fired
0.2.261125-alpha.0 26 Nov 2026 No rules fired
0.2.261123-alpha.0 23 Nov 2026 Not shown
0.2.261118-alpha.0 18 Nov 2026 Not shown

No rules fired in 0.2.261129-alpha.1

Findings

Findings for v0.2.261129-alpha.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.261129-alpha.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@gea-ai/agent-extension-feishu

The Feishu bot Channel for GEA Agents, with an optional Extension that adds the first-party Feishu business Connector and integration Skill.

npm install @gea-ai/agent-extension-feishu @gea-ai/agent-sdk

Use the Channel independently in agent.ts:

import { defineAgent } from "@gea-ai/agent-sdk";
import { feishuChannel } from "@gea-ai/agent-extension-feishu/channel";

export default defineAgent({
  name: "Feishu assistant",
  slug: "feishu-assistant",
  model: "<configured-model-id>",
  channels: [feishuChannel()],
});

feishuChannel() returns a regular SDK Channel definition. Use it in channels or export it from a discovered channels/*.ts file. The SDK collects its hidden GEA identity Connector and Host environment requirements automatically. It supports feishu and gea identity modes, receives messages and delivers replies, without adding business Tools or Skills. Configure FEISHU_APP_ID, secret FEISHU_APP_SECRET and FEISHU_ALLOWED_SENDERS (* or JSON { tenantKey, openId }[]). WebSocket is the default; { transport: "http" } also requires FEISHU_VERIFICATION_TOKEN.

To add Feishu business Tools and the integration Skill, use the Extension instead:

// extensions/feishu.ts
export { default } from "@gea-ai/agent-extension-feishu";

The Extension reuses feishuChannel() and adds the following business capabilities.

Business calls use the exposed {alias}__call Tool with lark-cli argv and optional stdin. The platform executes the official CLI in its sandbox and manages the Connector's encrypted state. The Agent chooses --as bot or --as user for each business command. Computer and Bash are optional and do not install lark-cli.

Hosted Channel calls use the application's configured Feishu bot credentials. --as user requires that message sender's own authorized login for the same app; missing authorization returns a link for the sender. The Channel delivers ordinary chat replies, and all credentials stay outside Computer. Independent Connector invocations retain the existing Connection authorization flow.

The bot accepts private text and rich-text (post) messages, and group messages that explicitly mention this application's bot. Group replies create or continue the triggering message's topic. Members share that topic's conversation while each call retains its actual sender's authorization. Ordinary group messages and empty mention-only messages do not start an Agent run. Both HTTP callbacks and WebSocket input use this policy. Rich text preserves titles, paragraphs, links, mentions and code as Agent input. Unsupported message types or embedded media receive an explicit request to resend the content as text; these messages do not start an Agent run or submit a partial summary.

All Channels can declare the SDK's generic requirePlatformUser policy. Feishu uses this same policy; the Host enforces admission, history reads and execution. Hosted GEA requires a Controller with channel-user-policy-v1; unsupported Controllers fail explicitly. Local default and explicit false policies support bot messages and replies without GEA login. Local true policy and invalid policy values are rejected. Environment selection requires an upgraded local App Server; the selector remains private and is not exposed through ctx.env.

Both standalone Channel and Extension accept a fixed { requirePlatformUser: true } or { requirePlatformUser: false } option, or a selector such as { requirePlatformUser: { env: "REQUIRE_PLATFORM_USER", default: false } }. Omit requirePlatformUser to select the mode through environment configuration. Set FEISHU_REQUIRE_PLATFORM_USER=true to require GEA user authorization before every Run and attribute LLM usage to that user. Without a matcher, configure CHANNEL_GEA_CLIENT_ID and secret CHANNEL_GEA_CLIENT_SECRET for a GEA OAuth Client with openid agents:invoke offline_access and access to this Project/Agent environment. Omitting the environment value uses false; invalid values or failed GEA authorization never silently downgrade. On hosted GEA, duplicate events retain their original identity decision. Local external mode uses the verified Feishu principal without a hosted identity receipt and does not issue GEA grants.

To identify senders without another GEA login, declare a platform user matcher. It is a plain synchronous function that runs as ordinary Agent Worker code in the pinned Worker:

feishuChannel({
  platformUserMatcher: (sender, candidate) =>
    sender.openId === candidate.account.accountId,
});

The Host verifies the Feishu event, selects candidate GEA accounts and asks the matcher to accept or reject each one; it still checks the user's current membership and permissions. The matcher runs before requirePlatformUser. A rejection or failure gives private guidance and never falls back to OAuth or external identity. With transport: "http" the Host verifies callback signatures, so also configure secret FEISHU_ENCRYPT_KEY. Packages built for the retired native matcher must be rebuilt with the current SDK and redeployed. Without a matcher, requirePlatformUser alone decides identity and true uses the OAuth entry. Feishu business user consent remains separate.

Both modes use the same transport and cards. GEA group histories remain separate from external-mode histories, and Feishu business --as bot|user authorization is independent. Hosted upgrades require a rebuilt Agent and a new Channel installation on an upgraded Host. Both entrypoints share the same identity flow.

Developer documentation

With platformUserMatcher, the SDK does not generate an identity OAuth Connector or CHANNEL_GEA_CLIENT_ID / CHANNEL_GEA_CLIENT_SECRET requirements. Verified events use the Channel installation, its bound Project and the matched active organization member. Revoked installations, removed Project bindings and removed members invalidate authorization. Upgrade the Host and Controller (native grant capability channel-native-user-grant-v1) and rebuild the Agent together. New channel-user: principals do not inherit historical channel-oauth: private Sessions or Connections; old grants retain their original validation. Explicit OAuth without a matcher and business Connector authorization are unchanged.

Local development versus hosted preview

For local gea agent dev, use an explicit development entry with feishuChannel() and no platformUserMatcher. Configure a development Feishu app and sender allowlist, with FEISHU_REQUIRE_PLATFORM_USER unset or false. Messages then use local/external sender identity, not verified platform identity. The default WebSocket receiver is supported; real connectivity and delivery still require valid Feishu credentials.

Local dev hard-rejects matcher declarations, including when requirePlatformUser: false: the local Host lacks the verified ingress, candidate account, membership and Project authorization chain. Test the matcher as a pure function using synthetic inputs locally. To test full authorization, pack/upload the matcher-enabled entry and run a hosted preview installation. Keep that release entry separate and check its matcher descriptor before upload so the local declaration is not accidentally shipped. A local preview page or changing an environment header does not provide hosted authorization.

If startup fails at Runtime channel-object/converge with 403, upgrade the CLI and its bundled Runtime together. Standalone Runtime authenticates this request against the selected Worker's registered profile, not a process-global secret. Do not set a shared Runtime global secret as a workaround. Provider credential or WebSocket failures after converge require separate diagnosis; converge success alone does not verify Feishu send/receive.

Authenticated senders can send /reset in a private conversation or mention the bot with /reset in a group topic. The bot confirms in that conversation. The next message starts a new Session, and earlier Runs can still reply.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @gea-ai/agent-extension-feishu

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229