
Security News
New Study Identifies 53 Slopsquatting Targets Across 5 Frontier LLMs
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.
@mastra/laminar
Advanced tools
Affected versions:
Laminar observability provider for Mastra - tracing + scoring export
Laminar observability exporter for Mastra applications.
Exports Mastra spans to Laminar via OTLP/HTTP (protobuf) and supports sending scorer results to Laminar Evaluators.
npm install @mastra/laminar
The exporter automatically reads credentials from environment variables:
# Required
LMNR_PROJECT_API_KEY=lmnr_...
# Optional
LMNR_BASE_URL=https://api.lmnr.ai
LAMINAR_ENDPOINT=https://api.lmnr.ai/v1/traces
import { LaminarExporter } from '@mastra/laminar';
const mastra = new Mastra({
...,
observability: {
configs: {
laminar: {
serviceName: 'my-service',
exporters: [new LaminarExporter()],
},
},
},
});
import { LaminarExporter } from '@mastra/laminar';
const mastra = new Mastra({
...,
observability: {
configs: {
laminar: {
serviceName: 'my-service',
exporters: [
new LaminarExporter({
apiKey: 'lmnr_...',
baseUrl: 'https://api.lmnr.ai',
endpoint: 'https://api.lmnr.ai/v1/traces', // Optional
realtime: false, // Optional
}),
],
},
},
},
});
| Option | Type | Description |
|---|---|---|
apiKey | string | Laminar project API key. Defaults to LMNR_PROJECT_API_KEY env var |
baseUrl | string | Laminar base URL. Defaults to LMNR_BASE_URL env var or https://api.lmnr.ai |
endpoint | string | OTLP/HTTP traces endpoint. Defaults to LAMINAR_ENDPOINT env var or /v1/traces |
headers | Record<string,string> | Additional OTLP headers |
realtime | boolean | Flush after each span for immediate visibility. Defaults to false |
disableBatch | boolean | Disable batching (SimpleSpanProcessor). Defaults to false |
batchSize | number | Max spans per batch (BatchSpanProcessor). Defaults to 512 |
timeoutMillis | number | OTLP export timeout (ms). Defaults to 30000 |
lmnr.span.*, lmnr.association.properties.*) so traces render correctly in Laminar.FAQs
Laminar observability provider for Mastra - tracing + scoring export
The npm package @mastra/laminar receives a total of 2,163 weekly downloads. As such, @mastra/laminar popularity was classified as popular.
We found that @mastra/laminar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.

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

Security News
The White House’s Gold Eagle Initiative aims to coordinate AI-discovered vulnerabilities, validate findings, and accelerate patching across critical software.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.