T05 · Unauthorized Access and Privilege Escalation
- Location
claw.json:7- Finding
External Process Execution Is Not Declared in the Skill Permissions
- Content
View full analysis
Vulnerability Details
File Location:
claw.json:7andinstructions.md:4-7, 26
Vulnerability Type: Permission-model mismatch and undeclared process execution
Risk Level: MediumThe manifest declares only filesystem access:
json "permissions": ["filesystem"],However, the operational instructions direct the agent to run an external converter:
text When the user asks to convert DGN to Excel: 1. Verify the input file path and DGN version (v7 or v8) 2. Run the DGN converter to extract elements, levels, and properties 3. Present the extracted data (element types, levels, cell references) 4. Help filter and analyze the resulting dataThe process-execution behavior is also explicitly documented:
text - subprocess.run() is used solely for invoking the DGN converter CLI toolTechnical Analysis
The Skill's declared permission set does not disclose its intended external process execution. Filesystem access is necessary to read DGN files and write Excel output, but it does not inherently communicate authorization to launch native executables.
This discrepancy violates least-privilege and informed-authorization principles. A host or user evaluating only
claw.jsoncould approve the Skill on the assumption that it performs filesystem operations without executing local binaries. The instructions subsequently direct the agent to invokeDgnExporter.exe, extending the effective capability beyond the manifest's declared scope.The audit did not find evidence that this mismatch is used to escalate operating-system privileges. The risk arises from undeclared native-code execution under the existing privileges of the agent or host process.
Attack Path
- A user or host reviews the manifest and authorizes the declared
filesystempermission. - The Skill is loaded through the
instructions.mdentry point. - The user requests conversion of a DGN file.
- The agent fol ...[truncated 764 chars]
- A user or host reviews the manifest and authorizes the declared
- Remediation
View remediation
Remediation Suggestions
- Add the platform-specific process-execution permission to
claw.json. - State clearly that conversion launches
DgnExporter.exeas a native process. - Document the expected executable location, publisher, and required privileges.
- Request explicit user confirmation before the first executable launch.
- Restrict execution to the converter and required arguments rather than granting unrestricted command execution.
- If the platform has no process-execution permission, disable automatic invocation and provide a command for the user to run manually.
- Keep filesystem authorization scoped to explicitly selected input and output locations.
- Add the platform-specific process-execution permission to
