registry  /  cdk-real-drift  /  0.9.9

cdk-real-drift@0.9.9

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 3h 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), 685 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
71} L72: stream.write("", () => resolve()); L73: }); ... L75: async function flushAndExit(code) { L76: await Promise.all([drain(process.stdout), drain(process.stderr)]); L77: process.exit(code); ... L413: if (scopes.length > 1) throw new Error(`${scopes.join(" and ")} are mutually exclusive — see cdkrd --help`); L414: if (values["--profile"] !== void 0) process.env.CDKRD_EXPLICIT_PROFILE = "1"; L415: return { ... L843: * itself contain `.`, `[`, `|`, OR `/` (a Cognito ResourceServer URI identifier L844: * `https://api.example.com/v2`, an ARN, a log-group name). None of those are property or L845: * resource separators; they are DATA inside one atomic id, so the segment-bounded ancestor
High
Cloud Metadata Access

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

dist/cli.jsView on unpkg · L71

Findings

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