
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
cli-args-system
Advanced tools
linux: pip3 install cli-args-system
windows: pip install cli-args-system
linux: sudo python3 setup.py install
windows: python setup.py install
In an general way its a library to manipulate argv args its content and its flags
from cli_args_system import Args
args = Args()
print(args)
$ python3 test.py -a "value of a" -b "value of b"
{
"default": [],
"a": [
"value of a "
],
"b": [
"value of b"
]
}
from cli_args_system import Args
args = Args()
list_of_args = args.args()
print(list_of_args)
from cli_args_system import Args
args = Args()
try:
print(f'second arg is {args[1]}')
except IndexError:
print('there less than 2 args')
from cli_args_system import Args
args = Args()
for a in args:
print(a)
from cli_args_system import Args
args = Args()
flags = args.flags_dict()
print(flags)
python3 test.py 0 0x -a 10 1a -b 20 1b
-> {'default': [0, '0x'], 'a': ['10', '1a'], 'b': [20, '1b']}
from cli_args_system import Args
args = Args()
out = args.flags_content('o','out')
print(out)
python3 test.py -o a.txt
->
exist: True
filled: True
args: ['a.txt']
from cli_args_system import Args
args = Args()
out = args.flags_content('o','out')
full_list = out.flags()
try:
first_element = out[0]
print(f'first element is: {first_element}')
except IndexError:pass
#making iterations
for f in out:
print(f)
print(f'full list is: {full_list}')
python3 test.py -o a.txt b.txt
->
first element is: a.txt
a.txt
b.txt
full list is: ['a.txt', 'b.txt']
from cli_args_system import Args
args = Args()
out = args.flags_content('o','out')
if out.exist():
print('out flag exist')
if out.exist_and_empty():
print('out flag exist but its empty')
if out.filled():
print('out flag its filled')
if 'a.txt' in out:
print('a.txt in out flag')
python3 test.py -o a.txt
->
out flag exist
out flag its filled
a.txt in out flag
FAQs
A Cli flags libary to control argv flags and content
We found that cli-args-system 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.