
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.
inputx
Advanced tools
`inputx` is a Python module that provides an advanced input function with various validation options.
inputx is a Python module that provides an advanced input function with various validation options. It allows you to get user input in a flexible and secure way, supporting data types like int, float, and str, as well as restrictions on the types of characters allowed (e.g., only English letters, digits, symbols, etc.).
int, float, or str.a-z, A-Z)а-Ń, Š-ŠÆ)0-9)!@#$%^&*)Currently, this module supports only Windows operating system, because it using msvcrt for capturing user input. Other platforms (e.g., Linux, macOS) are not yet supported.
To install the package, use GIT:
git clone https://github.com/KonstantinDigital/Inputx.git
Or install directly from PyPI:
pip install inputx
from inputx import inputx
# Get an integer input
age = inputx("Enter your age: ", data_type="int")
print(f"Your age is: {age}")
# Get a float input
price = inputx("Enter the price: ", data_type="float")
print(f"Price: {price}")
# Get a password (invisible input)
password = inputx("Enter your password: ", invisible_input=True)
print("Password entered successfully.")
You can use restrictions to limit the types of characters users can enter.
from inputx import inputx
# Only accept English letters
name = inputx("Enter your name: ", only_en_letters=True)
# Only accept digits and symbols
phone = inputx("Enter your phone number: ", only_digitals=True, only_symbols=True)
# Only accept symbols
symbols = inputx("Enter some symbols: ", only_symbols=True)
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
`inputx` is a Python module that provides an advanced input function with various validation options.
We found that inputx demonstrated a healthy version release cadence and project activity because the last version was released less than 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.