T09 · Insecure Skill Coding Practices
- Location
workflow.json:162- Finding
Absolute Local Path Discloses Source Environment Metadata
- Content
View full analysis
Vulnerability Details
File Location:
workflow.json:162
Vulnerability Type: Local environment metadata disclosure
Risk Level: LowVulnerable Code
json "runDir": "/Users/luckill/Library/Application Support/oysterworkflow/runs/ui-recording-codex-20260716-192309-m84sds/ingest/runs/20260717T022346Z-g5ybl8",Technical Analysis
The published workflow configuration contains an absolute path copied from its source environment. It reveals the local account name (
luckill), operating-system directory conventions, installed application information, and internal workflow-run identifiers.This metadata is unnecessary for the skill's stated purpose of searching Google for LinkedIn. An attacker who can obtain the skill package does not need to execute it to access the information; inspecting
workflow.jsonis sufficient. Although the field does not expose credentials or directly enable code execution, retaining host-specific metadata violates data-minimization principles and provides reconnaissance information.Attack Path
- An attacker downloads or otherwise obtains the distributed skill package.
- The attacker opens
workflow.json. - The attacker reads the
source.runDirfield at line 162. - The attacker extracts the local username, operating-system layout, application name, and internal run identifiers.
- The attacker may incorporate these details into targeted phishing, impersonation, or environment-specific social-engineering attempts.
Impact Assessment
The direct impact is limited to information disclosure. The exposed data may help an attacker infer:
- A local account name.
- A macOS-style filesystem layout.
- Use of OysterWorkflow and its application-data location.
- Internal recording and workflow-run identifiers.
The issue does not independently grant filesystem access, elevated privileges, credential access, persistence, or code execution. Its primary security consequence is improved attacker reconnaissan ...[truncated 3 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove
source.runDirfrom distributable workflow artifacts because it is not required at runtime. - If provenance must be retained, replace absolute paths with non-sensitive relative identifiers or opaque run IDs.
- Add a publication-stage sanitizer that removes usernames, home-directory paths, temporary paths, build paths, and other host-specific metadata.
- Add automated checks that reject artifacts containing absolute paths such as
/Users/...,/home/..., or Windows user-profile paths. - Regenerate and republish the workflow after confirming that no other source-environment metadata remains.
- Remove
