
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
instagram-posts
Advanced tools
Get Instagram posts from a user
$ npm install instagram-posts
const instagramPosts = require('instagram-posts');
(async () => {
console.log(await instagramPosts('cats_of_instagram'));
/*
[
{
id: 'BRWBBbXjT40',
username: 'cats_of_instagram',
time: 1488904930,
type: 'image',
likes: 809,
comments: 10,
text: 'This is my post',
media: 'https://instagram.fbma1-1.fna.fbcdn.net/t51.2885-15/s640x640/sh0.08/e35/1231231_123123_1231231.jpg',
…
},
…
]
*/
})();
Returns a Promise<Object[]> with the users posts.
Type: string
Username to fetch posts from.
Type: Object
Type: number
Default: 20
Number of posts to fetch.
Type: Function
Custom function to filter out posts, e.g:
instagramPosts('cats_of_instagram', {
filter: data => data.likes > 500
});
FAQs
Get Instagram posts from a user
The npm package instagram-posts receives a total of 23 weekly downloads. As such, instagram-posts popularity was classified as not popular.
We found that instagram-posts 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 brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.