
Research
Using Trusted Protocols Against You: Gmail as a C2 Mechanism
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
github.com/xiak/grafana-app-with-backend
This template is a starting point for building an app plugin for Grafana. It includes a backend component.
App plugins can let you create a custom out-of-the-box monitoring experience by including custom pages, nested data sources, and panel plugins. A backend allows it to perform a variety of additional tasks, like handling incoming HTTP requests.
Install dependencies
npm install
Build plugin in development mode or run in watch mode
npm run dev
Build plugin in production mode
npm run build
Run the tests (using Jest)
# Runs the tests and watches for changes
npm run test
# Exists after running all the tests
npm run lint:ci
Spin up a Grafana instance and run the plugin inside it (using Docker)
npm run server
Run the E2E tests
# Spin up a Grafana instance first that we tests against
npm run server
# Start the tests
npm run e2e
Run the linter
npm run lint
# or
npm run lint:fix
Update Grafana plugin SDK for Go dependency to the latest minor version:
go get -u github.com/grafana/grafana-plugin-sdk-go
go mod tidy
Build backend plugin binaries for Linux, Windows and Darwin:
mage -v
List all available Mage targets for additional commands:
mage -l
Below you can find source code for existing app plugins and other related documentation.
FAQs
Unknown package
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
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.