The postinstall hook automatically downloads and installs the package’s own wiki skill, which falls under the warning-only agent extension lifecycle risk. The inspected flow targets Bailian’s own config directory, validates the archive hash, and shows no unrelated data collection, so blocking is not warranted.
Static reason
One or more suspicious static signals were detected.
Trigger
npm or pnpm installation of bailian-cli@2.8.3.
Impact
The package’s wiki skill is added or replaced without a separate user command; no broader agent settings changes or data exfiltration were identified.
Mechanism
The postinstall hook downloads the wiki skill archive from bailian-wiki.oss-cn-hangzhou.aliyuncs.com, verifies its content hash, then replaces the skill directory and writes sync bookkeeping under the Bailian config directory.
Evidence
package.jsonpostinstall.js~/.bailian/skills/bailian-docs-llm-wiki/~/.bailian/wiki-sync-state.json~/.bailian/skills/skill-lock.json
Network endpoints1
bailian-wiki.oss-cn-hangzhou.aliyuncs.com/skills