Back to skill

Security audit

Intuit-quickbook

Security checks for vulnerabilities and agentic risk

Overview

This QuickBooks skill is mostly coherent documentation, but it includes under-scoped guidance for AI-driven payment actions and an unpinned third-party MCP installation path.

Review carefully before installing. Use sandbox or read-only QuickBooks scopes first, protect refresh tokens, pin and audit any MCP server dependency before running npm install, and require explicit human approval plus deterministic checks for any payment, charge, refund, bill, journal, or account-changing operation.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (2)

T08 · Insecure Dependencies

Warning
Location
ai_and_mcp.md:8
Finding

Unpinned Remote MCP Server and Dependency Installation

Content
View full analysis
Remediation
View remediation

T05 · Unauthorized Access and Privilege Escalation

Error
Location
ai_and_mcp.md:52
Finding

LLM Decision Directly Authorizes a Consequential Payment Action

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (9)

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 · SKILL.md (reported line 23)May include surrounding context.

md
description: OAuth 2.0 Client Secret from the Intuit Developer Portal.
      - name: QUICKBOOKS_REFRESH_TOKEN
        required: true
        description: Long-lived OAuth 2.0 refresh token (valid for 100 days). Used to obtain new access tokens.
      - name: QUICKBOOKS_REALM_ID
        required: true
        description: The QuickBooks Online company ID (realmId) obtained after the user completes the OAuth authorization flow.

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 · authentication.md (reported line 31)May include surrounding context.

text

### Step 3: Refreshing Tokens
Access tokens expire after **60 minutes**. Refresh tokens expire after **100 days**.
*   **Endpoint:** `https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer`
*   **Body:**
    ```

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 · queries_and_errors.md (reported line 38)May include surrounding context.

md
| **`2030`** | `400 Bad Request` | Stale `SyncToken` during update. | Fetch the latest version of the entity, merge changes, and retry. |
| **`3100`** | `400 Bad Request` | Duplicate `DocNumber`. | Enable `allowduplicatedocnum` query parameter or let system auto-generate. |
| **`3200`** | `400 Bad Request` | Transaction is locked / reconciled. | Do not allow edits via API; prompt user to unlock inside QuickBooks UI. |
| **`100`** | `401 Unauthorized` | Invalid or expired Access Token. | Execute OAuth token refresh flow and retry the request. |
| **`429`** | `429 Too Many Requests`| API rate limit exceeded (100 req/min). | Implement exponential backoff with jitter. |

### Exponential Backoff Implementation (Python)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 168)May include surrounding context.

md
| Operation | Endpoint |
| :--- | :--- |
| Tokenize card | `POST https://api.intuit.com/quickbooks/v4/payments/tokens` |
| Create charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges` |
| Refund charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges/<id>/refunds` |

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 169)May include surrounding context.

md
| Operation | Endpoint |
| :--- | :--- |
| Tokenize card | `POST https://api.intuit.com/quickbooks/v4/payments/tokens` |
| Create charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges` |
| Refund charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges/<id>/refunds` |

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 170)May include surrounding context.

md
| Operation | Endpoint |
| :--- | :--- |
| Tokenize card | `POST https://api.intuit.com/quickbooks/v4/payments/tokens` |
| Create charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges` |
| Refund charge | `POST https://api.intuit.com/quickbooks/v4/payments/charges/<id>/refunds` |

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document presents an AI-driven workflow that can culminate in a Pay Bill action based on an LLM-mediated matching decision, but it does not include any guardrails such as human approval, confidence thresholds, transaction limits, or warnings about irreversible financial actions. In the context of accounting automation, this creates a real risk of unauthorized, mistaken, or manipulated payments if an agent acts on ambiguous data, webhook spoofing, or model error.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The guidance recommends backslash-escaping single quotes before interpolating user input into an IDS query string, which is not a reliably safe escaping strategy for SQL-like languages and may not match QuickBooks IDS parsing rules. This can lead developers to build queries by concatenation, allowing malformed queries, filter bypass, or injection-like manipulation of returned accounting data.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
78% confidence
Finding

This markdown file describes the Change Data Capture endpoint and shows how to query changed Customer and Invoice records, but it does not warn that the operation may expose or process large amounts of potentially sensitive accounting data. Under the markdown-specific warning criterion, data-affecting or privacy-relevant behaviors should be disclosed to the user.

Content

No source excerpt is available for this finding.