
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.
A CLI to interact with a global trie data structure.
Use the package manager pip to install trie-cli.
pip install trie-cli
The CLI includes methods to modify the global state of a trie hosted online.
Insert a keyword into the trie:
trie-cli insert [YOUR KEYWORD]
Delete a keyword from the trie:
trie-cli delete [YOUR KEYWORD]
Search for a keyword in the trie (returns True if the keyword is found/False if not):
trie-cli search [YOUR KEYWORD]
Return a list of autocomplete suggestions based on an input prefix
trie-cli autcomplete [YOUR PREFIX]
Display the trie (keywords are indicated with a * at the end of the node name):
trie-cli display
For detailed information on command format, run trie-cli --help
.
The trie-cli global state methods run on a Flask server hosted in Heroku. The global state of the trie is stored in a Neo4j graph database running in Neo4j Sandbox. Use the following REST endpoints to test the server.
Name | Method | curl |
---|---|---|
insert | PUT | curl -X PUT -H "Content-Type: application/json" -d '{"keyword"="[YOUR KEYWORD]"} "https://gentle-brushlands-20368.herokuapp.com/insert" |
delete | DELETE | curl -X DELETE "https://gentle-brushlands-20368.herokuapp.com/delete?keyword=[YOUR KEYWORD]" |
search | GET | curl -X GET "https://gentle-brushlands-20368.herokuapp.com/search?keyword=[YOUR KEYWORD]" |
autocomplete | GET | curl -X GET "https://gentle-brushlands-20368.herokuapp.com/autocomplete?prefix=[YOUR PREFIX]" |
display | GET | curl -X GET "https://gentle-brushlands-20368.herokuapp.com/display" |
The CLI uses the requests
Python library to call the server endpoints.
A list of commands for testing the CLI can be found in tests.sh
.
CLI:
Neo4J:
Heroku:
PyPI:
FAQs
A CLI to interact with a global trie data structure.
We found that trie-cli 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 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.