T09 · Insecure Skill Coding Practices
- Location
bundle-manifest.json:11- Finding
Developer Workstation Identity and Absolute Path Disclosure
- Content
View full analysis
Vulnerability Details
File Location:
bundle-manifest.json, lines 11, 19, 27, 35, 43, and 51
Vulnerability Type: Build metadata and developer identity disclosure
Risk Level: LowThe public bundle manifest contains six absolute source paths from the developer's workstation:
json "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/SKILL.md", "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/README.md", "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/references/intent-routing.md", "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/references/auth-gate.md", "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/references/execution-rules.md", "sourcePath": "/Users/renzhiping/workspace/openclaw-plugin/skills/contract-review/references/examples.md",Technical Analysis
The generated release metadata retains absolute paths from the build environment. These paths disclose:
- The developer or workstation account name:
renzhiping - The operating-system directory convention:
/Users/... - The local workspace and repository layout
- The internal source locations of the published files
Absolute build paths are unnecessary for Skill installation, integrity verification, or runtime operation. Public artifacts should contain only bundle-relative paths or sanitized source identifiers. Although the disclosure does not directly expose credentials or enable code execution, it provides environment-specific reconnaissance that can improve the credibility and precision of subsequent attacks.
Attack Path
- An attacker downloads or otherwise obtains the published Skill bundle.
- The attacker opens
bundle-manifest.jsonwithout needing authentication or code execution. - The attacker extracts the workstation username, operating-system layout, repo ...[truncated 1148 chars]
- The developer or workstation account name:
- Remediation
View remediation
Remediation Suggestions
- Remove every
sourcePathfield containing an absolute local path from public manifests. - Replace absolute paths with bundle-relative values such as
SKILL.mdorreferences/auth-gate.md. - Modify the manifest generator so build-machine paths are never serialized into release artifacts.
- Add a release sanitization step that rejects:
- Unix home-directory paths such as
/Users/and/home/ - Windows user-profile paths such as
C:\Users\ - Internal hostnames and network paths
- Developer usernames, secrets, tokens, and private repository locations
- Unix home-directory paths such as
- Add automated CI checks that scan the final packaged artifact rather than only the source directory.
- Regenerate and republish the bundle after sanitization, then verify that checksums and provenance metadata reference only public, non-sensitive identifiers.
- Remove every
