Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Ned, a stream editor.
Usage: ned [[ned_arg ...] --] [[command] [: command ...]]
OPTIONS
-i, --inplace Edit each file in place by processing each file independently.
-s, --separate Process input files one at a time rather than as one stream.
-h, --help [COMMAND] Print this help.
-v, --version Print Ned version.
COMMANDS
append (a)
Append the specified string to each input line.
Usage: ned append STRING
backward (b)
Reverse input lines.
Usage: ned backward
cut (c)
Print selected portions of each line.
Usage: ned cut [--delimiter STRING | --pattern PATTERN] [--join STRING] --field (START|START..END) ...
Options:
-d, --delimiter STRING Separate input fields by the specified string. Defaults to space.
-p, --pattern PATTERN Separate input fields by the specified pattern instead of a delimiter.
-j, --join STRING Join output fields with the specified string. Defaults to space.
-f, --field INDEX_OR_RANGE Include the specified index or range in the output.
eval (e)
Evaluate the specified ruby string.
Usage: ned eval STRING
Variables:
l: the current line or lines
i: the current index (zero-based)
grep (g)
Print lines matching the specified pattern.
Usage: ned grep [--only] PATTERN
Options:
-o, --only Only print the matching portion of each line.
-v, --invert Print lines not matching the specified pattern.
head (h)
Print only the first input lines.
Usage: ned head [NUM]
index (i)
Print only the lines indicated by the specified indices and ranges.
Usage: ned index INDEX_OR_RANGE ...
join (j)
Join input lines, optionally with the specified delimiter.
Usage: ned join [STRING]
prepend (p)
Prepend the specified string to each input line.
Usage: ned prepend STRING
quote (q)
Wrap each input line in quotes, or the specified string.
Usage: ned quote [STRING]
sort (s)
Sort input lines.
Usage: ned sort [--numeric]
Options:
-n, --numeric Sort numerically.
-r, --reverse Reverse the sort order.
tail (t)
Print only the last input lines.
Usage: ned tail [NUM]
uniq (u)
Filter out repeated input lines.
Usage: ned uniq [--count]
Options:
-c, --count Precede each output line with the number of times the line occurred in the input, followed by a space.
gem install ned
FAQs
Unknown package
We found that ned 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.