registry  /  cdk-real-drift  /  0.4.6

cdk-real-drift@0.4.6

Detect when real AWS resources drift from your AWS CDK app - including UNDECLARED properties that cdk drift / CloudFormation drift detection never see.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 6 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
ChildProcessCryptoEnvironmentVarsFilesystemNetwork
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 582 KB of source, external domains: 169.254.169.254, accounts.google.com, github.com, global.sns-api.chatbot.amazonaws.com, people.googleapis.com, www.googleapis.com

Source & flagged code

1 flagged · loading source
dist/cli.jsView file
66} L67: stream.write("", () => resolve()); L68: }); ... L70: async function flushAndExit(code) { L71: await Promise.all([drain(process.stdout), drain(process.stderr)]); L72: process.exit(code); ... L404: context, L405: region: values["--region"] ?? process.env.AWS_REGION ?? process.env.AWS_DEFAULT_REGION, L406: profile: values["--profile"] ?? process.env.AWS_PROFILE, ... L833: if (existsSync("cdk.json")) { L834: const json = JSON.parse(readFileSync("cdk.json", "utf8")); L835: if (typeof json.app === "string" && json.app.length > 0) return json.app;
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

dist/cli.jsView on unpkg · L66

Findings

1 High2 Medium3 Low
HighCloud Metadata Accessdist/cli.js
MediumNetwork
MediumEnvironment Vars
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings