registry  /  portable-agent-layer  /  0.57.1

portable-agent-layer@0.57.1

PAL — Portable Agent Layer: persistent personal context for AI coding assistants

Static Scan Results

scanned 6d ago · by rust-scanner

Static analysis flagged 14 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsMinifiedUrlStrings
Manifest
WildcardDependency
scanned 178 file(s), 1.86 MB of source, external domains: 127.0.0.1, aistudio.google.com, api.anthropic.com, api.openai.com, api.perplexity.ai, api.x.ai, console.x.ai, generativelanguage.googleapis.com, github.com, nodejs.org, registry.npmjs.org, www.perplexity.ai

Source & flagged code

5 flagged · loading source
assets/skills/playwright/tools/shot.tsView file
14L15: import { spawnSync } from "node:child_process"; L16: import { existsSync, mkdtempSync, rmSync } from "node:fs";
High
Child Process

Package source references child process execution.

assets/skills/playwright/tools/shot.tsView on unpkg · L14
assets/skills/consulting-report/tools/dev.tsView file
30stdio: "inherit", L31: shell: true, L32: });
High
Shell

Package source references shell execution.

assets/skills/consulting-report/tools/dev.tsView on unpkg · L30
assets/skills/consulting-report/tools/generate-pdf.tsView file
87} L88: const mod = (await import(pathToFileURL(dataPath).href)) as { L89: reportData?: ReportMeta;
Medium
Dynamic Require

Package source references dynamic require/import behavior.

assets/skills/consulting-report/tools/generate-pdf.tsView on unpkg · L87
src/cli/index.tsView file
1044log.info("Installing dependencies..."); L1045: const deps = spawnSync("bun", ["install", "--frozen-lockfile"], { L1046: cwd: pkg, ... L1050: if (deps.status !== 0) { L1051: log.warn("bun install failed — continuing anyway, but hooks may not work"); L1052: }
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

src/cli/index.tsView on unpkg · L1044
assets/statusline.ps1View file
path = assets/statusline.ps1 kind = build_helper sizeBytes = 9857 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

assets/statusline.ps1View on unpkg

Findings

3 High6 Medium5 Low
HighChild Processassets/skills/playwright/tools/shot.ts
HighShellassets/skills/consulting-report/tools/dev.ts
HighRuntime Package Installsrc/cli/index.ts
MediumDynamic Requireassets/skills/consulting-report/tools/generate-pdf.ts
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperassets/statusline.ps1
MediumStructural Risk Force Deep Review
MediumWildcard Dependency
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings