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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
CriticalCredential Exfiltration
Source appears to send environment or credential material to an external endpoint.
packages/core/dist/index.jsView on unpkg · L14 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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
CriticalCommand Output Exfiltration
Source executes local commands and sends command output 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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
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 15832*/
L15833: execSync(args) {
L15834: return respCommandSync(
HighChild Process
Package source references child process execution.
packages/core/dist/index.jsView on unpkg · L15832 33400// src/server.ts
L33401: import { createServer as createServer2 } from "node:http";
L33402: import { resolve as resolve18, dirname as dirname11, join as join26, relative as relative9 } from "node:path";
...
L33405: import { fileURLToPath as fileURLToPath5 } from "node:url";
L33406: import { execFileSync as execFileSync2, exec } from "node:child_process";
L33407: import cluster from "node:cluster";
...
L33412: function shutdownTimeoutSeconds() {
L33413: const raw = process.env.TINA4_SHUTDOWN_TIMEOUT;
L33414: 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 · L33400 •Runtime or CLI code links a write operation to an explicit external AI-agent control path:
dfilesync25(rootpkg, "utf-8"));
return pkg.version ?? "0.0.0";
} catch {
return "0.0.0";
}
}
function skillsref() {
const ref = process.env.tina4_skills_ref;
if (ref) return ref;
const v = readversion();
return v && v !== "0.0.0" ? v : "main";
}
function downloadskillssync(jobs) {
if (jobs.length === 0) return /* @__pure__ */ new set();
const child = `
const jobs = json.parse(process.argv[1]);
const fs = require("node:fs");
const path = require("node:path");
(async () => {
const ok = [];
await promise.all(jobs.map(async (job) => {
try {
const resp = await fetch(job.url, { signal: abortsignal.timeout(15000) });
if (!resp.o
HighExternal Ai Agent Control Surface Mutation
Runtime or CLI source writes behavior-bearing configuration into a user or project AI-agent control surface.
packages/core/dist/index.jsView on unpkg 14Cross-file remote execution chain: packages/core/dist/index.js spawns [redacted].ts; helper contains network access plus dynamic code execution.
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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
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 · 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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
HighTrigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
packages/core/dist/index.jsView on unpkg · L14 3824try {
L3825: const req2 = createRequire(import.meta.url);
L3826: pg = req2("pg");
MediumDynamic Require
Package source references dynamic require/import behavior.
packages/core/dist/index.jsView on unpkg · L3824 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;
...
L251: } else if (message instanceof Uint8Array) {
L252: const decoded = new TextDecoder("utf-8", { fatal: false }).decode(message);
L253: text = decoded.includes("\uFFFD") ? `<binary ${message.byteLength} bytes>` : decoded;
...
L719: function _isCi() {
L720: return isTruthy(process.env.CI);
L721: }
LowWeak Crypto
Package source references weak cryptographic algorithms.
packages/core/dist/index.jsView on unpkg · L14