Back to skill

Security audit

Adp Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a documented external document-processing API guide, with expected user-directed uploads and credential use rather than hidden local execution or persistence.

Before installing, confirm your organization permits sending invoices, receipts, purchase orders, or other business documents to Laiye's external ADP service. Use scoped credentials where possible, avoid highly sensitive PII until retention and deletion terms are reviewed, and prefer environment variables or a secret store for keys.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (12)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README-CN.md (reported line 240)May include surrounding context.

Recommended: Every 90 days

4. Never commit credentials to git

echo "*.env" >> .gitignore echo "openclaw.json" >> .gitignore

text

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · README.md (reported line 240)May include surrounding context.

Recommended: Every 90 days

4. Never commit credentials to git

echo "*.env" >> .gitignore echo "openclaw.json" >> .gitignore

text

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- [ ] No credentials or secrets are embedded in `SKILL.md` or `package.json`

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The quick-start example instructs users to send both document references and authentication material to a third-party SaaS endpoint, but the surrounding text does not prominently disclose that business documents will leave the local environment for external processing. In an enterprise document-processing context, this can cause unintentional exposure of invoices, receipts, or other sensitive records if users assume the skill operates locally or within their own platform boundary.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

The example performs a POST to an external API endpoint and includes access credentials plus a document URL, which means document data or pointers to sensitive documents are transmitted off-system. In this skill's context, the entire product is a remote document-processing service, so external transmission is expected, but it is still security-relevant because enterprise users may process confidential financial documents.

Content

Scanner excerpt · README-CN.md (reported line 125)May include surrounding context.

从发票提取数据

bash
curl -X POST "https://adp.laiye.com/open/agentic_doc_processor/laiye/v1/app/doc/extract" \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: $ADP_ACCESS_KEY" \
  -H "X-Timestamp: $(date +%s)" \

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The README provides a copy-paste example that sends both a document URL and API credentials to a third-party endpoint, but it does not explicitly warn users that document contents may contain sensitive business or personal data and will be transmitted off-platform. In an agent-skill context, this omission increases the risk of accidental disclosure because users may treat the integration as local or platform-native rather than an external SaaS call.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
84% confidence
Finding

This example instructs users to POST document references and authentication material to an external API endpoint. While external transmission is core to the product, the security issue is that the README normalizes exfiltration of potentially sensitive documents to a remote service without strong disclosure, minimization guidance, or guardrails.

Content

Scanner excerpt · README.md (reported line 125)May include surrounding context.

Extract Data from an Invoice

bash
curl -X POST "https://adp-global.laiye.com/open/agentic_doc_processor/laiye/v1/app/doc/extract" \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: $ADP_ACCESS_KEY" \
  -H "X-Timestamp: $(date +%s)" \

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

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

Content

Scanner excerpt · README-CN.md (reported line 234)May include surrounding context.

md
export ADP_APP_SECRET="your_key"

# 2. Set restrictive file permissions
chmod 600 ~/.openclaw/openclaw.json

# 3. Rotate credentials regularly
# Recommended: Every 90 days

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

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

Content

Scanner excerpt · README.md (reported line 234)May include surrounding context.

md
export ADP_APP_SECRET="your_key"

# 2. Set restrictive file permissions
chmod 600 ~/.openclaw/openclaw.json

# 3. Rotate credentials regularly
# Recommended: Every 90 days

External Transmission

Medium
Category
Data Exfiltration
Confidence
91% confidence
Finding

The skill instructs users to send documents and authentication material to an external third-party service. This creates a real data-exfiltration and trust-boundary risk because potentially sensitive enterprise documents are transmitted off-platform for processing, even though the documentation openly discloses this behavior.

Content

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

Quick Start

bash
curl -X POST "https://adp-global.laiye.com/open/agentic_doc_processor/laiye/v1/app/doc/extract" \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: $ADP_ACCESS_KEY" \
  -H "X-Timestamp: $(date +%s)" \

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
80% confidence
Finding

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

Content

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

text

**Security Note:**
- Set file permissions: `chmod 600 ~/.openclaw/openclaw.json`
- Never commit this file to version control
- Prefer environment variables or secret stores
- Rotate credentials regularly

External Transmission

Medium
Category
Data Exfiltration
Confidence
94% confidence
Finding

This example shows base64-encoding a local document and embedding its full contents in a request body to an external API. That is a genuine external transmission risk because local file contents, which may include sensitive business or personal data, are sent to a remote service and may be exposed through intermediary logging or third-party retention.

Content

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

md
# Convert file to base64
file_base64=$(base64 -i document.pdf | tr -d '\n')

curl -X POST "https://adp-global.laiye.com/open/agentic_doc_processor/laiye/v1/app/doc/extract" \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: $ADP_ACCESS_KEY" \
  -H "X-Timestamp: $(date +%s)" \