
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@plasius/api
Advanced tools
Public generic API helper package.
dist/**withSession middlewaredocs/**, legal/**)@plasius/api is intentionally a generic helper package.src/**, local settings, and generated OpenAPI artifacts).npm run pack:check also fails if public code roots (src/**, tests/**, demo/**) contain forbidden private/product identifiers.applyBaselineSecurityHeaders(headers)isHttpsRequest(request)isInsecureLocalRequest(request)shouldEnforceHttps()ensureSession(request, options?)getSessionIdFromRequest(request, cookieName?)createSessionCookie(sessionId, options?)withSession middleware is implemented using these helpers and keeps secure defaults (HttpOnly, Secure, SameSite=None, Path=/).npm install @plasius/api
@plasius/api@plasius/api/middlewareimport {
applyBaselineSecurityHeaders,
isHttpsRequest,
shouldEnforceHttps,
} from "@plasius/api";
import { withCors, withRateLimiting, withMiddleware } from "@plasius/api/middleware";
npm ci
npm run build
npm test
npm run pack:check
npm run build compiles the public package entrypoint to dist/.
CHANGELOG.md under Unreleased.npm ci && npm run clean && npm run build && npm test && npm run pack:check.package.json version.vX.Y.Z).npm publish.SECURITY.mdCODE_OF_CONDUCT.mddocs/adrslegalApache-2.0
FAQs
Generic public API security and middleware helpers.
The npm package @plasius/api receives a total of 433 weekly downloads. As such, @plasius/api popularity was classified as not popular.
We found that @plasius/api 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.
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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.