@dev-mainsequence/command-center-sdk@0.4.2
The framework-neutral SDK for building Command Center-compatible resource applications, navigation, layouts, themes, feedback, and embeds.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiPostinstall performs first-party setup of this SDK's own agent-skill namespace, with an optional same-vendor MCP skill sync that runs only when the operator already configured the endpoint and token. That automatic agent-surface write is a guarded lifecycle risk and is not a hidden foreign control-surface hijack or a separate exfiltration chain.
Decision evidence
public snapshot- package.json postinstall runs node ./cli/postinstall.mjs on install.
- That hook calls installAgentSkills for the consumer INIT_CWD and labels the command npm postinstall.
- Copied skills land in the consumer .agents/skills/command-center tree and stale entries in that namespace are removed.
- If a Main Sequence MCP URL and MAINSEQUENCE_ACCESS_TOKEN are already set, postinstall also fetches a skill catalog and writes it under .agents/skills/mainsequence unless COMMAND_CENTER_SDK_MCP_POSTINSTALL is 0.
- Global installs and the SDK source repository are skipped, and the local copy stays inside the command-center skill namespace with symlink and path checks.
- The MCP URL is taken only from caller configuration, the bearer token is sent only to that URL, and a missing configuration skips the network step.
- No install-time shell, eval, or runtime dependency on this same package name was found.
Source & flagged code
8 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to @dev-mainsequence/command-center-sdk@0.4.2.
See all versions of @dev-mainsequence/command-center-sdk for other recorded verdicts.
- Review the evidence and your use of @dev-mainsequence/command-center-sdk@0.4.2 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.