When the CLI runs, it derives a persistent telemetry identifier from Codex or Claude account data and sends telemetry to PostHog by default. No install-time execution was found.
Running the p4c CLI or its server runtime with telemetry enabled.
Impact
A third party can correlate CLI activity and platform metadata with a stable account-derived identifier.
Mechanism
Default telemetry hashes local AI account identifiers and posts event batches.
Rationale
The package has a concrete default-on account-derived telemetry export, but the inspected source shows no install hook, raw credential theft, or stealth payload execution. This is an unresolved privacy risk rather than sufficient evidence of malware.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Sensitive Archive Exfiltration
Source archives sensitive local configuration and publishes encoded chunks through an authenticated package-registry request.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Credential Exfiltration
Source appears to send environment or credential material to an external endpoint.
13Trigger-reachable chain: manifest.bin -> dist/bin.mjs
L13: import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Trigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
•Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bin.mjs:
import * as NodeReadline from "node:readline";
}).pipe(Effect.flatMap((encoded) => fs.writeFileString(cachePath, encoded)), Effect.ignore);
var EnvironmentAuthorizationError = class extends Schema$1.TaggedErrorClass()("EnvironmentAuthorizationError", {
baseUrl: Schema$1.String
authorization: Schema$1.optionalKey(Schema$1.String),
httpBaseUrl: TrimmedNonEmptyString,
wsBaseUrl: TrimmedNonEmptyString,
httpBaseUrl: Schema$1.NullOr(Schema$1.String),
High
Credential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
High
Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
21import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L3682: name: TrimmedNonEmptyString,
L3683: baseUrl: Schema$1.String
L3684: });
High
Remote Agent Bridge
Source exposes local file and command tools to a remote model endpoint.
13Trigger-reachable credential exfiltration chain: manifest.bin -> dist/bin.mjs
L13: import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
High
Trigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Sensitive Archive Exfiltration
Source archives sensitive local configuration and publishes encoded chunks through an authenticated package-registry request.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Credential Exfiltration
Source appears to send environment or credential material to an external endpoint.
13Trigger-reachable chain: manifest.bin -> dist/bin.mjs
L13: import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
Critical
Trigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
•Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/bin.mjs:
import * as NodeReadline from "node:readline";
}).pipe(Effect.flatMap((encoded) => fs.writeFileString(cachePath, encoded)), Effect.ignore);
var EnvironmentAuthorizationError = class extends Schema$1.TaggedErrorClass()("EnvironmentAuthorizationError", {
baseUrl: Schema$1.String
authorization: Schema$1.optionalKey(Schema$1.String),
httpBaseUrl: TrimmedNonEmptyString,
wsBaseUrl: TrimmedNonEmptyString,
httpBaseUrl: Schema$1.NullOr(Schema$1.String),
High
Credential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
13import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
High
Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
21import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L3682: name: TrimmedNonEmptyString,
L3683: baseUrl: Schema$1.String
L3684: });
High
Remote Agent Bridge
Source exposes local file and command tools to a remote model endpoint.
13Trigger-reachable credential exfiltration chain: manifest.bin -> dist/bin.mjs
L13: import * as NodeOS from "node:os";
L14: import * as NodeNet from "node:net";
L15: import * as Data from "effect/Data";
...
L21: import * as NodePath from "node:path";
L22: import * as NodeChildProcess from "node:child_process";
L23: import * as NodeFS from "node:fs";
...
L240: //#endregion
L241: //#region package.json
L242: var version = "0.4.4";
...
L375: /**
L376: * Escapes a single argument for `cmd.exe` shell mode (`spawn(..., { shell: true })`
L377: * on Windows). Node joins the command and arguments with spaces and hands the
High
Trigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.