Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@jupiterone/github-repo-standard
Advanced tools
Policy-based enforcement of repo configuration for your GitHub org.
Enforce various standard GitHub repository configuration settings across a GitHub organization.
See examples/policy.json to get a better idea of what is checked for.
In addition to the checks provided here, you can pass your own array of async
check functions in as an optional parameter to the enforceGitHubPolicy
function. These will be called during script execution, and can contribute to findings and/or remediation activity. See examples/customCheck.js for an example of one such check.
const enforce = require('@jupiterone/github-repo-standard');
const policy = require('@jupiterone/github-repo-standard/examples/policy.json');
const org = 'myCompany';
enforce(org, policy).catch(console.error);
or with optional custom checks:
const enforce = require('@jupiterone/github-repo-standard');
const policy = require('@jupiterone/github-repo-standard/examples/policy.json');
const { checkJenkinsfile } = require('@jupiterone/github-repo-standard/examples/customCheck.json');
const org = 'myCompany';
enforce(org, policy, [checkJenkinsfile]).catch(console.error);
You will need to create a new GitHub app for use with this script, and set the following Environment variables:
GITHUB_APP_ID
GITHUB_APP_INSTALLATION_ID
GITHUB_APP_PRIVATE_KEY
The private key is in PEM format. If you'd rather not load that into an env var and you can trust the filesystem the script is being executed on, the script also supports a GITHUB_APP_PRIVATE_KEY_FILE
, which should be a fully qualified path to the PEM file.
For additional details see the GitHub App Authentication documentation.
If you set alertSlack: true
in your policy, you will need to set:
SLACK_URL
- webhook URLFAQs
Policy-based enforcement of repo configuration for your GitHub org.
We found that @jupiterone/github-repo-standard 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.