registry  /  @lubab/madar  /  0.30.0

@lubab/madar@0.30.0

Stop AI coding agents from rediscovering large TypeScript/Node repos. Madar compiles task-aware local context packs from what runs for this task.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 11 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 181 file(s), 2.82 MB of source, external domains: arxiv.org, example.test, github.com, graphml.graphdrawing.org, registry.npmjs.org, unpkg.com, www.w3.org

Source & flagged code

4 flagged · loading source
dist/src/runtime/semantic.jsView file
163const entryPath = join(packageDir, moduleEntryFromManifest(manifest)); L164: return await import(pathToFileURL(entryPath).href); L165: }
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/src/runtime/semantic.jsView on unpkg · L163
dist/src/runtime/context-pack.jsView file
120const text = `${entry.label} ${entry.snippet ?? ''}`.toLowerCase(); L121: return text.includes('process.env') || text.includes('import.meta.env'); L122: }
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/src/runtime/context-pack.jsView on unpkg · L120
dist/src/shared/security.jsView file
1import { existsSync, lstatSync, realpathSync } from 'node:fs'; L2: import { isIP } from 'node:net'; L3: import { dirname, relative, resolve, sep } from 'node:path'; ... L56: } L57: export function validateGraphOutputPath(targetPath, base = 'out', workspaceRoot = process.cwd()) { L58: const usesDefaultOutputBase = base === 'out'; ... L82: } L83: function isPrivateAddress(hostname) { L84: const normalizedHost = hostname.toLowerCase(); ... L181: export async function readResponseBytes(response, url, maxBytes) { L182: const bytes = new Uint8Array(await response.arrayBuffer()); L183: if (bytes.byteLength > maxBytes) {
High
Cloud Metadata Access

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

dist/src/shared/security.jsView on unpkg · L1
examples/quick-benchmark.shView file
path = examples/quick-benchmark.sh kind = build_helper sizeBytes = 1467 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

examples/quick-benchmark.shView on unpkg

Findings

1 High5 Medium5 Low
HighCloud Metadata Accessdist/src/shared/security.js
MediumDynamic Requiredist/src/runtime/semantic.js
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperexamples/quick-benchmark.sh
MediumStructural Risk Force Deep Review
LowScripts Present
LowWeak Cryptodist/src/runtime/context-pack.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings