
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@trigguard/execution-sdk
Advanced tools
Execution gateway client: POST /execute, local receipt verification via /.well-known/trigguard/keys.json
@trigguard/execution-sdkNode.js client for the execution gateway (POST /execute, GET /.well-known/trigguard/keys.json) with local Ed25519 receipt verification.
Authorize (decide) only:
import { authorize, verifyReceiptOffline, createExecutionClient } from "@trigguard/execution-sdk";
await authorize({
gatewayUrl: process.env.TRIGGUARD_GATEWAY_URL!,
surface: "deploy.release",
actorId: "my-agent",
getBearerToken: async () => process.env.TRIGGUARD_BEARER,
});
Gate a side effect — withExecute calls /execute and runs your function only on PERMIT:
import { withExecute } from "@trigguard/execution-sdk";
await withExecute(
"deploy.release",
async () => {
await doDeploy();
},
{
gatewayUrl: process.env.TRIGGUARD_GATEWAY_URL!,
apiKey: process.env.TRIGGUARD_API_KEY, // optional tg_live_…
actorId: "ci",
context: { repository: "org/repo" },
}
);
On DENY / SILENCE, it throws ExecutionNotPermittedError (see error.trigguardResult). Also re-exported from @trigguard/runtime.
npm ci && npm run build
npm test
trigguard (sdk/trigguard-js) — hosted site verification API (/protocol/verify-receipt, etc.).@trigguard/execution-sdk — Cloud Run execution gateway (authorize → receipt).Protocol semantics remain in trigguard-protocol; this package is a thin HTTP + crypto wrapper.
FAQs
Execution gateway client: POST /execute, local receipt verification via /.well-known/trigguard/keys.json
The npm package @trigguard/execution-sdk receives a total of 168 weekly downloads. As such, @trigguard/execution-sdk popularity was classified as not popular.
We found that @trigguard/execution-sdk 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.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.