
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.
@fabryscript/algorithms
Advanced tools

A collection of utility functions and algorithms for various programming tasks.
You can install the @fabryscript/algorithms
library using npm or yarn:
npm install @fabryscript/algorithms
# or
yarn add @fabryscript/algorithms
Import the functions you need from the library and use them in your code.
transformKeys<T>(o: Record<string, T>, transformCallback: (originalKey: string) => string | Promise<string>): Record<string, T> | Promise<Record<string, T>>
Transform an object's keys based on a provided callback function, which can be either synchronous or asynchronous.
Parameters:
o
(Required): The object to be operated on.transformCallback
(Required): The callback function that transforms each key. It must return a string as the keys are expected to be strings. This callback can be either synchronous or asynchronous.Returns:
transformCallback
is asynchronous, it returns a promise that resolves to the new object.Example:
import { transformKeys } from "@fabryscript/algorithms"
const inputObject = { name: 'John', age: 30 };
const asyncTransformCallback = async (key) => key.toUpperCase();
const transformedObject = await transformKeys(inputObject, asyncTransformCallback);
console.log(transformedObject);
// Output: { NAME: 'John', AGE: 30 }
This library is open-source and available under the MIT License.
FAQs

The npm package @fabryscript/algorithms receives a total of 0 weekly downloads. As such, @fabryscript/algorithms popularity was classified as not popular.
We found that @fabryscript/algorithms demonstrated a not healthy version release cadence and project activity because the last version was released 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.