
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
pure typescript implementation of printf-family with type checking
import { printf } from 'printf-ts';
// Hello printf 1 1.20
printf("Hello %s %d %.2lf", "printf", 1, 1.2)
\n
to the end(not affect to return value)see cppreference-printf for each description of specifier
+
, -
,
, #
, 0
width
, precision
*
)h
, hh
, l
, ll
, L
, j
, z
, t
%c
, %s
, %d
, %i
, %u
, %o
, %x
, %X
, %f
, %F
, %e
, %E
, %g
, %G
, %p
, %%
specifier | argument type | description |
---|---|---|
%c | string | str[0] ?? '' |
%c | number | utf8 code point |
%s | string | |
%n | null | please use sprintf(...).length |
%d, %i, %u, %o, %x, %X
short|int
-> number
long|long long|intmax_t|ssize_t|ptrdiff_t
-> bigint
%f, %F, %e, %E, %g, %G
double|long double
-> number
infinity
, -infinity
, NaN
]
F
,E
,G
,A
) => "INF"
, "-INF"
, "NAN"
"inf"
, "-inf"
, "nan"
%p
void*
-> bigint
0n
=> "(nil)"
"0x" + value.toString(16)
*
int
-> number
FAQs
printf for typescript
The npm package printf-ts receives a total of 1 weekly downloads. As such, printf-ts popularity was classified as not popular.
We found that printf-ts 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 deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.