
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@lifeomic/abac
Advanced tools
This is a Javascript implementation of Attribute Based Access Control use in Lifeomic products.
This module is suitable for use in both UIs and backend node.js services.
yarn install @lifeomic/abac
endsWith: value being checked that ends with an exact string valueequals: value being checked is exactly equal to the value defined in the ABAC policyin: value being checked is contained within the array in ABAC policyincludes: array of values includes the value in the ABAC policynotEquals: value being checked does not equal the value defined in the ABAC policynotIn: value not in ABAC arraynotIncludes: array of values does not include the value in the ABAC policyprefixOf: value being checked is a prefix of the value defined in the ABAC policystartsWith: value being checked starts with an exact string valuesubset: array of values is a subset of the array in the ABAC policysuffixOf: value being checked is a suffix of the value defined in the ABAC policysuperset: array of values is a superset of the array in the ABAC policyTypeScript usage:
import * as abac from '@lifeomic/abac';
abac.validate(policy);
abac.merge(policies);
abac.reduce(policy, attributes);
abac.extract(policy, privileges, attribute);
abac.enforce(operationName, policy, attributes);
abac.enforceLenient(operationName, policy, attributes);
abac.enforceAny(operationName, policy, attributes);
abac.privileges(policy, attributes);
abac.privilegesLenient(policy, attributes);
abac.policyRequiresAttribute(policy, attribute);
See unit tests in /test folder - many good examples.
Increment the version in package.json, make a PR, merge the PR,
and then finally create a new release using the github UI. Creating
the release will publish the head of master to npm. Name the
release vX.Y.Z to match the version in package.json.
FAQs
LifeOmic Attribute Based Access Control Support Module
The npm package @lifeomic/abac receives a total of 1,162 weekly downloads. As such, @lifeomic/abac popularity was classified as popular.
We found that @lifeomic/abac demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.