
Security News
Insecure Agents Podcast: How to Keep AI Agents From Bypassing Security Controls
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.
@strav/flag
Advanced tools
Feature flags for the Strav framework. Define, scope, and toggle features with database persistence, in-memory drivers, and per-user/team targeting.
bun add @strav/flag
bun strav install flag
Requires @strav/core as a peer dependency.
import { FlagProvider } from '@strav/flag'
app.use(new FlagProvider())
import { flag } from '@strav/flag'
// Check if a feature is active
if (await flag.active('dark-mode')) {
// feature is enabled
}
// Scoped to a user or team
if (await flag.for(user).active('beta-dashboard')) {
// enabled for this user
}
// Rich values
const limit = await flag.value('upload-limit', 10)
import { ensureFeature } from '@strav/flag'
router.get('/beta', ensureFeature('beta-dashboard'), betaHandler)
_strav_featuresbun strav flag:setup # Create the features table
See the full Flag guide.
MIT
FAQs
Strav feature-flag primitive — FlagManager + scope-aware resolution + in-memory store, with Postgres store, HTTP middleware, and CLI commands shipped under subpaths. Mirrors @strav/cache: kernel-free core in the root, every backend/integration under its o
The npm package @strav/flag receives a total of 1 weekly downloads. As such, @strav/flag popularity was classified as not popular.
We found that @strav/flag 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
Socket CTO Ahmad Nassri discusses how to keep AI agents from bypassing package blocks, limit credential access, and monitor their actions.

Security News
GPT-6 Astra tried to plant malicious code in simulated open source projects using fake GitHub accounts and deceptive PRs during an assigned CTF challenge.

Security News
upm uses Node.js to deliver fast npm installs in about 250 KB, with a JavaScript API and security defaults.