
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@builder.io/admin-sdk
Advanced tools
Nodejs SDK to interact with Builder.io Graphql Admin API (beta).
npm install @builder.io/admin-sdk
bpk-xxximport { createAdminApiClient } from '@builder.io/admin-sdk';
const adminSDK = createAdminApiClient(process.env.BUILDER_PRIVATE_KEY);
// example getting space settings:
const res = await adminSDK.query({
settings: true,
});
// example getting all models fields on a space:
const res = await adminSDK.query({
models: {
id: true,
fields: true,
},
});
// example creating a model from admin api
await adminSDK.chain.mutation
.addModel({
body: {
defaultQuery: [],
kind: 'component',
showTargeting: true,
allowHeatmap: true,
id: 'xxxxxx',
showMetrics: true,
publicReadable: true,
name: 'announcement-bar',
useQueryParamTargetingClientSide: false,
fields: [
{
type: 'uiBlocks',
'@type': '@builder.io/core:Field',
required: true,
hideFromFieldsEditor: true,
name: 'blocks',
showTemplatePicker: true,
},
],
helperText: 'This model is for announcement bars',
allowBuiltInComponents: true,
bigData: false,
strictPrivateWrite: false,
requiredTargets: [],
schema: {},
examplePageUrl: 'https://my.site.com/preview',
webhooks: [],
apiGenerated: true,
showScheduling: true,
showAbTests: true,
pathPrefix: '/',
componentsOnlyMode: false,
},
})
.execute({});
FAQs
Builder.io Admin API SDK
The npm package @builder.io/admin-sdk receives a total of 982 weekly downloads. As such, @builder.io/admin-sdk popularity was classified as not popular.
We found that @builder.io/admin-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 21 open source maintainers 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.