Back to skill

Security audit

Hubspot Cli

Security checks for vulnerabilities and agentic risk

Overview

ClawScan returned a benign verdict with medium confidence: it found no AIG issues, while Skillspector flagged documented destructive CRM operations and ticket features, but its review disagreed with those findings and the scan was incomplete.

The verdict is benign, but benign does not mean risk-free. Skillspector coverage was partial (83.3%); some static checks could not fully evaluate obfuscated text, and some local references were unresolved. Consider whether the documented destructive CRM and ticket operations fit your needs before installing.

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
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (18)

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api associations-delete [options]`

- What: delete-/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}_/crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}
- Call: `DELETE /crm/objects/2026-03/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}`, effect: destructive
- Permission keys: `associations.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api calls-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/calls/{callId}`, effect: destructive
- Permission keys: `calls.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api companies-delete [options]`

- What: Archive a company
- Call: `DELETE /crm/objects/2026-03/companies/{companyId}`, effect: destructive
- Permission keys: `organizations.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api contacts-delete [options]`

- What: Archive a contact
- Call: `DELETE /crm/objects/2026-03/contacts/{contactId}`, effect: destructive
- Permission keys: `people.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api deals-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/0-3/{dealId}`, effect: destructive
- Permission keys: `deals.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api emails-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/emails/{emailId}`, effect: destructive
- Permission keys: `emails.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api leads-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/leads/{leadsId}`, effect: destructive
- Permission keys: `leads.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api meetings-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/meetings/{meetingId}`, effect: destructive
- Permission keys: `meetings.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api notes-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/notes/{noteId}`, effect: destructive
- Permission keys: `notes.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api pipelines-delete [options]`

- What: Delete a pipeline
- Call: `DELETE /crm/pipelines/2026-03/{objectType}/{pipelineId}`, effect: destructive
- Permission keys: `pipelines.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api pipelines-stages-delete [options]`

- What: Delete a pipeline stage
- Call: `DELETE /crm/pipelines/2026-03/{objectType}/{pipelineId}/stages/{stageId}`, effect: destructive
- Permission keys: `pipelines.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api properties-delete [options]`

- What: Archive a property
- Call: `DELETE /crm/properties/2026-03/{objectType}/{propertyName}`, effect: destructive
- Permission keys: `fields.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api properties-groups-delete [options]`

- What: Archive a property group
- Call: `DELETE /crm/properties/2026-03/{objectType}/groups/{groupName}`, effect: destructive
- Permission keys: `fields.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api tasks-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/tasks/{taskId}`, effect: destructive
- Permission keys: `tasks.delete`

| Flag | Required | What |

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).

Content

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

md
## `hubspot api tickets-delete [options]`

- What: Archive
- Call: `DELETE /crm/objects/2026-03/tickets/{ticketId}`, effect: destructive
- Permission keys: `tickets.delete`

| Flag | Required | What |

The documented CLI exposes destructive ticket merging outside the manifest's stated sales-data scope.

Medium
Category
Excessive Agency
Confidence
88% confidence
Finding

L41–L45 expose a command that destructively merges HubSpot tickets. The manifest describes operations on sales CRM entities and activities but does not include tickets or support-ticket management; merging tickets is not an implementation detail required for those declared operations.

Content

No source excerpt is available for this finding.

The API command surface includes ticket management, although the manifest describes sales CRM objects and does not declare tickets.

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

L1028–L1092 expose commands to create, read, list, update, and archive HubSpot tickets. This extends the declared sales-data scope into support-ticket management, including destructive operations, rather than merely implementing access to the CRM objects named in the manifest.

Content

No source excerpt is available for this finding.

L676–L734 expose batch ticket read, create, update, upsert, and archive commands, although tickets are outside the manifest's enumerated sales-CRM scope.

Medium
Category
Excessive Agency
Confidence
90% confidence
Finding

The manifest describes operations on specific sales CRM entities but does not include support tickets. The generated command reference exposes a full set of ticket operations, including destructive batch archival at L678–L680, extending the advertised capability beyond those declared entities.

Content

No source excerpt is available for this finding.