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

# lithermes-ai@0.8.40 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:** 0.8.40
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

Review flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Suspicious
- **Confidence:** 96.0%
- **Started:** 2026-08-08T23:30:06.430Z
- **Finished:** 2026-08-08T23:33:21.417Z
- **Download time:** 1015 ms
- **Static scan time:** 747 ms
- **AI review time:** 193223 ms
- **Total time:** 194987 ms

## Security analysis

### Published attack-surface review

- **Summary:** A user-invoked \`lithermes install --yes\` installs and enables a Hermes plugin. It may modify selected Hermes host source files when a local Hermes repo is present; no install-time automatic execution is present.

- **Trigger:** Explicit \`lithermes install --yes\` command

- **Impact:** Changes the local AI-agent plugin/control surface and can inject plugin context into future Hermes sessions.

- **Evidence paths:** package.json, src/lib/install.js, src/lib/config.js, src/lib/patch.js, src/lib/updateNotifier.js, assets/lithermes-plugin/\_\_init\_\_.py, assets/lithermes-plugin/core\_runtime.py

- **Review source:** ai\_review

- **Reviewed:** 2026-08-08T23:33:21.417Z

### AI review details

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

- **Mechanism:** Hermes plugin/config installation with optional host compatibility patches

- **Rationale:** This is a guarded, explicit CLI installer with meaningful AI-agent extension and host-patching capability. It warrants a warning under the control-surface policy, not a block.

- **Files touched:** bin/lithermes.js, src/cli.js, src/lib/install.js, src/lib/config.js, src/lib/patch.js, src/lib/updateNotifier.js, assets/lithermes-plugin/\_\_init\_\_.py, assets/lithermes-plugin/core\_runtime.py

- **Network endpoints:** https://registry.npmjs.org/lithermes-ai/latest

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 96.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for:** Explicit \`install --yes\` enables \`lithermes\` in Hermes config and copies a plugin., Install can patch host Hermes \`cli.py\`, \`gateway/run.py\`, and \`hermes\_cli/plugins.py\` when a repo is found., Plugin injects context into Hermes pre-LLM hooks and writes local state/events.

- **Evidence against:** No npm preinstall/install/postinstall hook; entrypoint only runs after a user invokes the CLI., Patch targets require recognized source markers, create backups, and support hash-checked rollback., Only observed network use is a bounded, TTY-gated npm registry update check; no credential exfiltration found.

## 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: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** bin/lithermes.js
- **Public source:** [View source](<https://unpkg.com/lithermes-ai@0.8.40/bin/lithermes.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: #!/usr/bin/env node
L2: const { main } = require("../src/cli");
L3:
```

### 4. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 9. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** assets/lithermes-plugin/litgoal/store.py
- **Public source:** [View source](<https://unpkg.com/lithermes-ai@0.8.40/assets/lithermes-plugin/litgoal/store.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = assets/lithermes-plugin/litgoal/store.py
kind = build_helper
sizeBytes = 14394
magicHex = [redacted]
```

### 10. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** assets/lithermes-plugin/skills/lit-scientific-visualization/original/045\_scientific-visualization/tests/test\_figure\_export.py
- **Public source:** [View source](<https://unpkg.com/lithermes-ai@0.8.40/assets/lithermes-plugin/skills/lit-scientific-visualization/original/045_scientific-visualization/tests/test_figure_export.py>)

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

Public source snippet (untrusted):

```python
path = assets/lithermes-plugin/skills/lit-scientific-visualization/original/045_scientific-visualization/tests/test_figure_export.py
kind = payload_in_excluded_dir
sizeBytes = 1742
magicHex = [redacted]
```

### 11. 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.

### 12. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** assets/lithermes-plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts
- **Public source:** [View source](<https://unpkg.com/lithermes-ai@0.8.40/assets/lithermes-plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```typescript
matchType = normalized_sha256
matchedPackage = @kl-c/matrixos@0.3.65
matchedPath = [redacted]-no-excuse-rules.ts
matchedIdentity = npm:QGtsLWMvbWF0cml4b3M:0.3.65
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

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

### Published dependency entries
- yaml ^2.9.0 (Dependency)

## Package metadata
- **Package:** lithermes-ai
- **Ecosystem:** npm
- **Version:** 0.8.40
- **License:** MIT
- **Version published:** 2026-08-05T07:38:01.427Z
- **Package first seen:** 2026-07-04T10:56:28.135Z
- **Package last seen:** 2026-09-04T02:57:06.374Z
- **Known versions:** 18
- **Latest version:** 0.9.9
- **Appeal under review:** No
- **Description:** npx/bunx installer for the LitHermes Hermes plugin
- **Maintainers:** wjgoarxiv
- **Runtime engines:** node: \>=18
- **Artifact files:** 527
- **Artifact unpacked size:** 10,276,596 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/lithermes-ai/v/0.8.40>)
- [Repository](<https://github.com/wjgoarxiv/lithermes>)
- [Homepage](<https://www.npmjs.com/package/lithermes-ai>)
- [Issues](<https://github.com/wjgoarxiv/lithermes/issues>)
