Commit Graph

4 Commits

Author SHA1 Message Date
pdm
080073a7d7 Add npm sudo config audit script
Checks npm prefix ownership, PATH wiring, cache ownership, shell history
for sudo npm usage, and n/nvm version manager config. Runs daily at 08:10
via cron and on initial setup.sh run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-18 08:47:32 +00:00
pdmarf
584257bbef Run all scripts on initial setup 2026-04-17 22:41:02 +01:00
pdmarf
3263790760 Store logs in logs/ folder with 60 day retention
- Logs go to logs/YYYYMMDD.log per script per day
- Cleanup cron runs at 09:00 daily, deletes logs older than 60 days
- logs/ gitignored
2026-04-17 22:29:46 +01:00
pdmarf
5d7ac62617 Add Telegram alerts, setup script, and cron registration
- setup.sh: run once after cloning to configure credentials and register cron jobs
- config.sh gitignored so credentials never enter the repo
- Both scripts notify Telegram on issues/warnings, including hostname
- Cron runs npm-security-check at 08:00 and check-nextjs-rce at 08:05 daily
2026-04-17 22:11:58 +01:00