
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.
The range function of Python implemented using JavaScript.
range(start, end, step)
npm i jrange -S
<script src="/dist/jrange.umd.js"></script>
<script>
const list = jrange(10);
</script>
import jrange from 'jrange';
const list = jrange(10, 1, -1);
const range = require('jrange'); // rename to range
const list = range(1, 100, 2);
| / | default | required |
|---|---|---|
| start | 0 | no |
| end | / | yes |
| step | 1 | no |
range(10) -> range(0, 10, 1)
range(1, 10) -> range(1, 10, 1)
Range Class, while jrange returns an Array.python
rng = range(0, 10)
print(rng, type(rng))) # range(0, 10) <class 'range'>
# Convert to list
list = list(rng)
javascript
const list = jrange(0, 10)
console.log(Array.isArray(list)) // true
python
range(1, 10, 0)
# ValueError: range() arg 3 must not be zero
javascript
jrange(1, 10, 0) // return []
FAQs
Python's range function for javascript
The npm package jrange receives a total of 5 weekly downloads. As such, jrange popularity was classified as not popular.
We found that jrange demonstrated a not healthy version release cadence and project activity because the last version was released 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
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.