Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/saiashish9/instagram-api-clone-by-sai
go run main.go
curl http://localhost:9000
ngrok http 9000
\l \d \du \c \q
sudo -u postgres psql
sudo -u postgres createdb instagram
\c instagram
create table status(
ID serial primary key,
NAME text not null,
URL text not null
);
\d status
grant all privileges on database instagram to saiashish;
host : localhost
port : 5432
username : saiashish
password: saiashish
database: instagram
insert into status(name,url) values('Sarthak','https://cdn.pixabay.com/photo/2016/08/24/23/08/cristiano-ronaldo-1618341__340.jpg');
TABLE status;
SELECT current_database();
\d
\d status
TABLE status;
select * from status order by id desc limit 3;
\q
create table posts(
ID serial primary key,
NAME text not null,
URL text not null,
PROFILE_URL text not null,
TITLE text not null,
DESCRIPTION text not null,
COMMENTS_COUNT text not null,
TIME text not null
);
sudo -u postgres psql
\c instagram
\d status
alter table status add msg text ;
instagram=# create table media(
ID serial primary key,
url text,
is_video int,
is_gallery int DEFAULT 0);
alter table media alter column is_video set default 0 ;
create table suggestions(
instagram(# id serial primary key,
instagram(# image text,
instagram(# title text,
instagram(# desc1 text,
instagram(# desc2 text);
instagram=# alter table status add statusImg text;
ALTER TABLE
instagram=# alter table status add statusVideo text;
ALTER TABLE
instagram=# alter table status add statusMsg text;
ALTER TABLE
instagram=# alter table status add time text;
ALTER TABLE
instagram=# alter table status add colors text;
ALTER TABLE
FAQs
Unknown package
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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.