Back to skill

Security audit

Invoice Contract Data Extraction

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward document-extraction prompt for invoices, receipts, and contracts, with no bundled code or hidden execution behavior.

Install only if you are comfortable letting the agent read the specific invoices, receipts, contracts, images, or directories you provide. For best control, invoke it with explicit file paths and avoid broad directories unless you intend batch processing.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The natural-language instructions, workflow, outputs, and examples are all written as if the skill operates in Chinese, while the file does not state that language behavior is optional or user-selectable. Under the policy, locale or language constraints should not be imposed without opt-in unless clearly justified.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger conditions are broad enough to activate on ordinary mentions of invoices, receipts, contracts, or extraction-related words, not just explicit user requests to run the skill. In an agent environment, this can cause unintended processing of sensitive financial or legal documents, increasing the risk of over-collection, privacy exposure, and surprising tool use.

Content

No source excerpt is available for this finding.