
Security News
PHP Foundation Says Chainguard Broke Security Embargo Ahead of Emergency Patches
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.
This is a command-line interface (CLI) tool for competitive programming (CP) enthusiasts. The tool provides several functionalities that can help with CP tasks.
npm i -g cp-ninja
<file name>: Create a file with ~/.cp-cpi/template.cpp contents.set <file name>: Copy the template file to ~/.cp-cpi/template.cpp.cf_status <numeric series> <alphabetical series>: Open the problem submission status page for the given problem on the Codeforces website in the default web browser.cf_rename <file name> <problem numeric series> <dir name rate>: Rename the specified file with a specific formatting for Codeforces problems.done <file name>: Add the current time to the end of the specified file.help: Show the list of available commands and their descriptions.To create a file with ~/.cp-cpi/template.cpp contents:
$ cp-ninja <file name>
Replace with the name of the file you want to create.
To copy the template file to ~/.cp-cpi/template.cpp:
$ cp-ninja set <file name>
Replace with the name of the file you want to set the template for.
To open the problem submission status page for a Codeforces problem in the default web browser:
$ cp-ninja cf_status <numeric series> <alphabetical series>
Replace with the numeric series of the problem and with the alphabetical series of the problem.
To rename a file with a specific formatting for Codeforces problems:
$ cp-ninja cf_rename <file name> <problem numeric series> <dir name rate>
Replace with the name of the file you want to rename. If you want to include the problem numeric series in the file name, include it as the second argument. If you want to include a directory name in the file path, include it as the third argument.
To add the current time to the end of a file:
$ cp-ninja done <file name>
Replace with the name of the file you want to add the timestamp to.
To show the list of available commands and their descriptions:
$ cp-ninja help
FAQs
CLI for CP
We found that cp-ninja 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.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.

Threat Research
/Security News
A supply chain attack compromised LiteLLM 1.107.0 on PyPI and Docker, spreading malware that steals cloud credentials, developer secrets, and AI provider keys.