
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
basic-package-template
Advanced tools
Package description
npm install package-name
# or
pnpm add package-name
# or
yarn add package-name
import { YourClass } from "package-name";
// Usage example
const instance = new YourClass();
Description of your main export.
method() - Description of methodTo quickly set up branch protection rules, run the automated script:
# Make sure you have GitHub CLI installed and authenticated
gh auth login
# Run the setup script (choose one method)
./scripts/setup-branch-protection.sh
# or
npm run setup:branch-protection
This script will automatically:
The script automatically configures GitHub Actions to create and approve pull requests. This is essential for:
To modify this behavior:
# Disable GitHub Actions PR creation/approval
gh api repos/OWNER/REPO/actions/permissions/workflow \
--method PUT \
--field can_approve_pull_request_reviews=false
# Re-enable GitHub Actions PR creation/approval
gh api repos/OWNER/REPO/actions/permissions/workflow \
--method PUT \
--field can_approve_pull_request_reviews=true
To allow administrators to bypass branch protection:
# Edit the script and change line 54 to:
"enforce_admins": false
Or manually in GitHub: Settings → Branches → Edit rule → Uncheck "Include administrators"
If you prefer manual setup, configure branch protection rules:
main/master branchRequired settings:
Optional but recommended:
If you add testing workflows, also enable:
This ensures:
To enable automated releases, configure the following secrets in your GitHub repository:
NPM_TOKENThe GITHUB_TOKEN is automatically provided by GitHub Actions, no additional configuration needed.
Make sure in Settings → Actions → General:
This project uses semantic-release for automated releases. Use conventional commits:
feat: - New feature (minor version)fix: - Bug fix (patch version)feat!: or BREAKING CHANGE: - Breaking change (major version)Examples:
feat: add new authentication method
fix: resolve memory leak in parser
feat!: remove deprecated API endpoints
main/masterpackage.json version and CHANGELOG.mdMIT
FAQs
Package description
The npm package basic-package-template receives a total of 1 weekly downloads. As such, basic-package-template popularity was classified as not popular.
We found that basic-package-template 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.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.