
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@dtechvision/fabrik-runtime
Advanced tools
TypeScript helpers for Fabrik/Smithers workflows.
Use this package for server-side workflow code.
Do not use it for:
Published entrypoints:
@dtechvision/fabrik-runtime@dtechvision/fabrik-runtime/credential-pool@dtechvision/fabrik-runtime/codex-auth@dtechvision/fabrik-runtime/jj-shell@dtechvision/fabrik-runtime/k8s-jobsModule-specific requirements:
| Module | Requirement |
|---|---|
credential-pool | mounted credential files for file-pool features |
codex-auth | Codex auth files in the credential pool layout |
jj-shell | jj and git in PATH |
k8s-jobs | Kubernetes runtime access |
bun add @dtechvision/fabrik-runtime smithers-orchestrator zod
or
npm install @dtechvision/fabrik-runtime smithers-orchestrator zod
/** @jsxImportSource smithers-orchestrator */
import { createSmithers, Task, Workflow } from "smithers-orchestrator";
import { z } from "zod";
import { withCodexAuthPoolEnv } from "@dtechvision/fabrik-runtime/codex-auth";
const { smithers, outputs } = createSmithers(
{ report: z.object({ codexHomeSet: z.boolean() }) },
{ dbPath: process.env.SMITHERS_DB_PATH ?? ".smithers/runtime-check.db" },
);
export default smithers(() => (
<Workflow name="runtime-package-check">
<Task id="verify" output={outputs.report}>
{async () => {
const env = withCodexAuthPoolEnv({});
return { codexHomeSet: typeof env.CODEX_HOME === "string" && env.CODEX_HOME.length > 0 };
}}
</Task>
</Workflow>
));
Run:
bunx smithers run path/to/workflow.tsx --run-id runtime-package-check
Read a credential into process.env:
import { injectCredentialEnv } from "@dtechvision/fabrik-runtime/credential-pool";
injectCredentialEnv("ANTHROPIC_API_KEY");
Rotate across credential files:
import { CredentialFilePool } from "@dtechvision/fabrik-runtime/credential-pool";
const pool = new CredentialFilePool({
prefix: "codex-auth",
extension: ".json",
activeDir: "/tmp/codex-active",
activeFilename: "auth.json",
agent: "codex",
});
pool.init();
const rotated = await pool.handleError(err);
Create a Codex agent with auth rotation:
import {
CodexAuthBlockedError,
createCodexAgentWithPool,
} from "@dtechvision/fabrik-runtime/codex-auth";
const codex = createCodexAgentWithPool({
model: "gpt-5",
cwd: process.cwd(),
env: {},
});
try {
await codex.generate({ prompt: "Hello" });
} catch (err) {
if (err instanceof CodexAuthBlockedError) {
// resumable auth exhaustion; restore credentials and resume the run
console.log(err.details); // { total, failed, remaining, activeAuthName, failedAuths }
}
throw err;
}
Read the auth home directory at runtime (lazy, respects CODEX_AUTH_HOME env var):
import { getCodexAuthHome } from "@dtechvision/fabrik-runtime/codex-auth";
const home = getCodexAuthHome(); // e.g. /tmp/codex-auth-pool
RotatingCodexAgent instance owns its own pool state. Multiple agents in the same process do not interfere with each other.v* tag line as Fabrik releases.FAQs
TypeScript helpers for Fabrik/Smithers workflows.
We found that @dtechvision/fabrik-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.