Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Location based Cryptography uses location of the device in addition to the pass-phrase as key.
Location based cryptography uses location of the device in addition to pass-phrase as encryption/decryption key.
pip install locationcrypto
Create a python script, for example example.py
:
from locationcrypto import crypt
# To encrypt:
encryption = crypt.encrypt(plain_text='Harshil', key='test')
print(f'Encryption: {encryption}')
# To decrypt:
decryption = crypt.decrypt(encrypted_text=encryption, key='test')
print(f'Decryption: {decryption}')
Save and run:
❯❯❯ python3 example.py
Encryption: Jevujhk
Decryption: Harshil
Thanks to Atharv Attri for helping me publish this repository as a package.
FAQs
Location based Cryptography uses location of the device in addition to the pass-phrase as key.
We found that locationcrypto 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.