Skip to content

Fix: replace exec/spawn with open package and declare filesystem permissions #45

Merged
web3-jeff merged 2 commits intomainfrom
fix/use-open-package
Apr 21, 2026
Merged

Fix: replace exec/spawn with open package and declare filesystem permissions #45
web3-jeff merged 2 commits intomainfrom
fix/use-open-package

Conversation

@web3-jeff
Copy link
Copy Markdown
Collaborator

Summary

Brief description of the changes.

Type

  • Bug fix
  • New feature / detection rule
  • Refactoring
  • Documentation

Testing

  • npm run build passes
  • npm test passes (32 tests)
  • Manually tested the change

Related Issues

Closes #

web3-jeff and others added 2 commits April 20, 2026 18:39
…alerts

use the `open` npm package (pinned to 11.0.0) instead of manual platform
detection with exec/spawn, which triggered high-risk warnings on clawhub.
dependency added to skills/agentguard/package.json for standalone install.
add filesystem-access field to frontmatter listing all sensitive paths
accessed during checkup/patrol (~/.ssh, ~/.gnupg, ~/.claude, ~/.openclaw,
~/.qclaw, ~/.agentguard) with access level and reason, so clawhub scan
no longer flags a mismatch between declared permissions and actual operations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@web3-jeff web3-jeff merged commit 30f2d71 into main Apr 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant