---
canonical: "https://firewall.lpm.dev/npm/@e-burgos/sdd-harness/v/0.17.0"
markdown: "https://firewall.lpm.dev/npm/@e-burgos/sdd-harness/v/0.17.0.md"
package: "@e-burgos/sdd-harness"
report_status: "published"
title: "@e-burgos/sdd-harness@0.17.0 npm security report"
verdict: "suspicious"
version: "0.17.0"
---

# @e-burgos/sdd-harness@0.17.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 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.17.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.

The package itself has no install hook, but its generated workspace template adds a postinstall that writes SDD-owned hooks into agent settings and may install RTK. This is an automatic agent-extension setup risk, while the inspected code shows no credential theft or unrelated payload behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 86.0%
- **Started:** 2026-11-05T18:19:07.472Z
- **Finished:** 2026-11-05T18:20:59.074Z
- **Download time:** 519 ms
- **Static scan time:** 984 ms
- **AI review time:** 110097 ms
- **Total time:** 111602 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:** The generated workspace template has a postinstall that configures SDD-owned agent hooks and may install the RTK binary automatically.

- **Trigger:** A package-manager install in a generated Nx workspace, when sdd/scripts/setup-rtk.mjs exists.

- **Impact:** Agent startup and shell actions can invoke the generated SDD hooks; RTK may be installed in a per-user binary directory. No secret transmission was identified in the inspected code.

- **Evidence paths:** templates/sdd/templates/nx-workspace/package.json, templates/sdd/scripts/setup-rtk.mjs, templates/sdd/scripts/rtk-common.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-11-05T18:20:59.074Z

### AI review details

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

- **Mechanism:** The script merges hooks into project agent settings, creates default RTK settings when absent, and attempts a pinned RTK release download with checksum verification.

- **Rationale:** The package itself has no install hook, but its generated workspace template adds a postinstall that writes SDD-owned hooks into agent settings and may install RTK. This is an automatic agent-extension setup risk, while the inspected code shows no credential theft or unrelated payload behavior.

- **Files touched:** .claude/settings.json, .gemini/settings.json, sdd/tools.json, ~/.local/bin/rtk, %LOCALAPPDATA%/rtk/bin/rtk.exe

- **Network endpoints:** github.com

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 86.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** The generated Nx workspace template defines a postinstall that runs setup-rtk.mjs when that script exists., setup-rtk.mjs merges SDD-owned hooks into the project’s Claude and Gemini settings., Without flags, setup-rtk.mjs sets up the hooks and attempts the RTK binary installation; installation can be skipped in CI or through configuration., The binary installer downloads a pinned RTK release and checks its SHA-256 against the release checksums., The npm package itself describes its purpose as bootstrapping AI-agent-ready Nx monorepos.

- **Evidence against:** The root package.json declares no lifecycle scripts; its executable is a separate CLI entry point., The generated hook setup is for the SDD/RTK integration, matching the package’s stated purpose., The installer targets the RTK release project on GitHub and verifies the downloaded archive; no credential collection or unrelated collector was identified in the inspected paths.

## Affected versions and remediation

This report applies to @e-burgos/sdd-harness@0.17.0.

- Review the evidence and your use of @e-burgos/sdd-harness@0.17.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: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/dist/cli.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L58: // src/utils/exec.ts
L59: import { execSync } from "node:child_process";
L60: function exec(command, options) {
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/dist/cli.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L2784: exec(
L2785: "powershell -ExecutionPolicy Bypass -File sdd/scripts/setup-agents.ps1",
L2786: { cwd: root }
```

### 4. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/dist/cli.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L877: resolve7(appDir, "app/api/health/route.ts"),
L878: render(HEALTH_ROUTE_TS, { TYPES: typesImport("../../../lib/types") })
L879: );
```

### 5. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** templates/sdd/docs/serve.mjs
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/templates/sdd/docs/serve.mjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: import { createServer } from 'node:http';
L2: import { readFile, readdir, realpath, stat } from 'node:fs/promises';
L3: import { existsSync } from 'node:fs';
L4: import { execFile } from 'node:child_process';
L5: import { createHash } from 'node:crypto';
...
L19: {
L20: const nxRoot = process.env.NX_WORKSPACE_ROOT_PATH;
L21: if (nxRoot && path.resolve(nxRoot) !== path.resolve(fileURLToPath(new URL('../..', import.meta.url)))) {
...
L58: function resolveRoot(cliArgs) {
L59: if (cliArgs.root) return path.resolve(process.cwd(), cliArgs.root);
L60: return path.resolve(fileURLToPath(new URL('../../', import.meta.url)));
...
L83: if (req.method === 'HEAD' || body === undefined) {
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 9. High: Runtime Package Install
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/dist/cli.js>)

Package source invokes a package manager install command at runtime.

Public source snippet (untrusted):

```javascript
L3406: logger.step("Installing dependencies (pnpm install)...");
L3407: exec("pnpm install --ignore-workspace", { cwd: root });
L3408: if (opts.services.length > 0) {
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 12. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** templates/sdd/scripts/setup-agents.ps1
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/templates/sdd/scripts/setup-agents.ps1>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = templates/sdd/scripts/setup-agents.ps1
kind = build_helper
sizeBytes = 21803
magicHex = [redacted]
```

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

### 14. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** templates/sdd/docs/serve.mjs
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/templates/sdd/docs/serve.mjs>)

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

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @e-burgos/sdd-harness@0.14.0
matchedPath = templates/sdd/docs/serve.mjs
matchedIdentity = npm:QGUtYnVyZ29zL3NkZC1oYXJuZXNz:0.14.0
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 15. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@e-burgos/sdd-harness@0.17.0/dist/cli.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 = @e-burgos/sdd-harness@0.16.1
matchedIdentity = npm:QGUtYnVyZ29zL3NkZC1oYXJuZXNz:0.16.1
similarity = 0.857
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- @clack/prompts ^0.9.1 (Dependency)
- citty ^0.1.6 (Dependency)
- fs-extra ^11.2.0 (Dependency)
- picocolors ^1.1.1 (Dependency)
- zod ^3.23.0 (Dependency)
- zod-to-json-schema ^3.25.2 (Dependency)

## Package metadata
- **Package:** @e-burgos/sdd-harness
- **Ecosystem:** npm
- **Version:** 0.17.0
- **License:** MIT
- **Version published:** 2026-11-05T18:14:34.587Z
- **Package first seen:** 2026-08-07T19:05:33.026Z
- **Package last seen:** 2026-11-21T00:25:05.989Z
- **Known versions:** 28
- **Latest version:** 0.24.0
- **Appeal under review:** No
- **Description:** CLI to bootstrap AI-agent-ready Nx monorepos with SDD methodology
- **Author:** Esteban Burgos
- **Maintainers:** estebanburgos
- **Keywords:** nx, monorepo, ai-agents, sdd, harness, scaffold, cli
- **Runtime engines:** node: \>=18
- **Artifact files:** 243
- **Artifact unpacked size:** 2,138,715 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@e-burgos/sdd-harness/v/0.17.0>)
- [Repository](<https://github.com/e-burgos/sdd-harness>)
- [Homepage](<https://sdd.estebanburgos.com.ar/>)
- [Issues](<https://github.com/e-burgos/sdd-harness/issues>)
