Back to skill

Security audit

Greek Document Ocr

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a Greek OCR workflow, but it handles sensitive financial and government documents while giving inconsistent disclosures about cloud use, credentials, banking, email, and accounting integrations.

Review before installing. The local OCR portion is coherent, but only use the accounting, banking, email, cloud, or hybrid features after confirming exactly what data is sent, which credentials are needed, and whether each action requires explicit user approval. Avoid enabling integrations for client tax, banking, or government documents until those boundaries are documented.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
Findings (16)

Chaining Abuse

High
Category
Tool Misuse
Confidence
75% confidence
Finding

Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.

Content

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

Install Tesseract OCR with Greek language support

sudo apt install tesseract-ocr tesseract-ocr-ell which jq || sudo apt install jq

mkdir -p $OPENCLAW_DATA_DIR/ocr/{incoming/{scanned,photos,government},output/{text-extracted,structured-data}}

text

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This prompt explicitly requires processing a Greek invoice and the expectations reinforce a fixed Greek-language workflow. Under the policy, forcing a specific language or locale without user opt-in can be a natural-language policy violation unless the regional constraint is clearly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The prompt and expectations require Greek receipt processing and apply Greece-specific VAT deduction logic as a built-in assumption. Because the file does not explain that this is a region-specific compliance scenario, it reads as a fixed locale policy rather than an opt-in or documented exception.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This prompt directs the skill to process Greek business documents, including AADE forms, as an assumed default. That constitutes a locale-specific requirement in natural language, and the file does not explicitly frame it as a justified region-specific evaluation scope.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest advertises optional QuickBooks/Xero export and direct push features despite describing the skill as local OCR with no cloud APIs. This scope expansion creates a risk that sensitive extracted accounting data may be transmitted to third-party platforms without the documentation making the boundary clear to users.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill describes Xero/QuickBooks export capabilities for OCR results but provides no privacy or transmission warning. Because the processed content includes invoices, receipts, and government documents, omission of external-sharing disclosures can lead to unintentional transfer of sensitive business and personal data.

Content

No source excerpt is available for this finding.

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

md
export OPENCLAW_DATA_DIR="/data"

# Install Tesseract OCR with Greek language support
sudo apt install tesseract-ocr tesseract-ocr-ell
which jq || sudo apt install jq

mkdir -p $OPENCLAW_DATA_DIR/ocr/{incoming/{scanned,photos,government},output/{text-extracted,structured-data}}

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

Install Tesseract OCR with Greek language support

sudo apt install tesseract-ocr tesseract-ocr-ell which jq || sudo apt install jq

mkdir -p $OPENCLAW_DATA_DIR/ocr/{incoming/{scanned,photos,government},output/{text-extracted,structured-data}}

text

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

Direct banking transaction matching exceeds the stated scope of local OCR and expands access from document parsing into financial correlation workflows. That broader capability increases the chance of processing or exposing sensitive banking metadata without users understanding the additional trust boundary.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill metadata and setup repeatedly claim all OCR processing is local and uses no cloud APIs, but later documentation advertises cloud and hybrid deployment modes that require internet access. This inconsistency can mislead operators into enabling external data transmission for sensitive invoices, receipts, and government documents under a false assumption of strictly local handling.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The coordinated workflow includes sending processing confirmations by email, which introduces outbound data sharing unrelated to core local OCR. For a skill handling financial and government documents, even confirmations can leak document presence, client identities, or extracted metadata to external systems without clear consent boundaries.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The workflow says processing confirmations may be sent by email without explaining whether extracted document details, identities, or filenames are included. In the context of OCR on financial and government documents, that omission creates a real risk of accidental external disclosure.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The prompt hard-codes Greek document processing and mixed Greek/English handling. While likely legitimate for testing, the file does not explicitly justify the language restriction or indicate that the locale is selected by the user or document context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The prompt directs generation of a report for a Greek accounting firm and repeatedly frames the workflow around Greek business context. Without an explicit note that this is a region-specific evaluation case, it can be read as forcing a locale-specific mode.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The statement 'No credentials required' conflicts with the manifest's optional Xero API key for direct push integration. This can cause users to underestimate the presence of credentialed external integrations and mishandle secrets or enable features they did not realize required authentication.

Content

No source excerpt is available for this finding.