registry  /  @aws/ml-container-creator  /  1.0.4

@aws/ml-container-creator@1.0.4

Build and deploy custom ML containers on AWS SageMaker with minimal configuration.

Static Scan Results

scanned 15d ago · by rust-scanner

Static analysis flagged 13 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
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 121 file(s), 1.39 MB of source, external domains: aws.amazon.com, awscli.amazonaws.com, console.aws.amazon.com, docs.aws.amazon.com, docs.vllm.ai, github.com, hub.docker.com, huggingface.co, json-schema.org, ngc.nvidia.com, nvidia.github.io, onnxruntime.ai, raw.githubusercontent.com, sgl-project.github.io

Source & flagged code

5 flagged · loading source
src/lib/e2e-bootstrap.jsView file
15L16: import { execSync } from 'node:child_process'; L17: import { readFileSync } from 'node:fs';
High
Child Process

Package source references child process execution.

src/lib/e2e-bootstrap.jsView on unpkg · L15
src/lib/bootstrap-command-handler.jsView file
244try { L245: const existingStacks = this._execAws( L246: `cloudformation list-stacks --stack-status-filter CREATE_COMPLETE UPDATE_COMPLETE UPDATE_ROLLBACK_COMPLETE --query "StackSummaries[?starts_with(StackName,'${STACK_NAME_PREFIX}-')]....
High
Shell

Package source references shell execution.

src/lib/bootstrap-command-handler.jsView on unpkg · L244
416try { L417: execSync( L418: `npx cdk bootstrap aws://${profileData.accountId}/${profileData.awsRegion}`, L419: {
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

src/lib/bootstrap-command-handler.jsView on unpkg · L416
templates/test/test_local_image.shView file
path = templates/test/test_local_image.sh kind = payload_in_excluded_dir sizeBytes = 2118 magicHex = [redacted]
High
Payload In Excluded Dir

Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.

templates/test/test_local_image.shView on unpkg
path = templates/test/test_local_image.sh kind = build_helper sizeBytes = 2118 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

templates/test/test_local_image.shView on unpkg

Findings

4 High4 Medium5 Low
HighChild Processsrc/lib/e2e-bootstrap.js
HighShellsrc/lib/bootstrap-command-handler.js
HighRuntime Package Installsrc/lib/bootstrap-command-handler.js
HighPayload In Excluded Dirtemplates/test/test_local_image.sh
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helpertemplates/test/test_local_image.sh
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings