registry  /  @manasija/max  /  1.1.5

@manasija/max@1.1.5

Max - AI agent for deep financial research.

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 17 finding(s) at 93.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.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
Manifest
NoLicenseWildcardDependency
scanned 2 file(s), 1.09 MB of source, external domains: api.deepseek.com, api.github.com, api.langsearch.com, api.moonshot.cn, api.x.ai, api.x.com, company.com, developers.manasija.in, github.com, investors.company.com, mcp.drishti.manasija.in, ollama.com, openrouter.ai, platform.manasija.in, raw.githubusercontent.com, registry.npmjs.org, skills.sh, x.com

Source & flagged code

6 flagged · loading source
package.jsonView file
scripts.postinstall = playwright install chromium
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = playwright install chromium
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
dist/index.jsView file
12210import { existsSync as existsSync18 } from "node:fs"; L12211: import { spawn as spawn2 } from "node:child_process"; L12212: import { fileURLToPath as fileURLToPath2 } from "node:url";
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L12210
matchType = previous_version_dangerous_delta matchedPackage = @manasija/max@1.1.2 matchedIdentity = npm:QG1hbmFzaWphL21heA:1.1.2 similarity = 0.500 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

dist/index.jsView on unpkg
dist/gateway.jsView file
109} L110: const raw = readFileSync(path, "utf8"); L111: const parsed = GatewayConfigSchema.parse(JSON.parse(raw)); ... L7969: const embeddings = new OllamaEmbeddings({ L7970: baseUrl: process.env.OLLAMA_BASE_URL, L7971: model ... L9239: L9240: You are a general-purpose research worker. Use the available tools to gather and analyze whatever the task requires, then report your findings.`, L9241: tools: READ_ONLY_TOOLS,
High
Remote Agent Bridge

Source exposes local file and command tools to a remote model endpoint.

dist/gateway.jsView on unpkg · L109
72function resolveMaxDir() { L73: const override = process.env.MAX_HOME; L74: if (override && override.trim()) { L75: const value = override.trim(); L76: return isAbsolute(value) ? value : join(process.cwd(), value); L77: } ... L110: const raw = readFileSync(path, "utf8"); L111: const parsed = GatewayConfigSchema.parse(JSON.parse(raw)); L112: return { ... L1583: } L1584: return { data: parsed.data, url: parsed.url }; L1585: } catch (error) {
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/gateway.jsView on unpkg · L72

Findings

5 High5 Medium7 Low
HighInstall Time Lifecycle Scriptspackage.json
HighChild Processdist/index.js
HighShell
HighRemote Agent Bridgedist/gateway.js
HighPrevious Version Dangerous Deltadist/index.js
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
MediumWildcard Dependency
LowNon Install Lifecycle Scripts
LowScripts Present
LowWeak Cryptodist/gateway.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings
LowNo License