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

# dsh-reflex@0.3.10 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 agent extension risk** — Allowed by default with warning: install-time first-party agent extension setup was detected.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only agent extension risk
- **Public report status:** Published
- **Threat category:** Agent extension lifecycle risk
- **Selected version:** 0.3.10
- **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.

The runtime performs automatic, package-owned agent skill setup and syncs the tuning skill, so this warrants an extension lifecycle warning. The inspected source does not establish a concrete malicious action.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 83.0%
- **Started:** 2026-10-24T21:53:20.550Z
- **Finished:** 2026-10-24T21:54:29.358Z
- **Download time:** 3305 ms
- **Static scan time:** 199 ms
- **AI review time:** 65302 ms
- **Total time:** 68808 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:** No malicious behavior was established, but loading the plugin automatically installs bundled skills into the agent skills directory. The first-party tuning skill can replace changed files there.

- **Trigger:** The host loads the plugin and calls its runtime setup.

- **Impact:** This can change skills available to agent sessions; the reviewed source does not show broader agent settings changes or control takeover.

- **Evidence paths:** index.js, skill/reflex-tuning/.deploy.json

- **Review source:** ai\_review

- **Reviewed:** 2026-10-24T21:54:29.358Z

### AI review details

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

- **Mechanism:** The setup recursively copies bundled skill files to the configured agent skills directory, defaulting to the user's .agents/skills directory.

- **Rationale:** The runtime performs automatic, package-owned agent skill setup and syncs the tuning skill, so this warrants an extension lifecycle warning. The inspected source does not establish a concrete malicious action.

- **Files touched:** ~/.agents/skills/reflex-tuning/, index.js, skill/reflex-tuning/.deploy.json

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 83.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest exposes the plugin through index.js., When the host loads the plugin, apply calls install., Install copies bundled skills into the agent skills directory and replaces changed files by default., The reflex-tuning skill is configured to sync with the package., The flagged Python file is a small unit test for token layout.

- **Evidence against:** The inspected source shows skill setup, not a change to broad agent settings or an observed control takeover.

## Affected versions and remediation

This report applies to dsh-reflex@0.3.10.

- Review the evidence and your use of dsh-reflex@0.3.10 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. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

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

Package source references filesystem APIs.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 5. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** skill/reflex-tuning/scripts/pc\_inject.py
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/skill/reflex-tuning/scripts/pc_inject.py>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```python
path = skill/reflex-tuning/scripts/pc_inject.py
kind = build_helper
sizeBytes = 19719
magicHex = [redacted]
```

### 6. High: Payload In Excluded Dir
- **Category:** Artifact Inventory
- **Confidence:** 85.0%
- **Path:** skill/semif-decide/assets/semif/tests/test\_shared.py
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/skill/semif-decide/assets/semif/tests/test_shared.py>)

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

Public source snippet (untrusted):

```python
path = skill/semif-decide/assets/semif/tests/test_shared.py
kind = payload_in_excluded_dir
sizeBytes = 476
magicHex = [redacted]
```

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

### 8. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 83.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/package.json>)

The manifest exposes the plugin through index.js.

Public source snippet (untrusted):

```json
"dependencies": {
    "@deepseek-ai/schemastery": "^3.18.4"
  },
  "exports": {
    ".": "./index.js",
    "./client": "./client.js",
    "./package.json": "./package.json"
  }
}
```

### 9. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 83.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/index.js>)

When the host loads the plugin, apply calls install.

Public source snippet (untrusted):

```javascript
export function apply(ctx, config = {}) {
  try {
    return install(rtOf(ctx), ctx, normalize(cfgOf(config)))
  } catch (e) {
    // 兄弟插件绝不拖垮宿主: 任何初始化错误都降级为记录并跳过
    try { ctx.logger?.war
```

### 10. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 83.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/index.js>)

Install copies bundled skills into the agent skills directory and replaces changed files by default.

Public source snippet (untrusted):

```javascript
try {
    const pkgSkills = join(__dirname, 'skill')
    const skillsRoot = process.env.AGENTS_SKILLS_DIR || join(process.env.HOME || '', '.agents', 'skills')
    if (existsSync(pkgSkills)) {
      for (const skillName of readdirSync(pkgSkills)) {
        const srcDir = join(pkgSkills, skillName)
        if (!existsSync(join(srcDir, 'SKILL.md'))) continue
```

### 11. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 83.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/index.js>)

Install copies bundled skills into the agent skills directory and replaces changed files by default.

Public source snippet (untrusted):

```javascript
if (existsSync(d) && readFileSync(d).equals(readFileSync(s))) continue   // 内容一致不重写
        cpSync(s, d); n++
      } catch (err) { log(`skill file copy fail ${e.name}:
```

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 83.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/dsh-reflex@0.3.10/index.js>)

The reflex-tuning skill is configured to sync with the package.

Public source snippet (untrusted):

```javascript
const dstDir = join(skillsRoot, skillName)
        let policy = 'sync'
        try {
          const policyFile = join(srcDir, '.deploy.json')
          if (existsSync(policyFile)) policy = JSON.parse(readFileSync(policyFile, 'utf8')).policy ?? 'sync'
        } catch (e) { log(`skill deploy config ${skillName} parse fail: ${e.message}`) }
        if
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 1
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 1

### Published dependency entries
- @deepseek-ai/schemastery ^3.18.4 (Dependency)

## Package metadata
- **Package:** dsh-reflex
- **Ecosystem:** npm
- **Version:** 0.3.10
- **License:** MIT
- **Version published:** 2026-10-24T18:48:08.199Z
- **Package first seen:** 2026-10-16T15:07:15.776Z
- **Package last seen:** 2026-11-23T14:56:55.432Z
- **Known versions:** 18
- **Latest version:** 0.6.0
- **Appeal under review:** No
- **Description:** Layered agent for DeepSeek Harness: L0 fact layer + L1 local decision layer (SemIf/Jev) + L2 event-driven wake, as a sibling cordis plugin to ds-bot (zero modification to the original).
- **Deprecated:** 此版本包含个人可识别信息(PII)，已在 0.3.12 移除。请安装 dsh-reflex@0.3.12 或更高版本
- **Maintainers:** onesmash
- **Artifact files:** 104
- **Artifact unpacked size:** 9,339,515 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dsh-reflex/v/0.3.10>)
