Back to skill

Security audit

inventpay

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed, instruction-only InventPay API skill for payments and storefront management, with sensitive but purpose-aligned merchant actions.

Install only if you trust InventPay with the merchant API key. Treat product deletion, bulk key removal, order status changes, and product content updates as live business operations; require the agent to show the exact target and get confirmation before making destructive or bulk changes.

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
  • 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 (3)

Tool Parameter Abuse

High
Category
Tool Misuse
Content
#### Delete a product

```
DELETE /v1/store/manage/products/{productId}
Header: X-API-Key: <INVENTPAY_API_KEY>
```
Confidence
88% confidence
Finding
The skill exposes a destructive delete operation that can remove or deactivate products using the merchant API key. If an agent follows ambiguous, malicious, or prompt-injected instructions without strong confirmation and parameter validation, it could delete storefront inventory or disrupt sales.

Tool Parameter Abuse

High
Category
Tool Misuse
Content
#### Remove all available keys

```
DELETE /v1/store/manage/products/{productId}/keys
Header: X-API-Key: <INVENTPAY_API_KEY>
```
Confidence
92% confidence
Finding
This endpoint performs bulk destructive action by removing all available keys for a product, which can wipe inventory of unassigned license keys in a single request. In the context of a digital storefront, accidental or induced invocation could immediately block fulfillment for future customers and cause operational and revenue impact.

External Transmission

Medium
Category
Data Exfiltration
Content
Ask your agent: "What's my InventPay balance?"

The agent should make a GET request to `https://api.inventpay.io/v1/merchant/balance` with your API key and return your balances. If you see an auth error, check that `INVENTPAY_API_KEY` is set and starts with `pk_live_`.

## Base URL
Confidence
50% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.