Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
docula-core
Advanced tools
Readme
Other Docula modules:
Requires Node.js v5.9.1 or higher. Requires Redis. ElasticSearch is optional.
Using NPM
$ npm install docula-core --save
const Docula = require('docula-core');
const docula = new Docula({
git: {
remote_url: 'https://github.com/yourorg/yourrepo',
local_path: '/var/docula/repositories/yourrepo'
}
})
or
const docula = new Docula('/var/docula/config.json');
If you have some items in your configuration you want to configure via Environment, use additional parameter to Docula. These settings will override anything from previous config.
const docula = new Docula('config.json', {
git: { token: '123X' }
});
Once initialized, your repository will not have any data unless explicitly synchronized. Synchronization procedure clones or pulls the repo if it's already there, and scans changes since last point remembered in database.
Normally this should be done once initially, and then as a result of a GitHub commit hook. But you also could set it up via scheduler if you host your git repo somewhere else or for any other reasons.
docula.refresh();
Docula uses Q promises, and most core methods return one.
Docula uses filesystem paths (relative to repo root) as IDs for articles, categories etc. Terms "path" and "id" are mostly interchangeable throughout Docula.
Main concepts are:
Docula instance methods:
Tests for docula-core can be run using the command:
$ gulp test
Issues? Feature Requests? reported an issue.
FAQs
Core functions of Docula project
We found that docula-core 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.