Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Python bindings for decancer.
You can get started with decancer_py
by installing from PyPI:
pip install -U decancer-py
decancer_py
can be used to turn sketchy text strings into their more
basic counterparts.
A single function and class are exported from decancer_py
:
CuredString
- A wrapper around a string object that can be used for comparisons.parse
- Parse a jank string into a normal string wrapped in a CuredString
object.from decancer_py import parse, CuredString
parsed: CuredString = parse("𝔂EE𝓣")
assert "ee" in parsed
assert parsed == "yeet"
assert parsed.contains("ee")
assert parsed.ends_with("et")
assert parsed.starts_with("ye")
# Implicit string conversion
print(parsed)
# yeet
decancer_py
is licensed under the
MIT License.
FAQs
Python bindings for decancer.
We found that decancer-py 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.