---
canonical: "https://firewall.lpm.dev/npm/@delorenj/pjangler/v/1.3.0"
markdown: "https://firewall.lpm.dev/npm/@delorenj/pjangler/v/1.3.0.md"
package: "@delorenj/pjangler"
report_status: "published"
title: "@delorenj/pjangler@1.3.0 npm security report"
verdict: "suspicious"
version: "1.3.0"
---

# @delorenj/pjangler@1.3.0 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Flagged as AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 1.3.0
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

No concrete malicious install-time chain was found. Warn because explicit use can persist AI-agent hooks that process prompts and code edits through an external CLI.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-08-15T17:22:17.871Z
- **Finished:** 2026-08-15T17:23:58.202Z
- **Download time:** 508 ms
- **Static scan time:** 2170 ms
- **AI review time:** 97652 ms
- **Total time:** 100331 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** An explicit project-scaffolding action installs agent-hook synchronization. The generated hooks modify per-user AI-agent configuration and process prompt/edit events; no npm install-time activation exists.

- **Trigger:** User runs pjangler add agent-hooks or an init workflow that includes it, then enters the generated project with mise.

- **Impact:** Configured hooks can process user prompts and edited-content snippets under the user's agent sessions.

- **Evidence paths:** dist/index.js, templates/commonproject/template/.agents/hooks/sync.py, templates/commonproject/template/.agents/hooks/hindsight/hindsight-retain.sh, package.json

- **Review source:** ai\_review

- **Reviewed:** 2026-08-15T17:23:58.202Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Project hook fan-out into AI-agent configuration, with Hindsight memory calls.

- **Rationale:** No concrete malicious install-time chain was found. Warn because explicit use can persist AI-agent hooks that process prompts and code edits through an external CLI.

- **Files touched:** mise.toml, .agents/hooks, .agents/skills.json, .claude/settings.json, ~/.codex/hooks.json, ~/.kimi-code/config.toml

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for warning:** Explicit agent-hooks recipe installs a six-CLI hook topology., Scaffolded sync script writes per-user Codex hooks., Installed hooks pass edited-content snippets to the external hindsight CLI.

- **Evidence against:** package.json has no preinstall, install, or postinstall hook; prepublishOnly is publisher-time., Mutation requires an explicit pjangler add/init workflow and supports dry-run/opt-out., Codex hook changes are marker-scoped, backed up, and removable.

## Affected versions and remediation

This report applies to @delorenj/pjangler@1.3.0.

- Review the evidence and your use of @delorenj/pjangler@1.3.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.

## Public findings

### 1. Low: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 4. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 6. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 7. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** .mise/scripts/versioning.sh
- **Public source:** [View source](<https://unpkg.com/@delorenj/pjangler@1.3.0/.mise/scripts/versioning.sh>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```shell
path = .mise/scripts/versioning.sh
kind = build_helper
sizeBytes = 8295
magicHex = [redacted]
```

### 8. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** .mise/scripts/versioning.sh
- **Public source:** [View source](<https://unpkg.com/@delorenj/pjangler@1.3.0/.mise/scripts/versioning.sh>)

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

Public source snippet (untrusted):

```shell
path = .mise/scripts/versioning.sh
kind = payload_in_excluded_dir
sizeBytes = 8295
magicHex = [redacted]
```

### 9. Critical: Trigger Reachable Excluded Directory Payload
- **Category:** Artifact Inventory
- **Confidence:** 96.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@delorenj/pjangler@1.3.0/dist/index.js>)

A package entrypoint or install-reachable source explicitly loads and activates an executable-looking payload from a test, fixture, or hidden path.

Public source snippet (untrusted):

```javascript
path = dist/index.js
kind = trigger_reachable_excluded_payload
sizeBytes = 417810
triggerReachableSource = dist/index.js
excludedPayload = .mise/scripts/versioning.sh
```

### 10. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 11. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 88.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@delorenj/pjangler@1.3.0/dist/index.js>)

Explicit agent-hooks recipe installs a six-CLI hook topology.

Public source snippet (untrusted):

```javascript
id: "agent-hooks",
    name: "agent-hooks",
    description: "Project-scoped agent hooks and six-CLI skill topology",
    dependencies: ["mise"],
    commands: ["CopyAgentHooksTree", "WireMiseAgentHooks"],
    publicRuleIds: this.checks.map((check) => check.id)
```

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 88.0%
- **Path:** templates/commonproject/template/.agents/hooks/sync.py
- **Public source:** [View source](<https://unpkg.com/@delorenj/pjangler@1.3.0/templates/commonproject/template/.agents/hooks/sync.py>)

Scaffolded sync script writes per-user Codex hooks.

Public source snippet (untrusted):

```text
def install_codex(master: dict) -> None:
    if os.environ.get("CAF_HOOKS_SKIP_CODEX") == "1":
        log("codex: skipped (CAF_HOOKS_SKIP_CODEX=1)")
        return
    target = codex_target(master)
    if not target.parent.exists():
        log("codex: ~/.codex not present, skipping")
        return
    data = _codex_load(target)
    if data.get("__error__"):
        return
    hooks_obj = data.setdefault("hooks", {})
    marker = codex_marker()

    # Idempotent: remove any prior CAF entries, then append fresh ones.
    _strip_caf_hooks(hooks_obj, marker)
    desired = build_event_groups(m
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepublishOnly
- **Dependencies:** 6
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 5
- **Published dependency-graph edges:** 6

### Published dependency entries
- @clack/prompts ^1.4.0 (Dependency)
- @modelcontextprotocol/sdk ^1.29.0 (Dependency)
- commander ^14.0.2 (Dependency)
- pg ^8.16.0 (Dependency)
- yaml ^2.9.0 (Dependency)
- zod ^4.4.3 (Dependency)

## Package metadata
- **Package:** @delorenj/pjangler
- **Ecosystem:** npm
- **Version:** 1.3.0
- **License:** MIT
- **Version published:** 2026-08-15T17:16:33.767Z
- **Package first seen:** 2026-07-09T00:59:29.037Z
- **Package last seen:** 2026-10-18T02:54:44.579Z
- **Known versions:** 17
- **Latest version:** 1.5.18
- **Appeal under review:** No
- **Description:** Project subsystem bootstrapper CLI
- **Author:** delorenj
- **Maintainers:** lasertoast
- **Keywords:** cli, bootstrap, project-setup, mise, docker
- **Runtime engines:** node: \>=20
- **Artifact files:** 77
- **Artifact unpacked size:** 1,216,557 bytes
- **Artifact signatures:** 1
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@delorenj/pjangler/v/1.3.0>)
- [Repository](<https://github.com/delorenj/pjangler>)
- [Homepage](<https://github.com/delorenj/pjangler#readme>)
- [Issues](<https://github.com/delorenj/pjangler/issues>)
