Back to skill

Security audit

Linear Cli

Security checks for vulnerabilities and agentic risk

Overview

ClawScan’s verdict is benign: the scanners found no AIG issues, while Skillspector flagged broad workspace administration and credential-related wording in API documentation; its review was partial, so the evidence is incomplete.

The verdict is benign, but consider whether you need the documented workspace and account administration capabilities alongside work-item features. The scan was partial, so treat the result as limited assurance rather than a guarantee of safety.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (17)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1671)May include surrounding context.

md
## `linear api integration-gitlab-connect [options]`

- What: Connects a GitLab instance after checking its access token. Configure the GitLab webhook with the returned webhookSecret after a successful response. Only one GitLab connection is allowed per workspace. Token or connectivity failures return success=false and diagnostic error fields instead of creating a connection.
- Call: `mutation integrationGitlabConnect`, effect: write
- Body: `IntegrationGitlabConnectRequest`, required

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1699)May include surrounding context.

md
## `linear api integration-gitlab-test-connection [options]`

- What: Tests the stored access token against a self-hosted GitLab instance, using the validation project when one is configured. A successful check clears the connection's authentication and transient failure state. On failure, inspect success and the error fields for provider or proxy diagnostics. This mutation does not support the GitLab.com OAuth connection.
- Call: `mutation integrationGitlabTestConnection`, effect: write
- Body: `IntegrationGitlabTestConnectionRequest`, required

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1724)May include surrounding context.

md
## `linear api integration-gitlab-update-token [options]`

- What: Replaces a GitLab integration's access token after validating the replacement against its existing host and validation project. The connection and webhook stay in place. Supply readonly and expiresAt when the instance cannot report that token information.
- Call: `mutation integrationGitlabUpdateToken`, effect: write
- Body: `IntegrationGitlabUpdateTokenRequest`, required

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1796)May include surrounding context.

md
## `linear api integration-jira-personal [options]`

- What: Links your Jira account to an existing workspace Jira integration. Supply either the OAuth authorization code for Jira Cloud or a personal access token for Jira Server. When the workspace has more than one possible Jira connection, supply workspaceIntegrationId to choose which one to link.
- Call: `mutation integrationJiraPersonal`, effect: write
- Body: `IntegrationJiraPersonalRequest`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1677)May include surrounding context.

md
| Flag | Required | What |
|---|---|---|
| `--access-token <value>` | no | GitLab access token for the instance being connected. Linear validates it before saving the connection and uses its reported scopes and expiry when available. |
| `--gitlab-url <value>` | no | Base URL of the GitLab instance, including its URL scheme. Linear uses this host for token validation and subsequent API requests. |
| `--validation-project-path <value>` | no | Optional path or numeric ID of a project to use for the setup health check. Set this when the GitLab tenant blocks non-project API endpoints. |
| `--readonly <value>` | no | Whether the access token is limited to a read-only scope. Used as a fallback when \`validationProjectPath\` is set and \`personal\_access\_tokens/self\` is unreachable. |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1732)May include surrounding context.

md
|---|---|---|
| `--expires-at <value>` | no | The time at which the replacement token expires. Used when GitLab cannot return its expiry. |
| `--readonly <value>` | no | Whether the replacement token has read-only access. Required when GitLab cannot return its scopes. |
| `--access-token <value>` | no | Replacement GitLab access token. Validated before it replaces the current token. |
| `--integration-id <value>` | no | UUID of the GitLab integration. |
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1804)May include surrounding context.

md
|---|---|---|
| `--workspace-integration-id <value>` | no | The workspace Jira integration to connect to. Required when the connection would otherwise be ambiguous. |
| `--code <value>` | no | The Jira OAuth code, when connecting using OAuth. |
| `--access-token <value>` | no | The Jira personal access token, when connecting using a PAT. |
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1680)May include surrounding context.

md
ear validates it before saving the connection and uses its reported scopes and expiry when available. |
| `--gitlab-url <value>` | no | Base URL of the GitLab instance, including its URL scheme. Linear uses this host for token validation and subsequent API requests. |
| `--validation-project-path <value>` | no | Optional path or numeric ID of a project to use for the setup health check. Set this when the GitLab tenant blocks non-project API endpoints. |
| `--readonly <value>` | no | Whether the access token is limited to a read-only scope. Used as a fallback when \`validationProjectPath\` is set and \`personal\_access\_tokens/self\` is unreachable. |
| `--expires-at <value>` | no | ISO timestamp when the access token expires. Used as a fallback when \`validationProjectPath\` is set and \`personal\_access\_tokens/self\` is unreachable. |
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
| `--body-file <path>` | no | the request body from a JSON file; - is stdin

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 1681)May include surrounding context.

md
| `--gitlab-url <value>` | no | Base URL of the GitLab instance, including its URL scheme. Linear uses this host for token validation and subsequent API requests. |
| `--validation-project-path <value>` | no | Optional path or numeric ID of a project to use for the setup health check. Set this when the GitLab tenant blocks non-project API endpoints. |
| `--readonly <value>` | no | Whether the access token is limited to a read-only scope. Used as a fallback when \`validationProjectPath\` is set and \`personal\_access\_tokens/self\` is unreachable. |
| `--expires-at <value>` | no | ISO timestamp when the access token expires. Used as a fallback when \`validationProjectPath\` is set and \`personal\_access\_tokens/self\` is unreachable. |
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-query.md (reported line 1324)May include surrounding context.

md
## `linear api oauth-application-coding-session-trusted-source`

- What: Returns the authenticated OAuth application's trusted-source status for Coding Sessions in the workspace. Requires an OAuth access token with the \`read\` scope.
- Call: `query oauthApplicationCodingSessionTrustedSource`, effect: read

## `linear api oauth-applications`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 2225)May include surrounding context.

md
| `--team-name <value>` | no | Name of a new destination team. Cannot be combined with teamId. |
| `--csv-url <value>` | no | Asset URL of a Jira CSV uploaded to this workspace’s import storage. |
| `--jira-hostname <value>` | no | Jira installation or cloud hostname. |
| `--jira-token <value>` | no | Jira personal access token to access Jira REST API. |
| `--jira-email <value>` | no | Jira user account email. |
| `--body <json>` | no | the request body as JSON; - reads it from stdin |
| `--body-file <path>` | no | the request body from a JSON file; - is stdin |

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-mutation.md (reported line 2257)May include surrounding context.

md
|---|---|---|
| `--team-id <value>` | no | UUID of an existing destination team. Provide either teamId or teamName. |
| `--team-name <value>` | no | Name of a new destination team. Provide either teamId or teamName. |
| `--jira-token <value>` | no | Jira personal access token to access Jira REST API. |
| `--jira-project <value>` | no | Jira project key from which we will import data. |
| `--jira-email <value>` | no | Jira user account email. |
| `--jira-hostname <value>` | no | Jira installation or cloud hostname. |

OAuth application creation and credential management exceed the stated work-item management purpose.

High
Category
Excessive Agency
Confidence
96% confidence
Finding

L2779-L2826 document creating OAuth applications, returning and rotating client secrets, and enabling client-credentials authentication or changing webhook destinations. Managing application identities and credentials is distinct from authenticating this CLI to perform the issue, project, sprint, and document operations described in the manifest.

Content

No source excerpt is available for this finding.

The command surface includes deleting the entire workspace, beyond managing Linear work items.

High
Category
Excessive Agency
Confidence
98% confidence
Finding

L2834-L2850 document commands to request a workspace deletion code and schedule deletion of the workspace and its data. Workspace destruction is not an implementation requirement for finding, creating, or changing issues, projects, sprints, and documents; the confirmation-code requirement does not make this capability appropriate to that scope.

Content

No source excerpt is available for this finding.

The skill exposes user-access administration, including suspension and overriding identity-provider management.

High
Category
Excessive Agency
Confidence
98% confidence
Finding

L4160-L4196 document user suspension, identity-provider unlinking, and reactivation, including flags that override SCIM management. These operations change users' workspace access and identity lifecycle rather than the work items named in the manifest, even though server-side administrative permissions are required.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-query.md (reported line 240)May include surrounding context.

md
## `linear api authentication-sessions`

- What: Lists active browser, desktop, and mobile sign-in sessions for the authenticated account. isCurrentSession identifies the session making this request. Use a returned session ID with logoutSession to revoke a specific session. Requires session JWT authentication; API keys and OAuth access tokens do not provide this session list.
- Call: `query authenticationSessions`, effect: read

## `linear api available-users`

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/api/api-query.md (reported line 1024)May include surrounding context.

md
| Flag | Required | What |
|---|---|---|
| `--jira-hostname <value>` | no | Jira installation or cloud hostname. |
| `--jira-token <value>` | no | Jira personal access token to access Jira REST API. |
| `--jira-email <value>` | no | Jira user account email. |
| `--jira-project <value>` | no | Jira project key to use as the base filter of the query. |
| `--jql <value>` | no | The JQL query to validate. |