14function warnEnv(message) {
L15: process.stderr.write(`[tina4] ${message}
L16: `);
...
L19: return value.replace(REFERENCE, (whole, name) => {
L20: const resolved = process.env[name] ?? parsed[name];
L21: if (resolved !== void 0) return resolved;
...
L245: try {
L246: return new TextDecoder("utf-8", { fatal: true }).decode(buf);
L247: } catch {
...
L511: }
L512: const projectRoot3 = process.cwd();
L513: let dirCandidate = dirRaw;
CriticalCredential Exfiltration
Source appears to send environment or credential material to an external endpoint.
packages/core/dist/index.jsView on unpkg · L14 14Trigger-reachable chain: manifest.main -> packages/core/dist/index.js
L14: function warnEnv(message) {
L15: process.stderr.write(`[tina4] ${message}
L16: `);
...
L19: return value.replace(REFERENCE, (whole, name) => {
L20: const resolved = process.env[name] ?? parsed[name];
L21: if (resolved !== void 0) return resolved;
...
L245: try {
L246: return new TextDecoder("utf-8", { fatal: true }).decode(buf);
L247: } catch {
...
L511: }
L512: const projectRoot3 = process.cwd();
L513: let dirCandidate = dirRaw;
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
packages/core/dist/index.jsView on unpkg · L14 20819// src/portTakeover.ts
L20820: import { execFileSync } from "node:child_process";
L20821: import { existsSync as existsSync9, readFileSync as readFileSync7, writeFileSync as writeFileSync5, mkdirSync as mkdirSync8, unlinkSync as unlinkSync4 } from "node:fs";
HighChild Process
Package source references child process execution.
packages/core/dist/index.jsView on unpkg · L20819 36204// src/server.ts
L36205: import { createServer as createServer2 } from "node:http";
L36206: import { randomBytes as randomBytes8 } from "node:crypto";
...
L36210: import { fileURLToPath as fileURLToPath6 } from "node:url";
L36211: import { execFileSync as execFileSync3, exec } from "node:child_process";
L36212: import cluster from "node:cluster";
...
L36217: function shutdownTimeoutSeconds() {
L36218: const raw = process.env.TINA4_SHUTDOWN_TIMEOUT;
L36219: if (raw === void 0 || raw.trim() === "") return DEFAULT_SHUTDOWN_TIMEOUT_SECONDS;
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
packages/core/dist/index.jsView on unpkg · L36204 •Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
packages/core/dist/index.js:
const authHeader = req2.headers.authorization ?? "";
const authHeader = headers.authorization ?? headers.Authorization ?? "";
const headersRaw = config?.headers ?? process.env.TINA4_CORS_HEADERS ?? "Content-Type,Authorization,X-Request-ID";
const authHeader = req2.headers.authorization ?? "";
// ../orm/src/databaseUrl.ts
`DatabaseUrl: ${subject}${at} - expected scheme://[user[:password]@]host[:port]/database. The URL itself is not shown because it may contain a password.`
var ENGINE_ALIASES, DEFAULT_PORTS, REDACTED, SECRET_KEYWORD_PATTERN, DatabaseUrl;
var init_databaseUrl = __esm({
HighCredential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
packages/core/dist/index.jsView on unpkg 14function warnEnv(message) {
L15: process.stderr.write(`[tina4] ${message}
L16: `);
...
L19: return value.replace(REFERENCE, (whole, name) => {
L20: const resolved = process.env[name] ?? parsed[name];
L21: if (resolved !== void 0) return resolved;
...
L245: try {
L246: return new TextDecoder("utf-8", { fatal: true }).decode(buf);
L247: } catch {
...
L511: }
L512: const projectRoot3 = process.cwd();
L513: let dirCandidate = dirRaw;
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
packages/core/dist/index.jsView on unpkg · L14 14Trigger-reachable credential exfiltration chain: manifest.main -> packages/core/dist/index.js
L14: function warnEnv(message) {
L15: process.stderr.write(`[tina4] ${message}
L16: `);
...
L19: return value.replace(REFERENCE, (whole, name) => {
L20: const resolved = process.env[name] ?? parsed[name];
L21: if (resolved !== void 0) return resolved;
...
L245: try {
L246: return new TextDecoder("utf-8", { fatal: true }).decode(buf);
L247: } catch {
...
L511: }
L512: const projectRoot3 = process.cwd();
L513: let dirCandidate = dirRaw;
HighTrigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
packages/core/dist/index.jsView on unpkg · L14 3310} else if (tag === "from") {
L3311: this.handleFromImport(content, context);
L3312: i++;
MediumDynamic Require
Package source references dynamic require/import behavior.
packages/core/dist/index.jsView on unpkg · L3310 14function warnEnv(message) {
L15: process.stderr.write(`[tina4] ${message}
L16: `);
...
L19: return value.replace(REFERENCE, (whole, name) => {
L20: const resolved = process.env[name] ?? parsed[name];
L21: if (resolved !== void 0) return resolved;
...
L245: try {
L246: return new TextDecoder("utf-8", { fatal: true }).decode(buf);
L247: } catch {
...
L511: }
L512: const projectRoot3 = process.cwd();
L513: let dirCandidate = dirRaw;
LowWeak Crypto
Package source references weak cryptographic algorithms.
packages/core/dist/index.jsView on unpkg · L14