craft-harness

Warn

Audited by Socket on Jul 24, 2026

1 alert found:

Anomaly
AnomalyLOW
assets/hooks/node-package-manager/claude/settings.json

This snippet itself is a benign-looking hook configuration, but it establishes an automatic `node` execution of a project-local `.mjs` guard script after edit/write-like tool actions. The main security concern is that the executed file’s integrity (and the trustworthiness of $CLAUDE_PROJECT_DIR) entirely determines whether the hook is safe; otherwise it could become an arbitrary code execution vector. Review the contents of `package-manager-guard.mjs` and ensure the execution path cannot be attacker-controlled.

Confidence: 42%Severity: 50%
Audit Metadata
Analyzed At
Jul 24, 2026, 06:54 AM
Package URL
pkg:socket/skills-sh/sungjunlee%2Fcraftkit%2Fcraft-harness%2F@4cc877f5461e9b93b9452107678b31a99eaa1955340c9b2c972dac83a2d76657
Security Audit — socket — craft-harness