): Promise<{ [line: string]: BlamedLine }> => {
  const result = await parseStringPromise(buffer);
  const json: { [line: string]: BlamedLine } = {};
  result.blame.target[0].entry.forEach((line: any) => {
    json[line.$['line-number']] = {
      author: line.commit[0].author[0],
      date: line.commit[0].date[0],
      line: line.$['line-number'],
      rev: line.commit[0].$.revision
    };
  });
  return json;
};
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.