---
canonical: "https://firewall.lpm.dev/npm/@dharma-ai-labs/agent-fabric/v/0.2.60"
markdown: "https://firewall.lpm.dev/npm/@dharma-ai-labs/agent-fabric/v/0.2.60.md"
package: "@dharma-ai-labs/agent-fabric"
report_status: "published"
title: "@dharma-ai-labs/agent-fabric@0.2.60 npm security report"
verdict: "suspicious"
version: "0.2.60"
---

# @dharma-ai-labs/agent-fabric@0.2.60 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.2.60
- **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 flagged agent configuration behavior is part of explicit, package-owned onboarding and is limited to read-only command permissions. No npm lifecycle hook or concrete attack chain was established, so this warrants a warning for agent capability setup rather than a publish block.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-10-11T14:46:02.709Z
- **Finished:** 2026-10-11T14:46:34.248Z
- **Download time:** 753 ms
- **Static scan time:** 1412 ms
- **AI review time:** 29373 ms
- **Total time:** 31539 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 concrete attack was identified. Explicit repository onboarding installs this package’s own agent skill and can add a bounded set of read-only Claude project permissions.

- **Trigger:** Repository onboarding after workspace registration.

- **Impact:** Agent configuration changes support this package’s onboarding workflow; inspected source did not establish credential theft, destructive behavior, or an install-hook attack.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-11T14:46:34.248Z

### AI review details

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

- **Mechanism:** The bootstrap writes the package-owned skill to the selected agent’s native skill directory and, for Claude, merges read-only command rules into project-local settings.

- **Rationale:** The flagged agent configuration behavior is part of explicit, package-owned onboarding and is limited to read-only command permissions. No npm lifecycle hook or concrete attack chain was established, so this warrants a warning for agent capability setup rather than a publish block.

- **Files touched:** .claude/settings.local.json, \<agent-native-skills\>/dharma-agent-fabric/SKILL.md

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The manifest defines only a test script and no preinstall, install, or postinstall hook., Repository onboarding calls the native bootstrap installer after registering the workspace., The bootstrap writes a package-owned skill into the selected agent’s native skills directory., For Claude, the bootstrap merges a bounded set of read-only commands into project-local settings., The repository package recognizes common agent skill directories, consistent with its repository skill delivery feature.

- **Evidence against:** No install-time lifecycle trigger was found in package.json., The observed agent configuration changes are tied to repository onboarding and add bounded read-only permissions., The bootstrap is explicitly scoped to the package’s own skill, and no concrete exfiltration or destructive behavior was established.

## Affected versions and remediation

This report applies to @dharma-ai-labs/agent-fabric@0.2.60.

- Review the evidence and your use of @dharma-ai-labs/agent-fabric@0.2.60 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: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Critical: Critical Secret
- **Category:** Secrets
- **Confidence:** 90.0%
- **Path:** dist/repositoryRoleMetadata.test.js
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/dist/repositoryRoleMetadata.test.js>)

Package contains a critical-looking secret pattern.

Public source snippet (untrusted):

```javascript
patternName = github_fine_grained
severity = critical
line = 234
```

### 3. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%

Package source references a known benign dynamic code generation pattern.

### 4. Medium: Unsafe Vm Context
- **Category:** Source
- **Confidence:** 68.0%
- **Path:** dist/repositoryOnboardingCaller.test.js
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/dist/repositoryOnboardingCaller.test.js>)

Package source executes code through a VM context API.

Public source snippet (untrusted):

```javascript
L29: normalizeHqUrl: (value) => value,
L30: portalUrl: () => 'https://fixture.invalid',
L31: required: (flags, key) => {
...
L41: configPath: () => '/fixture-config/device.json',
L42: process: { env: { USER: 'fixture' }, stderr: { write: () => true } },
L43: platform: async () => 'linux',
```

### 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. High: Trigger Reachable External Ai Agent Control Surface Mutation
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/dist/index.js>)

Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.

Public source snippet (untrusted):

```javascript
Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
or the active organization. signed remediation bundles replace this bootstrap only after server-side evaluation, held-out, approval, signing, and rollout gates pass.
`;
    await mkdir(skillroot, { recursive: true, mode: 0o700 });
    await writefile(resolve(skillroot, 'skill.md'), skill, { mode: 0o600 });
    await writefile(marker, `${json.stringify({
        schema: 'dharma.native-sk[redacted]/v2',
        managedby: 'dharma-agent-fabric',
        provider: input.provider,
        hqurl: input.hqurl,
        installedat: new date().toisostring(),
    }, null, 2)}\n`, { mode: 0o600 });
    if (input.provider === 'agy')
        await activateagyplugin({ env: input.env, home: in
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/skillPreparationTransaction.js
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/dist/skillPreparationTransaction.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @dharma-ai-labs/agent-fabric@0.2.49
matchedIdentity = npm:[redacted]:0.2.49
similarity = 0.500
summary = stored previous version shares package body but lacks this dangerous source file
```

### 11. Critical: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/repositoryRoleMetadata.test.js
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/dist/repositoryRoleMetadata.test.js>)

GitHub fine-grained PAT in dist/repositoryRoleMetadata.test.js

Public source snippet (untrusted):

```javascript
patternName = github_fine_grained
severity = critical
line = 234
```

### 12. Medium: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 84.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@dharma-ai-labs/agent-fabric@0.2.60/package.json>)

The manifest defines only a test script and no preinstall, install, or postinstall hook.

Public source snippet (untrusted):

```json
"scripts": {
    "test": "node --test dist/*.test.js"
  },
  "dependencies": {
    "@dharma-ai-labs/agent-fabric-contracts": "0.1.10",
    "@dharma-ai-labs/agent-fabric
```

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

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

### Published dependency entries
- @dharma-ai-labs/agent-fabric-contracts 0.1.10 (Dependency)
- @dharma-ai-labs/agent-fabric-evidence-reduction 0.2.13 (Dependency)
- @dharma-ai-labs/agent-fabric-local-vault 0.1.17 (Dependency)
- @dharma-ai-labs/agent-fabric-policy 0.1.4 (Dependency)
- @dharma-ai-labs/agent-fabric-provider-adapters 0.1.18 (Dependency)
- @dharma-ai-labs/agent-fabric-relay-client 0.2.21 (Dependency)
- @dharma-ai-labs/agent-fabric-sdk 0.1.10 (Dependency)
- @dharma-ai-labs/agent-fabric-skill-manager 0.2.9 (Dependency)
- @dharma-ai-labs/agent-fabric-task-runner 0.1.19 (Dependency)
- ajv 8.20.0 (Dependency)
- ajv-formats 3.0.1 (Dependency)
- fs-native-extensions 1.5.1 (Dependency)

## Package metadata
- **Package:** @dharma-ai-labs/agent-fabric
- **Ecosystem:** npm
- **Version:** 0.2.60
- **License:** MIT
- **Version published:** 2026-09-20T00:32:45.315Z
- **Package first seen:** 2026-08-08T21:30:27.430Z
- **Package last seen:** 2026-11-22T10:00:35.947Z
- **Known versions:** 134
- **Latest version:** 0.2.227
- **Appeal under review:** No
- **Description:** Local-first CLI for connecting coding agents to Dharma evaluation, orchestration, and signed Skill delivery
- **Maintainers:** diannt
- **Runtime engines:** node: \>=22.20.0 \<25.0.0
- **Artifact files:** 234
- **Artifact unpacked size:** 2,166,775 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@dharma-ai-labs/agent-fabric/v/0.2.60>)
- [Repository](<https://github.com/dharma-ai-labs/dharma-agent-fabric>)
- [Homepage](<https://github.com/dharma-ai-labs/dharma-agent-fabric/tree/main/packages/cli#readme>)
- [Issues](<https://github.com/dharma-ai-labs/dharma-agent-fabric/issues>)
