@dev-mainsequence/command-center-sdk@0.4.3
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 agent skill setup in package-owned .agents namespaces and, by default, can forward an existing access token to any operator-configured MCP URL. That is install-time agent-surface mutation and conditional credential exposure, not a proven hidden exfiltration or foreign control-surface hijack.
Decision evidence
public snapshot- package.json postinstall runs node ./cli/postinstall.mjs on install.
- postinstall calls installAgentSkills with command npm postinstall for the consumer INIT_CWD.
- That installer writes packaged skills under .agents/skills/command-center and removes unauthorized entries in that namespace.
- Unless COMMAND_CENTER_SDK_MCP_POSTINSTALL is 0, postinstall also installs remote MCP skills under .agents/skills/mainsequence when URL and token env vars exist.
- The MCP URL is any http or https value from the environment, and MAINSEQUENCE_ACCESS_TOKEN is sent as a bearer token to that URL.
- Global installs and the SDK source repository are skipped.
- Writes stay inside the command-center and mainsequence skill namespaces.
- MCP sync is skipped when URL or token is missing and failures do not stop the npm install.
- Dependencies do not include this package name, so there is no nested lifecycle self-install chain.
- Git and npm spawn helpers are on explicit CLI maintenance paths, not the postinstall path.
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.3.
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.3 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.