Loading npm security reports…
Loading npm security reports…
agenttwin@0.3.15: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
19 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 25, 2026, 18:25 UTC · by lpm-firewall-ai The manifest has no install-time lifecycle hook, and the flagged credential locations resolve to run orchestration rather than credential transport. The login and sync flows use the configured AgentTwin API, with the token saved locally; no concrete attack behavior was identified.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A user runs the CLI login, sync, or workflow commands.
Impact
No unconsented credential transfer or other concrete harmful effect was established.
Mechanism
Login uses a device pairing flow and saves the returned token locally; sync sends project discovery and run evidence to the selected AgentTwin API.
Evidence
package.json dist/cli.js dist/gateway.js dist/api.js
Network endpoints2
api.agenttwin.si api.openai.com
public snapshot
Evidence for AI clean decision
package.json exposes a CLI and has no install-time hook; its prepublishOnly script builds and tests before publication. The login flow pairs the terminal through the AgentTwin API, validates the response, and saves the account token locally; sync uses the configured or saved AgentTwin API base. The flagged gateway and API locations concern application readiness, run execution, and scheduling; they do not show credential forwarding. The inspected dependency and dashboard paths provide no evidence of an attack. Behavioral surface
Source Child process · Crypto · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Minified · Possible obfuscation · Telemetry · URL strings
Manifest No manifest risk signals triggered.
Scanned 71 files · 3.70 MB of source
40 external domains referenced
127.0.0.1 abridge.com accounts.google.com agenttwin.si analytics.agenttwin.si api.agenttwin.si api.github.com api.openai.com api.resend.com api.stripe.com app.posthog.com betterstack.com cal.com cognition.ai developer.atlassian.com docs.datadoghq.com docs.github.com docs.gitlab.com docs.orama.com example.com github.com icons.duckduckgo.com nextjs.org opentelemetry.io posthog.com ramp.com react.dev registry.npmjs.org schema.org sentry.io stripe.com us.i.posthog.com us.posthog.com www.clay.com www.intercom.com www.paloaltonetworks.com www.usepylon.com www.w3.org yandex.com your-agenttwin-api.example Findings2 critical · 7 high · 3 medium · 7 low Source & flagged code9 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/gateway.js View on unpkg · L12 Code excerpt · 3 lines 12 // src/runtime/git.ts
13 import { execFile } from "child_process" ;
14 import { promisify } from "util" ;
Code excerpt · 3 lines 6255 child = spawn6 (opts.run, {
6256 shell: true ,
6257 env: {
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli.js View on unpkg · L1885 Code excerpt · 6 lines 1885 async function runLogin (log) {
1886 const base = apiBase (process.env.AGENTTWIN_API_URL || "https://api.agenttwin.si" );
1887 const request = async (path2, input = {}) => fetch (base + path2, { method: "POST" , headers: { "content-type" : "application/json" }, body: JSON.stringify (input), redirect: "error" , ...
⋯
1895 log ("Compare the browser code with this terminal, then choose Connect terminal. No passwords or API keys to paste." );
1896 if (process.platform === "darwin" ) execFile ( , [browserUrl], () => {
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/cli.js View on unpkg Scanner record · 8 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/cli.jsauthentication: "Bearer run-scoped test token; GitHub-style Authorization header",
authentication: "Bearer run-scoped test token; also accepts the Discord-idiomatic Authorization: Bot header",
headers: { Authorization: `Bearer ${key}` },
Authorization: `Bearer ${key}`,
import { mkdir as mkdir2, readFile as readFile5, writeFile as writeFile2 } from "fs/promises";
await writeFile2(storePath(cwd, ".gitignore"), STORE_GITIGNORE, "utf8");
await writeFile2(path2, `${JSON.stringify(value, null, 2)}
note: "Declares desired discovery sources only. This file grants NO authorization.",
High Sandbox evasion gated capabilityCleared
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/cli.js View on unpkg · L12 Code excerpt · 11 lines 12 // src/runtime/git.ts
13 import { execFile as execFile2 } from "child_process" ;
14 import { promisify } from "util" ;
⋯
16 const exec2 = promisify (execFile2);
17 const git = async (...args) => (await exec2 ("git" , args, { cwd, timeout: 5e3, maxBuffer: 1024 * 1024 })).stdout.trim ();
18 try {
⋯
280 operations: [
281
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli.js View on unpkg · L12 Code excerpt · 9 lines Cross-file remote execution chain: dist/cli.js spawns dist/gateway.js; helper contains network access plus dynamic code execution.
12 // src/runtime/git.ts
13 import { execFile as execFile2 } from "child_process" ;
14 import { promisify } from "util" ;
⋯
16 const exec2 = promisify (execFile2);
17 const git = async (...args) => (await exec2 ("git" , args, { cwd, timeout: 5e3, maxBuffer: 1024 * 1024 })).stdout.trim ();
18 try {
Critical Hardcoded runtime data exfiltrationCleared
Source sends credentials or rich application records to a package-controlled external receiver enabled by default.
dist/api.js View on unpkg · L12 Code excerpt · 11 lines Source sends the broad process environment to a literal external destination.
12 // src/runtime/git.ts
13 import { execFile } from "child_process" ;
14 import { promisify } from "util" ;
⋯
16 const exec = promisify (execFile);
17 const git = async (...args) => (await exec ("git" , args, { cwd, timeout: 5e3, maxBuffer: 1024 * 1024 })).stdout.trim ();
dist/dashboard/assets/next/static/chunks/9013.0f2be1cc70029afa.js#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/dashboard/assets/next/static/chunks/9013.0f2be1cc70029afa.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 2
dist/dashboard/assets/next/static/chunks/1255-d4ec8dbb0865c655.js View file Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/dashboard/assets/next/static/chunks/1255-d4ec8dbb0865c655.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = agenttwin@0.3.13
matchedIdentity = npm:YWdlbnR0d2lu:0.3.13
similarity = 0.375
summary = stored previous version shares package body but lacks this dangerous source file
Sandbox evasion gated capability
Code↓ Cleared
Package metadata 10 findings
Medium Network Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Low Non install lifecycle scripts Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
"open"
{ method: "GET" , endpoint: "<collection path>" , effect: "read" , response: "{data: records}" , errors: ["401 invalid_test_credential" , "429 world_capacity" ] },
282 { method: "POST" , endpoint: "<collection path>" , effect: "append" , response: "201 record; 200 idempotency replay" , errors: ["400 expected_json_object" , "409 idempotency_conflict" , ...
357 authentication: "Bearer run-scoped test token; HubSpot-style Bearer private token
⋯
281 { method: "GET" , endpoint: "<collection path>" , effect: "read" , response: "{data: records}" , errors: ["401 invalid_test_credential" , "429 world_capacity" ] },
282 { method: "POST" , endpoint: "<collection path>" , effect: "append" , response: "201 record; 200 idempotency replay" , errors: ["400 expected_json_object" , "409 idempotency
117 { method: "GET" , endpoint: "<collection path>" , effect: "read" , response: "{data: records}" , errors: ["401 invalid_test_credential" , "429 world_capacity" ] },
118 { method: "POST" , endpoint: "<collection path>" , effect: "append" , response: "201 record; 200 idempotency replay" , errors: ["400 expected_json_object" , "409 idempotency_conflict" , ...