Lodestar (夜航星) — IM-native frontend for Codex, Claude Agent SDK and DeepSeek Harness via Feishu Card Kit
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security review
scanned · by lpm-firewall-ai
The package automatically modifies agent skill directories during daemon startup and performs a scoped legacy-skill cleanup during installation. This is a bounded first-party agent extension setup, so it warrants a warning rather than a publish block.
Starting lodestar-daemon; npm installation also triggers cleanup of the named legacy skill.
Impact
Agents may gain Lodestar notification and delegation instructions without a separate setup prompt. The inspected behavior does not establish a broad agent takeover.
Mechanism
The daemon writes skill files unless synchronization is disabled, while the install hook removes only a skill whose metadata matches the supplied Lodestar name.
The postinstall hook runs a cleanup for the legacy Lodestar skill.
Cleanup checks the skill’s declared name before deleting its directory under Codex or Claude skill roots.
Daemon startup installs Lodestar-owned skills into Codex and Claude skill directories, with an environment variable to disable synchronization.
The generated notification skill directs agents to use the local daemon when users ask for Feishu notifications.
The inspected Claude setup target writes settings only after an interactive GLM API-key prompt; the main runtime target resolves the Claude configuration directory.
Evidence against
The inspected behavior is bounded to Lodestar-owned skills and a prompted Claude setup flow; no broad agent takeover or unrelated credential transfer was established in these paths.
Source sends the broad process environment to a literal external destination.
1#!/usr/bin/env node
2import{createRequire as bL}from"node:module";var OL=Object.create;var{getPrototypeOf:AL,defineProperty:E5,getOwnPropertyNames:NL}=Object;var RL=Object.prototype.hasOwnProperty;func...
2import{createRequire as bL}from"node:module";var OL=Object.create;var{getPrototypeOf:AL,defineProperty:E5,getOwnPropertyNames:NL}=Object;var RL=Object.prototype.hasOwnProperty;func...
2import{createRequire as bL}from"node:module";var OL=Object.create;var{getPrototypeOf:AL,defineProperty:E5,getOwnPropertyNames:NL}=Object;var RL=Object.prototype.hasOwnProperty;func...
45`;NX=zq()});import{Agent as Hq}from"node:http";import{Agent as Gq}from"node:https";import{Readable as TX}from"node:stream";import Wq from"node-fetch";import{HttpProxyAgent as Kq}fr...
47`)}var vq=384,yq=448,fq=448;var b0=()=>{};import{execFile as Iq}from"node:child_process";import{spawn as gq}from"cross-spawn";function pq($){if(!Number.isSafeInteger($)||$<=0)retur...
48${Y}${V}`));else Z()})})}async function t5($,Z,J={}){Z?.throwIfAborted();let Q=J.platform??process.platform,Y=J.timeoutMs??300000,V=J.terminationTimeoutMs??1e4;return await new Pro...
High
Trigger reachable command output exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
45`;NX=zq()});import{Agent as Hq}from"node:http";import{Agent as Gq}from"node:https";import{Readable as TX}from"node:stream";import Wq from"node-fetch";import{HttpProxyAgent as Kq}fr...
47`)}var vq=384,yq=448,fq=448;var b0=()=>{};import{execFile as Iq}from"node:child_process";import{spawn as gq}from"cross-spawn";function pq($){if(!Number.isSafeInteger($)||$<=0)retur...
48${Y}${V}`));else Z()})})}async function t5($,Z,J={}){Z?.throwIfAborted();let Q=J.platform??process.platform,Y=J.timeoutMs??300000,V=J.t