
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.
github.com/deliaz/print-linked-list
Pretty print for singly linked lists with loop detection
A โ B โ C โ D โ E โ [null]
npm i print-linked-list
I used that module when studying Linked Lists exercises.
By default it utilizes console.log
with colored output to show a list structure (see available options below).
const printLinkedList = require('print-linked-list');
const list = new LinkedList('A');
list.append('B');
list.append('C');
list.append('D');
list.append('E');
printLinkedList(list);
Output:
A โ B โ C โ D โ E โ [null]
const printLinkedList = require('print-linked-list');
const list = new LinkedList('A');
list.append('B');
list.append('C');
list.append('D');
list.next.next.next.next = list.next.next; // making a loop
printLinkedList(list, {colors: false});
Output will be:
A โ B โค C โ D โค [loop]
The double arrow point on loop entry node.
nextName
{String} Key name for next node prop. Default = "next"valueName
{String} Key name for value prop. Default = "value"output
{String} Result output method ("console" or "return"). Default = "console"colors
{Boolean} Use colors in console output. Default = trueFAQs
Unknown package
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.