Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
cwrc-git-server-client
Advanced tools
Client for calls to the CWRC-GitServer from CWRC-GitDelegator in CWRC-GitWriter.
Makes http calls to the CWRC-GitServer, invoked from CWRC-GitDelegator running in CWRC-GitWriter.
The CWRC GitHub Sandbox uses the NPM package published from this repository along with the code in CWRC-Writer, CWRC-GitServer, CWRC-GitWriter, and CWRC-GitDelegator. The same code is easily (for someone with modest development experience) installed on any server to run your own instance.
npm install cwrc-git-server-client
To simultaneously register as a dependency in your package.json:
npm install cwrc-git-server-client --save
or as shortcut:
npm i -S cwrc-git-server-client
One example:
var cwrcGitServerClient = require('cwrc-git-server-client'); var repos = cwrcGitServerClient.getReposForAuthenticatedGithubUser();
See cwrc-git-dialogs which fully uses the API.
The methods exposed (API) by this package are:
getReposForGithubUser(githubUserName, page, per_page)
getReposForAuthenticatedGithubUser(page, per_page, affiliation)
saveDoc(repo, path, content, branch, message, sha)
saveAsPullRequest(repo, path, content, branch, message, title, sha)
createRepo(repo, description, isPrivate)
getRepoContents(githubRepoName)
- where githubRepoName is full name including github user name e.g., jchartrand/myRepo
- uses the recursive option of the Github api
getRepoContentsByDrillDown(githubRepoName)
- where githubRepoName is full name including github user name e.g., jchartrand/myRepo
- manually recurses through subdirectories to build full listing
getDoc(repoName, branch, path)
getInfoForAuthenticatedUser()
getTemplates()
- retrieves list of templates from CWRC template repository
getTemplate(templatePath)
- gets specific CWRC template by name
search(query, per_page, page)
- searches using the github api to search within code
FAQs
Client for calls to the CWRC-GitServer from CWRC-GitDelegator in CWRC-GitWriter.
The npm package cwrc-git-server-client receives a total of 1 weekly downloads. As such, cwrc-git-server-client popularity was classified as not popular.
We found that cwrc-git-server-client 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
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.