Benign github Download

devops-actions/action-get-tag

Action declares a main entrypointBacktick shell command-substitution syntax

Evidence

References Actions-provided GITHUB_TOKEN auto-assign.yml · lines 1–22
⋯16 lines
17 - uses: wow-actions/auto-assign@67fafa03df61d7e5f201734a2fa60d1ab111880d #v3.0.2
18 with:
19 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 reviewers: rajbos
21 assignees: rajbos
22 skipKeywords: wip, draft
GitHub Actions push workflow trigger codeql.yml · lines 1–48
1
2name: "Code Scanning - Action"
3
4on:
5 push:
6 branches: [main]
7 paths-ignore:
⋯4 lines
12 - cron: '30 1 * * 6'
13
14# Declare default GITHUB_TOKEN permissions as read only.
15permissions: read-all
16
⋯23 lines
40
41 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
42 # If this step fails, then you should remove it and run the build manually (see below).
43 - name: Autobuild
44 uses: github/codeql-action/autobuild@04df1262e6247151b5ac09cd2c303ac36ad3f62b # v2.2.9
45
46 # ℹ️ Command-line programs to run using the OS shell.
47 # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
48
GitHub Actions OIDC write permission ossf-analysis.yml · lines 1–23
⋯9 lines
10 workflow_dispatch:
11
12# Declare default GITHUB_TOKEN permissions as read only.
13permissions: read-all
14
15jobs:
16 analysis:
17 uses: devops-actions/.github/.github/workflows/rw-ossf-scorecard.yml@main
18 permissions:
19 # Needed to upload the results to code-scanning dashboard.
20 security-events: write
21 id-token: write
22 actions: read
23 contents: read
imports http auth.d.ts · lines 1–26
1/// <reference types="node" />
2import * as http from 'http';
3import * as ifm from './interfaces';
4import { HttpClientResponse } from './index';
5export declare class BasicCredentialHandler implements ifm.RequestHandler {
6 username: string;
7 password: string;
8 constructor(username: string, password: string);
9 prepareRequest(options: http.RequestOptions): void;
10 canHandleAuthentication(): boolean;
11 handleAuthentication(): Promise<HttpClientResponse>;
12}
13export declare class BearerCredentialHandler implements ifm.RequestHandler {
14 token: string;
15 constructor(token: string);
16 prepareRequest(options: http.RequestOptions): void;
⋯10 lines
npm manifest has one runtime dependency package.json · lines 1–48
⋯7 lines
8 "http"
9 ],
10 "homepage": "https://github.com/actions/toolkit/tree/main/packages/http-client",
11 "license": "MIT",
12 "main": "lib/index.js",
13 "types": "lib/index.d.ts",
14 "directories": {
15 "lib": "lib",
16 "test": "__tests__"
17 },
18 "files": [
19 "lib",
20 "!.DS_Store"
21 ],
22 "publishConfig": {
23 "access": "public"
24 },
25 "repository": {
26 "type": "git",
27 "url": "git+https://github.com/actions/toolkit.git",
28 "directory": "packages/http-client"
29 },
30 "scripts": {
31 "audit-moderate": "npm install && npm audit --json --audit-level=moderate > audit.json",
32 "test": "echo \"Error: run tests from root\" && exit 1",
33 "build": "tsc",
34 "format": "prettier --write **/*.ts",
35 "format-check": "prettier --check **/*.ts",
36 "tsc": "tsc"
⋯6 lines
43 "proxy": "^1.0.1"
44 },
45 "dependencies": {
46 "tunnel": "^0.0.6"
47 }
48}

Showing the top 5 files — 4 more files (8 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.