
Security News
GitHub Actions Adds cache-mode to Limit Cache Poisoning Risk
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.
BlackLake — AI control infrastructure and analytics. Surface SDK, Depth SDK, CLI, durable workflow runtime, and the blx shell wrapper in one package.
AI control infrastructure and analytics. The unified BlackLake package — Surface SDK, Depth SDK, CLI, durable workflow runtime, and the blx shell wrapper, in one install.
For the canonical definition of what each piece does, see the product contract.
npm i blacklake
That single install gives you the SDK (import { govern, BlackLake, workflow, step } from 'blacklake'), the CLI (blacklake, alias bl), and the shell wrapper (blx).
import { govern } from 'blacklake';
const decision = await govern({
apiKey: process.env.BLACKLAKE_API_KEY,
agent: 'expense-bot',
tool: 'stripe.refund',
action: { amount: 4200 },
});
if (decision.decision === 'allow') {
// proceed with the call
}
For hot paths, instantiate the client once:
import { BlackLake } from 'blacklake';
const bl = new BlackLake({ apiKey: process.env.BLACKLAKE_API_KEY });
const decision = await bl.govern({ ... });
import { workflow, step } from 'blacklake';
export default workflow('research', async (ctx) => {
const data = await step(ctx, 'gather', async () => {
return await ctx.llm('anthropic:claude-sonnet-4-6', {
prompt: 'Find recent papers on AI governance',
});
});
await step(ctx, 'save', async () => {
await ctx.tool('filesystem.writeFile', {
path: './report.md',
content: data,
});
});
});
Run with:
npx blacklake run workflow.ts
Implemented commands:
npx blacklake serve # local API + dashboard + SQLite (Surface)
npx blacklake run workflow.ts # durable workflow runtime (Depth)
npx blacklake govern [flags] # one-off govern() call from the shell — quick policy probe
npx blacklake mcp # MCP stdio bridge for AI tool integration
npx blacklake shell <cmd...> # gate any shell command on a governed decision (alias of blx)
npx blacklake blx <cmd...> # same as above
npx blacklake demo <name> # scaffold a runnable demo workspace
npx blacklake doctor # preflight checks (config, key, connectivity)
blacklake govern mirrors bl.govern() from the SDK, taking --agent-name, --tool-name, --tool-action, --input '<json>', --engine, --workflow-id, --run-id, and --json to suppress prose output. Auth comes from BLACKLAKE_API_KEY (cloud) or none (local mode); BLACKLAKE_API_URL overrides the base URL. Use it to probe policies from a terminal without writing a script.
blacklake shell is the same code path as blx — kept as an alias so the verb reads naturally when someone scans --help.
Planned (not yet implemented — tracked as BL-FND-3): init, login, logout, policy. Calling them today prints a "not yet implemented" message and exits non-zero rather than silently doing nothing.
blx ships in the same package as a bin alias:
blx git push
blx terraform apply
blx gcloud run deploy
See the blx docs for custom classifiers and the cookbook.
Already on Temporal, Inngest, BullMQ, GitHub Actions, or plain HTTP? Wrap each consequential step with withGovernance() and let Surface handle policy, approvals, cost, and signed receipts:
import { BlackLake, withGovernance } from 'blacklake';
const bl = new BlackLake({ apiKey: process.env.BLACKLAKE_API_KEY });
const result = await withGovernance(
bl,
{
agent: 'support-bot',
tool: 'stripe.refund',
action: { amount_cents: 4200 },
externalSystem: 'temporal',
context: {
engine: { engine: 'temporal', workflow_id: 'wf', run_id: 'r', step_id: 'refund', attempt: 1 },
},
},
async () => stripe.refunds.create({ payment_intent: 'pi_3Nq8X', amount: 4200 }),
);
Runnable examples for Temporal, Inngest, and Express ship in examples/. See the examples README for the pattern.
@blacklake-systems/surface-cli, @blacklake-systems/surface-sdk, @blacklake-systems/depth-cli, @blacklake-systems/depth-sdk, and the standalone blx package all collapse into this one. See the migration doc for sed-style search-and-replace examples.
FAQs
BlackLake: AI control infrastructure and analytics. Surface SDK, Depth SDK, CLI, durable workflow runtime, and the blx shell wrapper in one package.
The npm package blacklake receives a total of 15 weekly downloads. As such, blacklake popularity was classified as not popular.
We found that blacklake 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.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.