
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@ax2/xms-page-builder
Advanced tools
yarn add @ax2/xms-page-builder
src/graphql/resolvers.tsExample:
import { GraphQLUpload } from 'apollo-upload-server';
import * as path from 'path';
import { mergeResolvers } from '@graphql-tools/merge';
import { loadFilesSync } from '@graphql-tools/load-files';
import { resolvers as PageBuilderResolvers, mutations as PageBuilderMutations } from '@ax2/xms-page-builder';
const resolversArray = loadFilesSync(path.join(__dirname, './entities/**/resolver.ts'));
resolversArray.push(PageBuilderResolvers);
const Queries = mergeResolvers(resolversArray);
const mutationsArray = loadFilesSync(path.join(__dirname, './entities/**/mutation.ts'));
mutationsArray.push(PageBuilderMutations);
const Mutations = mergeResolvers(mutationsArray);
export const resolvers = {
...Queries,
...Mutations,
Upload: GraphQLUpload,
};
src/graphql/type.tsExample:
import * as path from 'path';
import { mergeTypeDefs } from '@graphql-tools/merge';
import { loadFilesSync } from '@graphql-tools/load-files';
import { types as PageBuilderTypes } from '@ax2/xms-page-builder';
const typesArray = loadFilesSync(path.join(__dirname, './entities/**/type.graphql'));
typesArray.push(MediaTypes);
typesArray.push(PageBuilderTypes);
export const typeDefs = mergeTypeDefs(typesArray);
src/graphql/type.tsExample:
import * as dotenv from 'dotenv';
import { MigrateHelper } from '@ax2/xms-api-core';
dotenv.config();
// MySQL connection pool (set up on app initialisation)
const config = {};
const packages = [
'@ax2/xms-page-builder'
];
MigrateHelper(config, `${__dirname}/../migrations/`, packages);
How to use migration (run from root folder of your api)
See quip link
yarn migrate up 1 --all
yarn migrate up 1 --package @ax2/xms-page-builder
yarn migrate down 1 --package @ax2/xms-page-builder
yarn migrate add migration create_table_mytable --package @ax2/xms-page-builder
// Models function
export { Block, ContentBlock, Column, Row, Section, Page } from '@ax2/xms-page-builder';
// Graphql schema/resolver
export { resolvers, mutations, types } from '@ax2/xms-page-builder';
// Services
export { SectionService } from '@ax2/xms-page-builder';
// Helpers function
import { executeMigration } from '@ax2/xms-page-builder';
For example config see documentation
FAQs
## Setup
The npm package @ax2/xms-page-builder receives a total of 2 weekly downloads. As such, @ax2/xms-page-builder popularity was classified as not popular.
We found that @ax2/xms-page-builder demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.