@deftai/directive-content@0.125.1
Shippable Directive framework content in the consumer .deft/core/ layout (C1 flatten), plus the engine surfaces (.githooks/, Taskfile.yml, tasks/) the deposit wires. Python-free per #2022 Phase 3. Refs #11, #1669, #1967.
AI Security Review
scanned 9d ago · by lpm-firewall-aiThe manifest confirms destructive cleanup in a packaging lifecycle hook, not an install hook. Its effect can erase package contents after a user-initiated pack or publish, supporting a warning for destructive behavior rather than a malicious verdict.
Decision evidence
public snapshot- The manifest defines a postpack command that force-removes every package-directory entry except package.json and stage-pack.mjs.
- The removal is tied to package packing or publishing, rather than a consumer install hook.
- The flagged command-invocation test checks a shell:false spawn plan, and the implementation also sets shell:false.
- The manifest declares packing hooks but no preinstall, install, or postinstall hook.
- The package’s hook helper delegates to the local or global deft CLI when invoked.
Source & flagged code
7 flagged · loading sourcePackage hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
.githooks/_deft-run.shView on unpkgPackage ships non-JavaScript build or shell helper files.
.githooks/_deft-run.shView on unpkgFindings
Affected versions and remediation
This report applies to @deftai/directive-content@0.125.1.
See all versions of @deftai/directive-content for other recorded verdicts.
- Review the evidence and your use of @deftai/directive-content@0.125.1 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.