Loading npm security reports…
Loading npm security reports…
sap-ai-dev-toolkit@0.9.9908: Agent extension lifecycle risk | LPM Firewall
npm / sap-ai-dev-toolkit / 0.9.9908
sap-ai-dev-toolkit@0.9.9908 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 17, 2026, 08:45 UTC · by lpm-firewall-ai The automatic installation of bundled agent and skill files without an interactive selection creates first-party agent extension lifecycle risk. The inspected source does not establish a concrete attack, so a warning is appropriate instead of a publish block.
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
Install the package with lifecycle scripts enabled when no interactive terminal is available and no harness override is set.
Impact
The installed instructions become available to the coding harness; the inspected source does not establish prompt or response export.
Mechanism
The postinstall setup selects GitHub Copilot by default and copies bundled agent and skill files into its user profile.
Evidence
package.json scripts/postinstall.mjs src/harness-setup.mjs src/harnesses.mjs src/install-user-assets.mjs .github/agents/abap-developer.agent.md ~/.copilot/agents/ ~/.copilot/skills/
public snapshot
Evidence for warning
The manifest registers an automatic postinstall script, with a source-level check to skip it when npm disables lifecycle scripts. After its setup path, postinstall invokes harness setup, which can install bundled agent and skill files. Without an interactive terminal or harness override, the installer defaults to GitHub Copilot, whose assets are placed under the user's home directory. The asset installer writes bundled files into that profile when the destination does not already exist. The bundled ABAP agent is marked user-invocable and describes an SAP development workflow. Evidence against
The inspected installation path shows first-party agent and skill setup, not a concrete malicious action. The bundled agent is user-invocable; the inspected source does not establish prompt or response export. Behavioral surface
Source Child process · Crypto · Environment variables · Filesystem · Network · Shell · Web socket
Supply chain High entropy strings · URL strings
Manifest No manifest risk signals triggered.
Scanned 33 files · 415 KB of source
6 external domains referenced
127.0.0.1 cf-api.invalid demo.dest github.com go.dev myhost.example Findings1 critical · 14 high · 5 medium · 5 low Source & flagged code17 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 = 24834210
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 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.9906
matchedIdentity = npm:c2FwLWFpLWRldi10b29sa2l0:0.9.9906
similarity = 0.788
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);