T08 · Insecure Dependencies
- Location
SKILL.md:5- Finding
Unpinned Third-Party npm CLI Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is coherent for managing corporate operations, but it relies on an unpinned third-party CLI for legal, financial, identity, signing, and agent actions that can materially affect a company.
Install only if you trust TheCorporation CLI and are comfortable letting it handle corporate formation, governance, equity, payment, payroll, tax, signing, and agent workflows. Prefer a pinned and reviewed CLI version, run it in a least-privileged or isolated environment, verify local or cloud mode before use, and require human review before signing documents, issuing equity, filing taxes, sending payments, changing API URLs, or activating agents.
SKILL.md:5Unpinned Third-Party npm CLI Execution
The skill manifest and content repeatedly instruct use of npx corp without any version pinning. Because npx resolves the latest package at runtime, a compromised upstream package, malicious republish, or breaking update could execute arbitrary code on the host when the skill is followed.
The skill description activates on many common corporate tasks and directs users toward unpinned npx corp usage. Unpinned runtime package execution creates a supply-chain execution path where arbitrary code from the latest published package may run in sensitive environments handling legal, financial, and identity data.
The skill description triggers on a very broad range of common corporate and administrative tasks, which can cause the skill to activate in contexts where users did not intend to run specialized governance/finance tooling. That broad routing increases the chance that an agent proposes or executes sensitive CLI workflows, including the unpinned package, inappropriately or with insufficient user confirmation.
The Quick Start begins with an unpinned npx corp setup, which is likely to be copy-pasted and executed directly. In a setup step, this is particularly risky because it often runs before users establish trust boundaries and may configure auth, storage, or network endpoints while executing unverified package code.
Referencing npx corp as the primary CLI without version pinning encourages dynamic retrieval of executable code each time the command is used. This increases the attack surface for supply-chain compromise and makes behavior non-reproducible across users and time.
The local mode recommendation still relies on unpinned npx corp commands. Even though the described hosting mode is local, the package acquisition step remains remote and can execute attacker-controlled code before any 'local only' guarantees apply.
The advanced server example starts an unpinned CLI process as a server. A compromised package could expose a malicious local service, alter request handling, or persist on the host, increasing the consequences beyond a one-off command execution.
Using unpinned npx corp config set in setup flows enables a compromised package to modify configuration, including API endpoints, in ways that can redirect future traffic or data to attacker-controlled infrastructure. This is especially dangerous because config changes can persist after the initial command exits.
Even a seemingly read-only verification command like npx corp context is still arbitrary package execution when unpinned. Users may incorrectly assume status/context commands are harmless and execute them without scrutiny, broadening exploitation opportunities.
The reference-resolution helper command is unpinned and likely to be used interactively across many workflows. This normalizes repeated execution of mutable upstream code in environments containing sensitive corporate references and identifiers.
The one-shot formation command is a high-sensitivity workflow involving names, emails, addresses, incorporator status, and legal entity creation. Executing it through an unpinned package exposes both code-execution risk and sensitive corporate/PII handling to any upstream compromise.
The staged formation commands are also unpinned, and they handle sensitive founder identity and ownership information. Because these are likely copy-pasted verbatim, a compromised package could alter documents, exfiltrate founder data, or manipulate corporate records during formation.
Setting active_entity_id through an unpinned CLI can enable malicious code to tamper with operator context or silently switch the target entity for subsequent commands. In governance and finance tooling, context manipulation can lead to actions being applied to the wrong legal entity.
Governance body creation via unpinned npx introduces supply-chain risk into legal-governance operations. A compromised package could create incorrect bodies, tamper with metadata, or stage later fraudulent approvals.
Seat assignment is sensitive because it affects voting structure and authority. An unpinned package could misassign holders or capture contact references, leading to governance integrity issues in addition to code-execution risk.
The meeting convene step is unpinned and handles agenda text that may reflect confidential decisions. Dynamic package resolution here risks both arbitrary execution and exposure or manipulation of upcoming board actions.
The agenda listing command itself is less impactful than write operations, but it still executes unpinned code and may reveal confidential governance matters if compromised. Users may underestimate this because it appears informational.
Written-consent workflows are legally significant approval mechanisms. Using an unpinned package to generate or manage them could let a malicious upstream package alter approval text, capture sensitive board decisions, or fabricate downstream references.
Cap-table instrument creation is unpinned and directly affects securities records. A compromised package could manipulate authorized units, pricing, or terms, causing legal, financial, and compliance harm beyond the initial code-execution vector.
Equity issuance via unpinned npx is especially dangerous because it combines arbitrary package execution with high-impact state changes affecting ownership. A malicious or changed upstream package could misissue shares, alter recipients, or exfiltrate equity data.
SAFE issuance is a financing action involving investor identity and monetary terms. Executing it through an unpinned package exposes sensitive financing data and could result in manipulated investment documents or terms if the package is compromised.
409A valuation creation through an unpinned package is risky because valuations influence option pricing and tax compliance. A malicious package could alter enterprise value or methodology inputs, creating downstream compliance and fiduciary issues.
Submitting a valuation with an unpinned CLI risks tampering with workflow state or leaking sensitive valuation information. While narrower than creation or approval, it still executes mutable external code in a regulated context.
Approval of a valuation using an unpinned package can subvert a legally and tax-relevant approval chain. A compromised package may attach the wrong resolution, falsify approval state, or leak sensitive board approval information.
Transfer operations affect ownership records and can have legal consequences. An unpinned package creates both code execution risk and the possibility of silent manipulation of transfer direction, quantity, or rights.
No suspicious patterns detected.