
Research
TeamPCP Compromises Telnyx Python SDK to Deliver Credential-Stealing Malware
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.
array.isarray
Advanced tools
An ES5 spec-compliant `Array.isArray` shim/polyfill/replacement that works as far down as ES3.
An ES spec-compliant Array.isArray shim/polyfill/replacement that works as far down as ES3.
This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.
Because Array.isArray depends on a receiver (the “this” value), the main export takes the array to operate on as the first argument.
var isArray = require('array.isarray');
var assert = require('assert');
assert.equal(isArray([1, 2, 3]), true);
assert.equal(isArray({ length: 0 }), false);
var isArray = require('array.isarray');
var assert = require('assert');
/* when Array.isArray is not present */
delete Array.isArray;
var shimmed = isArray.shim();
assert.equal(shimmed, isArray.getPolyfill());
assert.equal(shimmed, Array.isArray);
assert.equal(isArray([1, 2, 3]), Array.isArray([1, 2, 3]));
var isArray = require('array.isarray');
var assert = require('assert');
/* when Array.isArray is present */
var shimmed = isArray.shim();
assert.equal(shimmed, Array.isArray);
assert.deepEqual(Array.isArray([1, 2, 3]), isArray([1, 2, 3]));
Simply clone the repo, npm install, and run npm test
FAQs
An ES5 spec-compliant `Array.isArray` shim/polyfill/replacement that works as far down as ES3.
We found that array.isarray demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
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.

Security News
/Research
Widespread GitHub phishing campaign uses fake Visual Studio Code security alerts in Discussions to trick developers into visiting malicious website.