
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
microapp-service-layer
Advanced tools
### Example ```typescript import MSL, { microappId } from 'microapp-service-layer'; import MicroappEventBus, { Events } from 'microapp-service-layer/lib/eventbus';
import MSL, { microappId } from 'microapp-service-layer';
import MicroappEventBus, { Events } from 'microapp-service-layer/lib/eventbus';
MSL.createApp({ elementOrSelector: `#${microappId}` });
MicroappEventBus.emit(Events.DID_UPDATE, { created: true });
interface MicroappServiceLayer {
microappInstance: MicroappInstance | null;
isMicroappInstanceRegistered: boolean;
registerMicroappInstance(): Promise<Result>;
unregisterMicroappInstance(): void;
createTemplate(options: CreateTemplateOptions): Promise<Template>;
createApp(options: CreateAppOptions): Promise<App | null>;
}
type MicroappInstance = {
createApp: (options: CreateAppOptions) => Promise<App | null>;
getInitialOptions?: () => Record<string, unknown>;
};
type CreateAppOptions = {
appId?: string;
elementOrSelector: Element | string;
eventbus?: unknown;
mount?: boolean;
state?: Record<string, any>;
beforeCreate?: (...args: unknown[]) => void;
};
type CreateTemplateOptions = {
path: string;
[key: string]: any;
};
type Template = {
html: string;
state: string;
styles: string;
template?: string;
};
type Result = {
ok: boolean;
};
export type App = {
app: unknown;
router: unknown;
store: unknown;
};
.envs
MSL_API_URL || VUE_APP_MSL_API_URL || http://localhost:5000
FAQs
### Example ```typescript import MSL, { microappId } from 'microapp-service-layer'; import MicroappEventBus, { Events } from 'microapp-service-layer/lib/eventbus';
The npm package microapp-service-layer receives a total of 26 weekly downloads. As such, microapp-service-layer popularity was classified as not popular.
We found that microapp-service-layer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.