@raditia/craftkit@1.61.0
AI coding skills that auto-sync across Claude Code, Cursor, Gemini CLI, and Codex CLI
AI Security Review
scanned 2d ago · by lpm-firewall-aiThe postinstall path automatically modifies user-level Codex hooks and instructions before asking the user to review the hooks. The source shows first-party CraftKit integration, so this is a lifecycle setup risk rather than confirmed malicious behavior.
Decision evidence
public snapshot- The package runs scripts/postinstall.sh during installation.
- That hook runs sync.sh without the interactive configuration option; the checklist only runs with --configure, and postinstall cannot prompt when no terminal is available.
- The Codex adapter copies CraftKit hooks into the user-level Codex hooks directory and registers them for SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, and Stop.
- When no matching hook exists, the adapter adds one to hooks.json and writes the updated configuration.
- The adapter also adds or updates a managed CraftKit section in the user-level Codex AGENTS.md.
- The installed Codex hook injects applicable CraftKit rules into session context.
- These are CraftKit-owned hooks and instructions, and the adapter preserves unrelated hook entries.
- The adapter reports that the hooks were registered and tells the user to review and trust them after registration.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
Findings
Affected versions and remediation
This report applies to @raditia/craftkit@1.61.0.
See all versions of @raditia/craftkit for other recorded verdicts.
- Review the evidence and your use of @raditia/craftkit@1.61.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.