Loading npm security reports…
Loading npm security reports…
sap-ai-dev-toolkit@0.9.6: Agent extension lifecycle risk | LPM Firewall
npm / sap-ai-dev-toolkit / 0.9.6 SAP AI development toolkit for BAS, ABAP, RAP, CAP, HANA Cloud, Fiori, UI5, and MCP
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security reviewscanned on Oct 8, 2026, 14:57 UTC · by lpm-firewall-ai The postinstall automatically installs package-owned agent and skill assets for a default harness in noninteractive installs. The scoped asset installer supports a warning for agent extension lifecycle risk, while inspected source does not establish a concrete attack.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
Installing the package with lifecycle scripts enabled, especially without an interactive terminal.
Impact
Installation can change which package-provided agent and skill instructions are available to the harness.
Mechanism
The postinstall selects a default harness when no selection is supplied, then writes bundled files and a management manifest into its user directory.
Evidence
package.json scripts/postinstall.mjs src/harnesses.mjs src/install-user-assets.mjs
public snapshot
Evidence for warning
The package runs a postinstall script automatically. In noninteractive installs, the hook defaults to installing bundled agent and skill files for a selected harness. The noninteractive default is GitHub Copilot. The installer writes package-provided files into the harness directory and tracks their hashes for managed cleanup. Evidence against
The postinstall asset setup is package-owned and limited to bundled agent and skill files. The installer removes files only when their contents match previously managed or package-provided content; otherwise it preserves the conflict. The runtime verifies binaries against a checksum manifest when one is available. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network · Shell
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 31 files · 357 KB of source
6 external domains referenced
127.0.0.1 cf-api.invalid demo.dest github.com go.dev myhost.example Findings1 critical · 16 high · 5 medium · 5 low Source & flagged code19 flagged High Install time lifecycle scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg Medium Ambiguous install lifecycle script
Install-time lifecycle script is not statically allowlisted and needs review.
package.json View on unpkg Shared scanner record · 2 findings · 1 line scripts.postinstall = node scripts/postinstall.mjs
High Child process
Package source references child process execution.
scripts/ensure-go.mjs View on unpkg · L1 Code excerpt · 3 lines 1 import { createHash } from 'node:crypto' ;
2 import { execFile, spawnSync } from 'node:child_process' ;
3 import { chmod, mkdir, rm, symlink, writeFile } from 'node:fs/promises' ;
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
scripts/ensure-go.mjs View on unpkg · L17 Code excerpt · 9 lines 17 function localGoPath () {
18 return join (brandedEnvValue (process.env, 'GO_ROOT' ) || join (homedir (), '.local' , 'go' ), GO_VERSION, 'bin' , process.platform === 'win32' ? 'go.exe' : 'go' );
19 }
⋯
22 if (process.env.GO_BINARY) return process.env.GO_BINARY;
23 const result = spawnSync ('go' , ['version' ], { encoding: 'utf8' , stdio: [ , , ] });
High Sandbox evasion gated capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
scripts/ensure-go.mjs View on unpkg · L1 Code excerpt · 11 lines 1 import { createHash } from 'node:crypto' ;
2 import { execFile, spawnSync } from 'node:child_process' ;
3 import { chmod, mkdir, rm, symlink, writeFile } from 'node:fs/promises' ;
⋯
9 const exec = promisify (execFile);
10 export const GO_VERSION = brandedEnvValue (process.env, 'GO_VERSION' ) || 'go1.27.1' ;
11 const GO_RELEASES = {
⋯
17 function localGoPath () {
18
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/ensure-go.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = scripts/ensure-go.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
scripts/ensure-go.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = sap-ai-dev-toolkit@0.7.9
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.7.9
similarity = 0.516
summary = stored previous version shares package body but lacks this dangerous source file
Code excerpt · 3 lines 31 stdio: 'inherit' ,
32 ...(process.platform === 'win32' ? { shell: true } : {}),
33 ...options
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/install-local.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = scripts/install-local.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Critical AI agent control hijack
Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
scripts/postinstall.mjs View on unpkg · L7 Code excerpt · 12 lines Install-time code directly mutates a foreign AI-agent control surface:
7 import { installUserAssetsForHarnesses } from '../src/install-user-assets.mjs' ;
8 import { installMcpServersForHarnesses } from '../src/harness-mcp-config.mjs' ;
9 import { DEFAULT_HARNESS_IDS, HARNESSES, HARNESS_ENV_VAR, NON_INTERACTIVE_HARNESS_IDS, envHarnessSelection, harnessRoot } from '../src/harnesses.mjs' ;
⋯
165
166 async function wireHarnessMcpServers (ids, servers) {
167 const entries = servers && Object.keys (servers).length ? servers : ;
Medium Ships native binary
Package ships native binary artifacts.
dist/vsp-linux-x64 View on unpkg Scanner record · 4 lines path = dist/vsp-linux-x64
kind = native_binary
sizeBytes = 24826018
magicHex = [redacted]
scripts/postinstall.mjs#virtual:normalized:round1 View file High Semantic analysis limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
scripts/postinstall.mjs#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 3
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/build-vsp.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = scripts/build-vsp.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
scripts/publish-npm.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = scripts/publish-npm.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/local-sap-gui.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = src/local-sap-gui.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cf-destination.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = src/cf-destination.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/cf-connectivity.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = src/cf-connectivity.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
src/harnesses.mjs View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = sap-ai-dev-toolkit@0.9.3
matchedPath = src/harnesses.mjs
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.3
similarity = 1.000
summary = normalized source hash matched finalized malicious source
Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
Low Non install lifecycle scripts
'ignore'
'pipe'
'ignore'
24 if (result.status === 0 ) return 'go' ;
32 if (!release) throw new Error (`Go is missing and automatic installation is supported only for Linux x64/arm64 and Windows x64. Install ${GO_VERSION} manually and ensure go is on PA...
33 const response = await fetch (`https://go.dev/dl/${release.archive}` );
34 if (!response.ok) throw new Error (`Go download failed with HTTP ${response.status}; install ${GO_VERSION} manua
return join (brandedEnvValue (process.env, 'GO_ROOT' ) || join (homedir (), '.local' , 'go' ), GO_VERSION, 'bin' , process.platform === 'win32' ? 'go.exe' : 'go' );
32 if (!release) throw new Error (`Go is missing and automatic installation is supported only for Linux x64/arm64 and Windows x64. Install ${GO_VERSION} manually and ensure go is on PA...
33 const response = await fetch (`https://go.dev/dl/${release
null
174 const { results, failures } = await installMcpServersForHarnesses (ids, entries, { env: runtimeEnv });
175 for (const result of results) {
343 if (setupCompleted) await wireHarnessMcpServers (harnessIds, setupResult?.serve