
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
npmfunkingpackage
Advanced tools
A simple utility package with basic functions for greeting, math operations, and string manipulation
A simple utility package with basic functions for greeting, math operations, and string manipulation.
npm install npmpackage
const { greet, add, capitalize } = require('npmpackage');
// Greeting function
console.log(greet('World')); // "Hello, World!"
console.log(greet('Alice', 'Hi')); // "Hi, Alice!"
// Math function
console.log(add(5, 3)); // 8
// String manipulation
console.log(capitalize('hello world')); // "Hello World"
greet(name, greeting)
Greets a person with a customizable message.
name
(string): The name of the person to greetgreeting
(string, optional): Custom greeting message (default: "Hello")Returns a formatted greeting string.
add(a, b)
Calculates the sum of two numbers.
a
(number): First numberb
(number): Second numberReturns the sum of the two numbers.
capitalize(str)
Capitalizes the first letter of each word in a string.
str
(string): The string to capitalizeReturns the capitalized string.
npm test
ISC
arsh
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)FAQs
A simple utility package with basic functions for greeting, math operations, and string manipulation
The npm package npmfunkingpackage receives a total of 9 weekly downloads. As such, npmfunkingpackage popularity was classified as not popular.
We found that npmfunkingpackage 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.