clawmaster
clawmaster copied to clipboard
Remediate npm audit advisories and harden uninstall command execution
Summary
Follow up on the security scan referenced in PR #148 with real remediation work.
What needs to be fixed
- Clear the current
npm auditmoderate advisories forpostcss,langsmith, anduuid - Replace string-based shell execution in the global uninstall path with argv-based execution
- Add tests covering secure uninstall invocation and
ws/wssURL generation - Document that the flagged
ws://test string is not a production transport issue
Notes
PR #148 is a badge/marketing PR and should not be treated as the security fix.
I’m implementing the remediation now. Scope: refresh the vulnerable dependency resolutions, replace the string-based uninstall shell execution with argv-based execution, add regression tests for uninstall invocation and ws/wss URL generation, and then verify with npm audit, npm test, and npm run build.