
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
scrambleeeer
Advanced tools
scrambleeeer is a tiny Python package that shuffles a sequence of numbers and
then swaps the first and last values. It returns a new list and does not modify
the input sequence.
pip install scrambleeeer
from scrambleeeer import scrambleeeer
numbers = [1, 2, 3, 4, 5]
scrambled = scrambleeeer(numbers)
print(scrambled)
print(numbers) # Still [1, 2, 3, 4, 5]
Empty and one-item sequences are supported:
scrambleeeer([]) # []
scrambleeeer([10]) # [10]
Run the tests from the project root:
python -m unittest discover -s tests -v
Build the distributions:
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/scrambleeeer-*
Publish to TestPyPI first:
python -m twine upload --repository testpypi dist/scrambleeeer-*
When the TestPyPI package works as expected, publish it to PyPI:
python -m twine upload dist/scrambleeeer-*
The name scrambleeeer must be available on PyPI before it can be registered by
the first upload. Update the version in pyproject.toml for every later release.
FAQs
Shuffle a sequence of numbers, then swap the first and last values.
We found that scrambleeeer 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.