Back to skill

Security audit

Api Gateway

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Maton API gateway skill, but it needs review because it gives an agent broad live-service action capability, including deletion, posting, file, admin, and business-data operations, with limited guardrail guidance.

Install only if you are comfortable letting the agent act through your Maton-authorized third-party connections. Use the narrowest OAuth scopes available, verify the selected connection before actions, require explicit confirmation for deletes, public posts, financial/admin changes, and bulk mutations, never print or share MATON_API_KEY, and validate any pre-signed media upload destination before sending local files.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:614
Finding

Maton API Key Disclosed in Troubleshooting Output

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
references/linkedin/README.md:222
Finding

LinkedIn Media Upload Trusts an Unvalidated Response-Supplied Destination

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (567)

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/active-campaign/README.md (reported line 47)May include surrounding context.

Delete Contact

bash
DELETE /active-campaign/api/3/contacts/{contactId}

Tags

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/active-campaign/README.md (reported line 87)May include surrounding context.

Remove Tag from Contact

bash
DELETE /active-campaign/api/3/contactTags/{contactTagId}

Lists

Missing User Warnings

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The README documents cancellation, rescheduling, and deletion operations but does not warn that these actions are destructive or difficult to reverse. Because this skill operates through managed OAuth against user-authorized third-party services, an agent following the reference could cancel appointments or delete scheduling blocks in production with immediate business impact.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
88% confidence
Finding

The documented DELETE endpoint takes a directly supplied block ID and performs a destructive action, which creates a parameter-abuse risk if an agent passes the wrong identifier or acts on unvalidated user input. In a multi-service API gateway context, this is more dangerous because the skill is designed for direct action against live external systems once OAuth authorization exists.

Content

Scanner excerpt · references/acuity-scheduling/README.md (reported line 127)May include surrounding context.

Delete Block

bash
DELETE /acuity-scheduling/api/v1/blocks/{id}

List Forms

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
95% confidence
Finding

The documented DELETE endpoint shows a direct pattern for deleting records via user-controlled query parameters, with no mention of validation, confirmation, or safeguards. In this API-gateway context, the skill enables access to real OAuth-authorized Airtable bases, so exposing destructive parameterized deletion guidance can be abused by prompt injection or mistaken agent actions to remove legitimate records.

Content

Scanner excerpt · references/airtable/README.md (reported line 99)May include surrounding context.

Delete Records

bash
DELETE /airtable/v0/{baseId}/{tableIdOrName}?records[]=recXXXXX&records[]=recYYYYY

List Bases

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/asana/README.md (reported line 64)May include surrounding context.

Delete a Task

bash
DELETE /asana/api/1.0/tasks/{task_gid}

Get Subtasks

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/asana/README.md (reported line 134)May include surrounding context.

Delete Webhook

bash
DELETE /asana/api/1.0/webhooks/{webhook_gid}

Notes

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/attio/README.md (reported line 76)May include surrounding context.

Delete Record

bash
DELETE /attio/v2/objects/{object}/records/{record_id}

List Tasks

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/attio/README.md (reported line 144)May include surrounding context.

Delete Note

bash
DELETE /attio/v2/notes/{note_id}

Comments

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/attio/README.md (reported line 248)May include surrounding context.

Delete List Entry

bash
DELETE /attio/v2/lists/{list}/entries/{entry_id}

Meetings

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/baserow/README.md (reported line 57)May include surrounding context.

Delete Row

bash
DELETE /baserow/api/database/rows/table/{table_id}/{row_id}/

Batch Create Rows

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/beehiiv/README.md (reported line 61)May include surrounding context.

Delete Subscription

bash
DELETE /beehiiv/v2/publications/{publication_id}/subscriptions/{subscription_id}

Posts

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/box/README.md (reported line 77)May include surrounding context.

Delete Folder

bash
DELETE /box/2.0/folders/{folder_id}
DELETE /box/2.0/folders/{folder_id}?recursive=true

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
80% confidence
Finding

The recursive delete variant materially amplifies the destructive scope of a single operation and is presented without any guardrails or warning. In an API gateway skill used by agents, this can enable large-scale accidental deletion if model-generated parameters are accepted too readily.

Content

Scanner excerpt · references/box/README.md (reported line 78)May include surrounding context.

Delete Folder

bash
DELETE /box/2.0/folders/{folder_id}
DELETE /box/2.0/folders/{folder_id}?recursive=true

Get File

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/box/README.md (reported line 103)May include surrounding context.

Delete File

bash
DELETE /box/2.0/files/{file_id}

Upload File (up to 50 MB)

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/box/README.md (reported line 126)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/box/README.md (reported line 138)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/box/README.md (reported line 164)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/box/README.md (reported line 177)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/dropbox/README.md (reported line 138)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/dropbox/README.md (reported line 147)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/dropbox/README.md (reported line 156)May include surrounding context.

Chunked Upload (Large Files)

Create Upload Session

bash
POST /box/api/2.0/files/upload_sessions
Content-Type: application/json

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/box/README.md (reported line 179)May include surrounding context.

Abort Upload Session

bash
DELETE /box/api/2.0/files/upload_sessions/{session_id}

Create Shared Link

Missing User Warnings

High
Category
Not specified by scanner
Confidence
96% confidence
Finding

The trash section includes permanent deletion endpoints for files and folders from trash without any caution about irreversibility. In an agent-mediated environment, omission of such warnings materially increases the chance of destructive actions causing permanent data loss.

Content

No source excerpt is available for this finding.

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
85% confidence
Finding

DELETE /files/{file_id}/trash permanently removes a trashed file, which is more dangerous than a normal delete and can bypass recovery expectations. In an agent-accessible gateway, omission of safeguards around this endpoint raises the risk of irreversible loss from prompt mistakes or ambiguous user requests.

Content

Scanner excerpt · references/box/README.md (reported line 222)May include surrounding context.

Trash

bash
GET /box/2.0/folders/trash/items
DELETE /box/2.0/files/{file_id}/trash
DELETE /box/2.0/folders/{folder_id}/trash