52function loadEnv(path8, override = false) {
L53: const fromEnv = (process.env.TINA4_ENV_FILE ?? "").trim();
L54: const target = path8 ?? (fromEnv.length > 0 ? fromEnv : ".env");
...
L238: records: sliced,
L239: data: sliced,
L240: count: this.count,
...
L848: }
L849: fetch(sql, params, limit, skip, noCache) {
L850: if (this.enabled && !noCache) {
...
L1104: if (!isAbsolute(path8)) {
L1105: path8 = join(process.cwd(), path8);
L1106: mkdirSync(dirname(path8), { recursive: true });
CriticalCredential Exfiltration
Source appears to send environment or credential material to an external endpoint.
packages/core/dist/index.jsView on unpkg · L52 52function loadEnv(path8, override = false) {
L53: const fromEnv = (process.env.TINA4_ENV_FILE ?? "").trim();
L54: const target = path8 ?? (fromEnv.length > 0 ? fromEnv : ".env");
...
L238: records: sliced,
L239: data: sliced,
L240: count: this.count,
...
L848: }
L849: fetch(sql, params, limit, skip, noCache) {
L850: if (this.enabled && !noCache) {
...
L1104: if (!isAbsolute(path8)) {
L1105: path8 = join(process.cwd(), path8);
L1106: mkdirSync(dirname(path8), { recursive: true });
CriticalCommand Output Exfiltration
Source executes local commands and sends command output to an external endpoint.
packages/core/dist/index.jsView on unpkg · L52 52Trigger-reachable chain: manifest.main -> packages/core/dist/index.js
L52: function loadEnv(path8, override = false) {
L53: const fromEnv = (process.env.TINA4_ENV_FILE ?? "").trim();
L54: const target = path8 ?? (fromEnv.length > 0 ? fromEnv : ".env");
...
L238: records: sliced,
L239: data: sliced,
L240: count: this.count,
...
L848: }
L849: fetch(sql, params, limit, skip, noCache) {
L850: if (this.enabled && !noCache) {
...
L1104: if (!isAbsolute(path8)) {
L1105: path8 = join(process.cwd(), path8);
L1106: mkdirSync(dirname(path8), { recursive: true });
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 · L52 18601import * as os from "node:os";
L18602: import { spawnSync } from "node:child_process";
L18603: import { createRequire as createRequire7 } from "node:module";
HighChild Process
Package source references child process execution.
packages/core/dist/index.jsView on unpkg · L18601 52Cross-file remote execution chain: packages/core/dist/index.js spawns [redacted].ts; helper contains network access plus dynamic code execution.
L52: function loadEnv(path8, override = false) {
L53: const fromEnv = (process.env.TINA4_ENV_FILE ?? "").trim();
L54: const target = path8 ?? (fromEnv.length > 0 ? fromEnv : ".env");
...
L238: records: sliced,
L239: data: sliced,
L240: count: this.count,
...
L848: }
L849: fetch(sql, params, limit, skip, noCache) {
L850: if (this.enabled && !noCache) {
...
L1104: if (!isAbsolute(path8)) {
L1105: path8 = join(process.cwd(), path8);
L1106: mkdirSync(dirname(path8), { recursive: true });
HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
packages/core/dist/index.jsView on unpkg · L52 1404try {
L1405: const req2 = createRequire(import.meta.url);
L1406: pg = req2("pg");
MediumDynamic Require
Package source references dynamic require/import behavior.
packages/core/dist/index.jsView on unpkg · L1404 52function loadEnv(path8, override = false) {
L53: const fromEnv = (process.env.TINA4_ENV_FILE ?? "").trim();
L54: const target = path8 ?? (fromEnv.length > 0 ? fromEnv : ".env");
...
L238: records: sliced,
L239: data: sliced,
L240: count: this.count,
...
L848: }
L849: fetch(sql, params, limit, skip, noCache) {
L850: if (this.enabled && !noCache) {
...
L1104: if (!isAbsolute(path8)) {
L1105: path8 = join(process.cwd(), path8);
L1106: mkdirSync(dirname(path8), { recursive: true });
LowWeak Crypto
Package source references weak cryptographic algorithms.
packages/core/dist/index.jsView on unpkg · L52