External Script Fetching
- Category
- Supply Chain
- Confidence
- 90% confidence
- Finding
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
- Content
Need the numeric post ID. Get it by fetching the post:
bash curl -s -b "substack.sid=$SUBSTACK_SID" \ "https://alternativepartners.substack.com/api/v1/posts/{slug}" \ | python3 -c "import json,sys; d=json.load(sys.stdin); print('id:', d.get('id'))"
