
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@aspruyt/xfg
Advanced tools
Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config
Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config.
Define your organization's standards once. xfg creates PRs to sync config files, applies repository settings and rulesets via API, and can even create, fork, or migrate repositories — all from one config file.
# .github/workflows/sync-configs.yml
name: Sync Configs
on:
push:
branches: [main]
paths: [sync-config.yaml]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: anthony-spruyt/xfg@v5
with:
config: ./sync-config.yaml
github-token: ${{ secrets.GH_PAT }} # PAT with repo scope for cross-repo access
# Install
npm install -g @aspruyt/xfg
# Authenticate (GitHub)
gh auth login
# Sync files, settings, rulesets, and labels across repos
xfg sync --config ./config.yaml
# sync-config.yaml
id: my-org-standards
files:
.prettierrc.json:
content:
semi: false
singleQuote: true
tabWidth: 2
settings:
repo:
allowSquashMerge: true
deleteBranchOnMerge: true
vulnerabilityAlerts: true
secretScanning: true
rulesets:
main-protection:
target: branch
enforcement: active
conditions:
refName:
include: [refs/heads/main]
exclude: []
rules:
- type: pull_request
parameters:
requiredApprovingReviewCount: 1
- type: required_status_checks
parameters:
requiredStatusChecks:
- context: "ci/build"
repos:
- git:
- git@github.com:your-org/frontend-app.git
- git@github.com:your-org/backend-api.git
Result: PRs are created with .prettierrc.json files, and repos get standardized merge options, security settings, and branch protection rulesets.
See anthony-spruyt.github.io/xfg for the full feature list, configuration reference, examples, platform setup, and troubleshooting.
FAQs
Manage files, settings, and repositories across GitHub, Azure DevOps, and GitLab — declaratively, from a single YAML config
The npm package @aspruyt/xfg receives a total of 176 weekly downloads. As such, @aspruyt/xfg popularity was classified as not popular.
We found that @aspruyt/xfg demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.