
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@frontmcp/di
Advanced tools
Generic dependency injection container and registry utilities for TypeScript applications
Dependency injection container and registry utilities for FrontMCP.
Internal package. Used by
@frontmcp/sdk— most users do not need to install this directly.
npm install @frontmcp/di reflect-metadata zod
IndexedRegistrycreateTokenFactory({ prefix }) for Symbol-based tokensimport 'reflect-metadata';
import { DiContainer, createTokenFactory, ProviderScope } from '@frontmcp/di';
const tokens = createTokenFactory({ prefix: 'MyApp' });
class DatabaseService {
static metadata = { name: 'Database', scope: ProviderScope.GLOBAL };
}
const container = new DiContainer([DatabaseService]);
await container.ready;
const db = container.get(DatabaseService);
| Topic | Link |
|---|---|
| Providers & DI | Providers |
@frontmcp/sdk — consumes DI for server-level injectionApache-2.0 — see LICENSE.
FAQs
Generic dependency injection container and registry utilities for TypeScript applications
The npm package @frontmcp/di receives a total of 668 weekly downloads. As such, @frontmcp/di popularity was classified as not popular.
We found that @frontmcp/di 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
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.