Loading npm security reports…
Loading npm security reports…
sap-ai-dev-toolkit@0.9.9906: Agent extension lifecycle risk | LPM Firewall
npm / sap-ai-dev-toolkit / 0.9.9906
sap-ai-dev-toolkit@0.9.9906 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 13, 2026, 05:18 UTC · by lpm-firewall-ai The automatic postinstall setup installs first-party agent and skill files into a harness directory, including a non-interactive default, which fits the warning case for agent extension lifecycle risk. The inspected Connectivity credential flow targets its configured OAuth service for proxy operation and does not establish unrelated credential disclosure.
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
Package installation runs the postinstall hook, unless install scripts are disabled.
Impact
The package can add its own agent and skill content to the user’s harness files during installation.
Mechanism
The hook runs setup and then installs bundled agent and skill files for the selected harness; without a terminal or an override, it uses the non-interactive default.
Evidence
package.json scripts/postinstall.mjs src/harness-setup.mjs src/harnesses.mjs src/install-user-assets.mjs
public snapshot
Evidence for warning
The package manifest runs scripts/postinstall.mjs during installation. After setup succeeds, the install hook invokes harness setup. Without an interactive terminal, harness setup installs bundled agent and skill files by default; the default non-interactive target is GitHub Copilot. The installer writes those bundled files under the selected harness root. The Connectivity proxy sends service credentials to the token service URL configured in its credentials. Evidence against
The inspected Connectivity credential flow is for the configured token service and proxy operation; it does not establish disclosure to an unrelated recipient. 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 33 files · 396 KB of source
6 external domains referenced
127.0.0.1 cf-api.invalid demo.dest github.com go.dev myhost.example Findings1 critical · 15 high · 5 medium · 5 low Source & flagged code18 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
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.
src/harness-setup.mjs View on unpkg · L7 Code excerpt · 16 lines Install-time code directly mutates a foreign AI-agent control surface:
7 import { ReadStream as TTYReadStream, WriteStream as TTYWriteStream } from 'node:tty' ;
8 import { installMcpServersForHarnesses } from './harness-mcp-config.mjs' ;
9 import { installUserAssetsForHarnesses } from './install-user-assets.mjs' ;
⋯
165
166 async function wireHarnessMcpServers (ids, servers, env) {
167 const entries = servers && Object. (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 = 24830114
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 = 2
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/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
High Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
src/launcher.mjs View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = sap-ai-dev-toolkit@0.9.9904
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.9904
similarity = 0.938
summary = stored previous version shares package body but lacks this dangerous source file
High Shell 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
keys
null
174 const { results, failures } = await installMcpServersForHarnesses (ids, entries, { env });
175 for (const result of results) {
196 await wireHarnessMcpServers (ids, servers, env);
Write operation from src/binary.mjs:
190 const dir = cacheDirectory (env);