
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
evopolicychecker
Advanced tools
EvoPolicy is a high-performance, deterministic authorization engine tailored for enterprise Node.js and TypeScript ecosystems. It facilitates advanced attribute-based access control (ABAC) and role-based access control (RBAC) by evaluating policies locally within the application process. This architecture eliminates network latency and central service dependency while maintaining a robust security posture.
In large-scale distributed systems, authorization logic often becomes fragmented or creates performance bottlenecks due to network-based policy lookups. EvoPolicy addresses these fundamental challenges through:
The following diagram illustrates the integration of various policy sources and the internal decision logic flow.
npm install evopolicychecker
The engine supports multiple loading strategies, allow for both static and dynamic policy management.
import { PolicyEngine, JsonPolicyLoader, CustomPolicyLoader } from 'evopolicychecker';
const engine = new PolicyEngine();
// Static file ingestion
engine.loadPolicies('./config/access_rules.json');
// Dynamic Database Integration
const fetcher = async () => {
// Implement database-specific retrieval logic
return await database.authorizations.findMany();
};
await engine.loadFromLoader(new CustomPolicyLoader(fetcher));
For detailed implementation and copy-paste examples for MySQL, MongoDB, PostgreSQL, and GraphQL, please refer to the Database Integration Specification.
EvoPolicy provides standardized middleware for Express.js to facilitate request-level authorization.
import { policyMiddleware } from 'evopolicychecker';
// Global middleware with automatic context mapping
app.use(policyMiddleware(engine));
// Granular route protection with explicit context mapping
app.post('/v1/assets/restricted', policyMiddleware(engine, (req) => ({
subject: req.authenticatedUser,
action: 'administer',
resource: {
type: 'restricted_asset',
id: req.params.id,
classification: req.body.level
}
})));
| Operator | Categorization | Evaluation Logic |
|---|---|---|
> , < , >= , <= | Range | Arithmetic and Chronological Comparison (ISO-8601 compatible) |
~= | Pattern | Regular Expression matching (ECMAScript compatible) |
IN [...] | Set | Inclusion check within discrete arrays |
!= | Logic | Strict inequality validation |
For deeper insights into the internal evaluation logic and security hardening, consult the Architectural Specification.
Licensed under the ISC License. Copyright © 2026 Daksha Dubey.
FAQs
A secure, offline, deterministic policy evaluation engine.
We found that evopolicychecker 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.