@paperclipai/shared@2026.411.0-canary.1

  • latest version

    2026.824.1

  • latest non vulnerable version

  • first published

    5 months ago

  • latest version published

    4 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @paperclipai/shared package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Missing Authentication for Critical Function

    Affected versions of this package are vulnerable to Missing Authentication for Critical Function in several API endpoints that lack proper authentication checks. An attacker can access sensitive data, perform state-changing operations, and obtain internal configuration details by sending unauthenticated requests to exposed endpoints.

    How to fix Missing Authentication for Critical Function?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0
    • H
    Insufficient Granularity of Access Control

    Affected versions of this package are vulnerable to Insufficient Granularity of Access Control inadequate authorization checks in the POST /api/agents/:id/keys, GET /api/agents/:id/keys, and DELETE /api/agents/:id/keys/:keyId routes. An attacker can gain unauthorized access to sensitive data and perform privileged actions across tenant boundaries by minting agent API tokens for agents belonging to other companies, then using those tokens to access or modify resources in the victim tenant.

    Note: This is only exploitable if the application is running in authenticated mode with open signup enabled and at least one other company with agents exists on the instance.

    How to fix Insufficient Granularity of Access Control?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0
    • H
    Arbitrary Command Injection

    Affected versions of this package are vulnerable to Arbitrary Command Injection via the spawn function. An attacker can execute arbitrary shell commands on the server and access sensitive environment variables, including API keys, authentication secrets, and database credentials, by submitting a malicious configuration that is processed without proper sanitization.

    How to fix Arbitrary Command Injection?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0
    • M
    Insufficient Verification of Data Authenticity

    Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity via the decidedByUserId field in approval-related endpoints. An attacker can forge decision attribution by supplying an arbitrary user identifier in the request body, causing the system to record actions as if performed by another legitimate user. This can undermine the integrity of governance and audit trails, allowing a user to falsely attribute approval, rejection, or revision requests to others.

    Note: This is only exploitable if the attacker is an authenticated board user with access to the target company.

    How to fix Insufficient Verification of Data Authenticity?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0
    • M
    External Control of File Name or Path

    Affected versions of this package are vulnerable to External Control of File Name or Path via the adapterConfig.instructionsFilePath configuration field, which is processed by the server during agent execution. An attacker can access sensitive files on the host filesystem by supplying arbitrary file paths through the agent configuration API endpoint using a valid Agent API key.

    How to fix External Control of File Name or Path?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0
    • M
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the MarkdownBody class, where user-supplied markdown content is rendered without proper URL sanitization due to an overridden urlTransform function. An attacker can execute arbitrary JavaScript in the context of another user's session by embedding malicious javascript: URLs in markdown links, which are rendered and executed when clicked by a victim.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @paperclipai/shared to version 2026.416.0 or higher.

    <2026.416.0